Class FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder

    • Method Detail

      • acceleratorManufacturers

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder acceleratorManufacturers​(@Nullable
                                                                                                          com.pulumi.core.Output<java.util.List<java.lang.String>> acceleratorManufacturers)
        Parameters:
        acceleratorManufacturers - List of accelerator manufacturer names. Default is any manufacturer.
        Returns:
        builder
      • acceleratorTypes

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder acceleratorTypes​(@Nullable
                                                                                                  com.pulumi.core.Output<java.util.List<java.lang.String>> acceleratorTypes)
        Parameters:
        acceleratorTypes - The accelerator types that must be on the instance type. Default is any accelerator type.
        Returns:
        builder
      • allowedInstanceTypes

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder allowedInstanceTypes​(@Nullable
                                                                                                      com.pulumi.core.Output<java.util.List<java.lang.String>> allowedInstanceTypes)
        Parameters:
        allowedInstanceTypes - The 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 (\*). The following are examples: `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. Default is any instance type. If you specify `AllowedInstanceTypes`, you can't specify `ExcludedInstanceTypes`.
        Returns:
        builder
      • allowedInstanceTypes

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder allowedInstanceTypes​(java.util.List<java.lang.String> allowedInstanceTypes)
        Parameters:
        allowedInstanceTypes - The 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 (\*). The following are examples: `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. Default is any instance type. If you specify `AllowedInstanceTypes`, you can't specify `ExcludedInstanceTypes`.
        Returns:
        builder
      • allowedInstanceTypes

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder allowedInstanceTypes​(java.lang.String... allowedInstanceTypes)
        Parameters:
        allowedInstanceTypes - The 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 (\*). The following are examples: `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. Default is any instance type. If you specify `AllowedInstanceTypes`, you can't specify `ExcludedInstanceTypes`.
        Returns:
        builder
      • burstablePerformance

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder burstablePerformance​(@Nullable
                                                                                                      com.pulumi.core.Output<java.lang.String> burstablePerformance)
        Parameters:
        burstablePerformance - Indicates whether burstable performance T instance types are `included`, `excluded`, or `required`. Default is `excluded`.
        Returns:
        builder
      • burstablePerformance

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder burstablePerformance​(java.lang.String burstablePerformance)
        Parameters:
        burstablePerformance - Indicates whether burstable performance T instance types are `included`, `excluded`, or `required`. Default is `excluded`.
        Returns:
        builder
      • cpuManufacturers

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder cpuManufacturers​(@Nullable
                                                                                                  com.pulumi.core.Output<java.util.List<java.lang.String>> cpuManufacturers)
        Parameters:
        cpuManufacturers - The CPU manufacturers to include. 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 AMI that you specify in your launch template.
        Returns:
        builder
      • cpuManufacturers

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder cpuManufacturers​(java.util.List<java.lang.String> cpuManufacturers)
        Parameters:
        cpuManufacturers - The CPU manufacturers to include. 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 AMI that you specify in your launch template.
        Returns:
        builder
      • cpuManufacturers

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder cpuManufacturers​(java.lang.String... cpuManufacturers)
        Parameters:
        cpuManufacturers - The CPU manufacturers to include. 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 AMI that you specify in your launch template.
        Returns:
        builder
      • excludedInstanceTypes

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder excludedInstanceTypes​(@Nullable
                                                                                                       com.pulumi.core.Output<java.util.List<java.lang.String>> excludedInstanceTypes)
        Parameters:
        excludedInstanceTypes - The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (\*). The following are examples: `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. If you specify `AllowedInstanceTypes`, you can't specify `ExcludedInstanceTypes`.
        Returns:
        builder
      • excludedInstanceTypes

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder excludedInstanceTypes​(java.util.List<java.lang.String> excludedInstanceTypes)
        Parameters:
        excludedInstanceTypes - The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (\*). The following are examples: `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. If you specify `AllowedInstanceTypes`, you can't specify `ExcludedInstanceTypes`.
        Returns:
        builder
      • excludedInstanceTypes

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder excludedInstanceTypes​(java.lang.String... excludedInstanceTypes)
        Parameters:
        excludedInstanceTypes - The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (\*). The following are examples: `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. If you specify `AllowedInstanceTypes`, you can't specify `ExcludedInstanceTypes`.
        Returns:
        builder
      • instanceGenerations

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder instanceGenerations​(@Nullable
                                                                                                     com.pulumi.core.Output<java.util.List<java.lang.String>> instanceGenerations)
        Parameters:
        instanceGenerations - Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Valid values are `current` and `previous`. Default is `current` and `previous` generation instance types.
        Returns:
        builder
      • instanceGenerations

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder instanceGenerations​(java.util.List<java.lang.String> instanceGenerations)
        Parameters:
        instanceGenerations - Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Valid values are `current` and `previous`. Default is `current` and `previous` generation instance types.
        Returns:
        builder
      • instanceGenerations

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder instanceGenerations​(java.lang.String... instanceGenerations)
        Parameters:
        instanceGenerations - Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Valid values are `current` and `previous`. Default is `current` and `previous` generation instance types.
        Returns:
        builder
      • localStorage

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder localStorage​(@Nullable
                                                                                              com.pulumi.core.Output<java.lang.String> localStorage)
        Parameters:
        localStorage - Indicate whether instance types with local storage volumes are `included`, `excluded`, or `required`. Default is `included`.
        Returns:
        builder
      • localStorageTypes

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder localStorageTypes​(@Nullable
                                                                                                   com.pulumi.core.Output<java.util.List<java.lang.String>> localStorageTypes)
        Parameters:
        localStorageTypes - List of local storage type names. Valid values are `hdd` and `ssd`. Default any storage type.
        Returns:
        builder
      • maxSpotPriceAsPercentageOfOptimalOnDemandPrice

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder maxSpotPriceAsPercentageOfOptimalOnDemandPrice​(@Nullable
                                                                                                                                com.pulumi.core.Output<java.lang.Integer> maxSpotPriceAsPercentageOfOptimalOnDemandPrice)
        Parameters:
        maxSpotPriceAsPercentageOfOptimalOnDemandPrice - 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. Conflicts with `spotMaxPricePercentageOverLowestPrice`
        Returns:
        builder
      • maxSpotPriceAsPercentageOfOptimalOnDemandPrice

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder maxSpotPriceAsPercentageOfOptimalOnDemandPrice​(java.lang.Integer maxSpotPriceAsPercentageOfOptimalOnDemandPrice)
        Parameters:
        maxSpotPriceAsPercentageOfOptimalOnDemandPrice - 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. Conflicts with `spotMaxPricePercentageOverLowestPrice`
        Returns:
        builder
      • onDemandMaxPricePercentageOverLowestPrice

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder onDemandMaxPricePercentageOverLowestPrice​(@Nullable
                                                                                                                           com.pulumi.core.Output<java.lang.Integer> onDemandMaxPricePercentageOverLowestPrice)
        Parameters:
        onDemandMaxPricePercentageOverLowestPrice - 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 `targetCapacityUnitType` 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.
        Returns:
        builder
      • onDemandMaxPricePercentageOverLowestPrice

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder onDemandMaxPricePercentageOverLowestPrice​(java.lang.Integer onDemandMaxPricePercentageOverLowestPrice)
        Parameters:
        onDemandMaxPricePercentageOverLowestPrice - 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 `targetCapacityUnitType` 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.
        Returns:
        builder
      • requireHibernateSupport

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder requireHibernateSupport​(@Nullable
                                                                                                         com.pulumi.core.Output<java.lang.Boolean> requireHibernateSupport)
        Parameters:
        requireHibernateSupport - Indicate whether instance types must support On-Demand Instance Hibernation, either `true` or `false`. Default is `false`.
        Returns:
        builder
      • requireHibernateSupport

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder requireHibernateSupport​(java.lang.Boolean requireHibernateSupport)
        Parameters:
        requireHibernateSupport - Indicate whether instance types must support On-Demand Instance Hibernation, either `true` or `false`. Default is `false`.
        Returns:
        builder
      • spotMaxPricePercentageOverLowestPrice

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder spotMaxPricePercentageOverLowestPrice​(@Nullable
                                                                                                                       com.pulumi.core.Output<java.lang.Integer> spotMaxPricePercentageOverLowestPrice)
        Parameters:
        spotMaxPricePercentageOverLowestPrice - 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. Conflicts with `maxSpotPriceAsPercentageOfOptimalOnDemandPrice` 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.
        Returns:
        builder
      • spotMaxPricePercentageOverLowestPrice

        public FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs.Builder spotMaxPricePercentageOverLowestPrice​(java.lang.Integer spotMaxPricePercentageOverLowestPrice)
        Parameters:
        spotMaxPricePercentageOverLowestPrice - 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. Conflicts with `maxSpotPriceAsPercentageOfOptimalOnDemandPrice` 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.
        Returns:
        builder