Package com.pulumi.aws.ec2.inputs
Class LaunchTemplateInstanceRequirementsArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.ec2.inputs.LaunchTemplateInstanceRequirementsArgs
-
public final class LaunchTemplateInstanceRequirementsArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LaunchTemplateInstanceRequirementsArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static LaunchTemplateInstanceRequirementsArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<LaunchTemplateInstanceRequirementsAcceleratorCountArgs>>
acceleratorCount()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
acceleratorManufacturers()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
acceleratorNames()
java.util.Optional<com.pulumi.core.Output<LaunchTemplateInstanceRequirementsAcceleratorTotalMemoryMibArgs>>
acceleratorTotalMemoryMib()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
acceleratorTypes()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
allowedInstanceTypes()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
bareMetal()
java.util.Optional<com.pulumi.core.Output<LaunchTemplateInstanceRequirementsBaselineEbsBandwidthMbpsArgs>>
baselineEbsBandwidthMbps()
static LaunchTemplateInstanceRequirementsArgs.Builder
builder()
static LaunchTemplateInstanceRequirementsArgs.Builder
builder(LaunchTemplateInstanceRequirementsArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
burstablePerformance()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
cpuManufacturers()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
excludedInstanceTypes()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
instanceGenerations()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
localStorage()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
localStorageTypes()
java.util.Optional<com.pulumi.core.Output<LaunchTemplateInstanceRequirementsMemoryGibPerVcpuArgs>>
memoryGibPerVcpu()
com.pulumi.core.Output<LaunchTemplateInstanceRequirementsMemoryMibArgs>
memoryMib()
java.util.Optional<com.pulumi.core.Output<LaunchTemplateInstanceRequirementsNetworkBandwidthGbpsArgs>>
networkBandwidthGbps()
java.util.Optional<com.pulumi.core.Output<LaunchTemplateInstanceRequirementsNetworkInterfaceCountArgs>>
networkInterfaceCount()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
onDemandMaxPricePercentageOverLowestPrice()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
requireHibernateSupport()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
spotMaxPricePercentageOverLowestPrice()
java.util.Optional<com.pulumi.core.Output<LaunchTemplateInstanceRequirementsTotalLocalStorageGbArgs>>
totalLocalStorageGb()
com.pulumi.core.Output<LaunchTemplateInstanceRequirementsVcpuCountArgs>
vcpuCount()
-
-
-
Field Detail
-
Empty
public static final LaunchTemplateInstanceRequirementsArgs Empty
-
-
Method Detail
-
acceleratorCount
public java.util.Optional<com.pulumi.core.Output<LaunchTemplateInstanceRequirementsAcceleratorCountArgs>> acceleratorCount()
- Returns:
- Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum.
-
acceleratorManufacturers
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> acceleratorManufacturers()
- Returns:
- List of accelerator manufacturer names. Default is any manufacturer.
-
acceleratorNames
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> acceleratorNames()
- Returns:
- List of accelerator names. Default is any acclerator.
-
acceleratorTotalMemoryMib
public java.util.Optional<com.pulumi.core.Output<LaunchTemplateInstanceRequirementsAcceleratorTotalMemoryMibArgs>> acceleratorTotalMemoryMib()
- Returns:
- Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.
-
acceleratorTypes
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> acceleratorTypes()
- Returns:
- List of accelerator types. Default is any accelerator type.
-
allowedInstanceTypes
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> allowedInstanceTypes()
- Returns:
- List of instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (\*), to allow an instance type, size, or generation. The following are examples: `m5.8xlarge`, `c5*.*`, `m5a.*`, `r*`, `*3*`. For example, if you specify `c5*`, you are allowing the entire C5 instance family, which includes all C5a and C5n instance types. If you specify `m5a.*`, you are allowing all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is all instance types. > **NOTE:** If you specify `allowed_instance_types`, you can't specify `excluded_instance_types`.
-
bareMetal
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> bareMetal()
- Returns:
- Indicate whether bare metal instace types should be `included`, `excluded`, or `required`. Default is `excluded`.
-
baselineEbsBandwidthMbps
public java.util.Optional<com.pulumi.core.Output<LaunchTemplateInstanceRequirementsBaselineEbsBandwidthMbpsArgs>> baselineEbsBandwidthMbps()
- Returns:
- Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.
-
burstablePerformance
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> burstablePerformance()
- Returns:
- Indicate whether burstable performance instance types should be `included`, `excluded`, or `required`. Default is `excluded`.
-
cpuManufacturers
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> cpuManufacturers()
- Returns:
- List of CPU manufacturer names. Default is any manufacturer. > **NOTE:** Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.
-
excludedInstanceTypes
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> excludedInstanceTypes()
- Returns:
- List of instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (\*), to exclude an instance type, size, or generation. The following are examples: `m5.8xlarge`, `c5*.*`, `m5a.*`, `r*`, `*3*`. For example, if you specify `c5*`, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify `m5a.*`, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types. > **NOTE:** If you specify `excluded_instance_types`, you can't specify `allowed_instance_types`.
-
instanceGenerations
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> instanceGenerations()
- Returns:
- List of instance generation names. Default is any generation.
-
localStorage
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> localStorage()
- Returns:
- Indicate whether instance types with local storage volumes are `included`, `excluded`, or `required`. Default is `included`.
-
localStorageTypes
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> localStorageTypes()
- Returns:
- List of local storage type names. Default any storage type.
-
memoryGibPerVcpu
public java.util.Optional<com.pulumi.core.Output<LaunchTemplateInstanceRequirementsMemoryGibPerVcpuArgs>> memoryGibPerVcpu()
- Returns:
- Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum.
-
memoryMib
public com.pulumi.core.Output<LaunchTemplateInstanceRequirementsMemoryMibArgs> memoryMib()
- Returns:
- Block describing the minimum and maximum amount of memory (MiB). Default is no maximum.
-
networkBandwidthGbps
public java.util.Optional<com.pulumi.core.Output<LaunchTemplateInstanceRequirementsNetworkBandwidthGbpsArgs>> networkBandwidthGbps()
- Returns:
- Block describing the minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is no minimum or maximum.
-
networkInterfaceCount
public java.util.Optional<com.pulumi.core.Output<LaunchTemplateInstanceRequirementsNetworkInterfaceCountArgs>> networkInterfaceCount()
- Returns:
- Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum.
-
onDemandMaxPricePercentageOverLowestPrice
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> onDemandMaxPricePercentageOverLowestPrice()
- Returns:
- The price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 20. If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price.
-
requireHibernateSupport
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> requireHibernateSupport()
- Returns:
- Indicate whether instance types must support On-Demand Instance Hibernation, either `true` or `false`. Default is `false`.
-
spotMaxPricePercentageOverLowestPrice
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> spotMaxPricePercentageOverLowestPrice()
- Returns:
- The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price.
-
totalLocalStorageGb
public java.util.Optional<com.pulumi.core.Output<LaunchTemplateInstanceRequirementsTotalLocalStorageGbArgs>> totalLocalStorageGb()
- Returns:
- Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum.
-
vcpuCount
public com.pulumi.core.Output<LaunchTemplateInstanceRequirementsVcpuCountArgs> vcpuCount()
- Returns:
- Block describing the minimum and maximum number of vCPUs. Default is no maximum.
-
builder
public static LaunchTemplateInstanceRequirementsArgs.Builder builder()
-
builder
public static LaunchTemplateInstanceRequirementsArgs.Builder builder(LaunchTemplateInstanceRequirementsArgs defaults)
-
-