Interface CfnEC2Fleet.FleetLaunchTemplateOverridesRequestProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnEC2Fleet.FleetLaunchTemplateOverridesRequestProperty.Jsii$Proxy
Enclosing class:
CfnEC2Fleet

@Stability(Stable) public static interface CfnEC2Fleet.FleetLaunchTemplateOverridesRequestProperty extends software.amazon.jsii.JsiiSerializable
Specifies overrides for a launch template for an EC2 Fleet.

FleetLaunchTemplateOverridesRequest is a property of the FleetLaunchTemplateConfigRequest property type.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ec2.*;
 FleetLaunchTemplateOverridesRequestProperty fleetLaunchTemplateOverridesRequestProperty = FleetLaunchTemplateOverridesRequestProperty.builder()
         .availabilityZone("availabilityZone")
         .instanceRequirements(InstanceRequirementsRequestProperty.builder()
                 .acceleratorCount(AcceleratorCountRequestProperty.builder()
                         .max(123)
                         .min(123)
                         .build())
                 .acceleratorManufacturers(List.of("acceleratorManufacturers"))
                 .acceleratorNames(List.of("acceleratorNames"))
                 .acceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRequestProperty.builder()
                         .max(123)
                         .min(123)
                         .build())
                 .acceleratorTypes(List.of("acceleratorTypes"))
                 .allowedInstanceTypes(List.of("allowedInstanceTypes"))
                 .bareMetal("bareMetal")
                 .baselineEbsBandwidthMbps(BaselineEbsBandwidthMbpsRequestProperty.builder()
                         .max(123)
                         .min(123)
                         .build())
                 .burstablePerformance("burstablePerformance")
                 .cpuManufacturers(List.of("cpuManufacturers"))
                 .excludedInstanceTypes(List.of("excludedInstanceTypes"))
                 .instanceGenerations(List.of("instanceGenerations"))
                 .localStorage("localStorage")
                 .localStorageTypes(List.of("localStorageTypes"))
                 .maxSpotPriceAsPercentageOfOptimalOnDemandPrice(123)
                 .memoryGiBPerVCpu(MemoryGiBPerVCpuRequestProperty.builder()
                         .max(123)
                         .min(123)
                         .build())
                 .memoryMiB(MemoryMiBRequestProperty.builder()
                         .max(123)
                         .min(123)
                         .build())
                 .networkBandwidthGbps(NetworkBandwidthGbpsRequestProperty.builder()
                         .max(123)
                         .min(123)
                         .build())
                 .networkInterfaceCount(NetworkInterfaceCountRequestProperty.builder()
                         .max(123)
                         .min(123)
                         .build())
                 .onDemandMaxPricePercentageOverLowestPrice(123)
                 .requireHibernateSupport(false)
                 .spotMaxPricePercentageOverLowestPrice(123)
                 .totalLocalStorageGb(TotalLocalStorageGBRequestProperty.builder()
                         .max(123)
                         .min(123)
                         .build())
                 .vCpuCount(VCpuCountRangeRequestProperty.builder()
                         .max(123)
                         .min(123)
                         .build())
                 .build())
         .instanceType("instanceType")
         .maxPrice("maxPrice")
         .placement(PlacementProperty.builder()
                 .affinity("affinity")
                 .availabilityZone("availabilityZone")
                 .groupName("groupName")
                 .hostId("hostId")
                 .hostResourceGroupArn("hostResourceGroupArn")
                 .partitionNumber(123)
                 .spreadDomain("spreadDomain")
                 .tenancy("tenancy")
                 .build())
         .priority(123)
         .subnetId("subnetId")
         .weightedCapacity(123)
         .build();
 

See Also: