Interface CfnFleet.ServiceManagedEc2FleetConfigurationProperty

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

@Stability(Stable) public static interface CfnFleet.ServiceManagedEc2FleetConfigurationProperty extends software.amazon.jsii.JsiiSerializable
The configuration details for a service managed Amazon EC2 fleet.

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.deadline.*;
 ServiceManagedEc2FleetConfigurationProperty serviceManagedEc2FleetConfigurationProperty = ServiceManagedEc2FleetConfigurationProperty.builder()
         .instanceCapabilities(ServiceManagedEc2InstanceCapabilitiesProperty.builder()
                 .cpuArchitectureType("cpuArchitectureType")
                 .memoryMiB(MemoryMiBRangeProperty.builder()
                         .min(123)
                         // the properties below are optional
                         .max(123)
                         .build())
                 .osFamily("osFamily")
                 .vCpuCount(VCpuCountRangeProperty.builder()
                         .min(123)
                         // the properties below are optional
                         .max(123)
                         .build())
                 // the properties below are optional
                 .allowedInstanceTypes(List.of("allowedInstanceTypes"))
                 .customAmounts(List.of(FleetAmountCapabilityProperty.builder()
                         .min(123)
                         .name("name")
                         // the properties below are optional
                         .max(123)
                         .build()))
                 .customAttributes(List.of(FleetAttributeCapabilityProperty.builder()
                         .name("name")
                         .values(List.of("values"))
                         .build()))
                 .excludedInstanceTypes(List.of("excludedInstanceTypes"))
                 .rootEbsVolume(Ec2EbsVolumeProperty.builder()
                         .iops(123)
                         .sizeGiB(123)
                         .throughputMiB(123)
                         .build())
                 .build())
         .instanceMarketOptions(ServiceManagedEc2InstanceMarketOptionsProperty.builder()
                 .type("type")
                 .build())
         .build();
 

See Also: