Interface CfnFleet.ServiceManagedEc2InstanceCapabilitiesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFleet.ServiceManagedEc2InstanceCapabilitiesProperty.Jsii$Proxy
- Enclosing class:
CfnFleet
@Stability(Stable)
public static interface CfnFleet.ServiceManagedEc2InstanceCapabilitiesProperty
extends software.amazon.jsii.JsiiSerializable
The Amazon EC2 instance capabilities.
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.*; ServiceManagedEc2InstanceCapabilitiesProperty serviceManagedEc2InstanceCapabilitiesProperty = 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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnFleet.ServiceManagedEc2InstanceCapabilitiesProperty
static final class
An implementation forCfnFleet.ServiceManagedEc2InstanceCapabilitiesProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The allowable Amazon EC2 instance types.The CPU architecture type.default Object
The custom capability amounts to require for instances in this fleet.default Object
The custom capability attributes to require for instances in this fleet.The instance types to exclude from the fleet.The memory, as MiB, for the Amazon EC2 instance type.The operating system (OS) family.default Object
The root EBS volume.The amount of vCPU to require for instances in this fleet.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCpuArchitectureType
The CPU architecture type.- See Also:
-
getMemoryMiB
The memory, as MiB, for the Amazon EC2 instance type.- See Also:
-
getOsFamily
The operating system (OS) family.- See Also:
-
getVCpuCount
The amount of vCPU to require for instances in this fleet.- See Also:
-
getAllowedInstanceTypes
The allowable Amazon EC2 instance types.- See Also:
-
getCustomAmounts
The custom capability amounts to require for instances in this fleet.- See Also:
-
getCustomAttributes
The custom capability attributes to require for instances in this fleet.- See Also:
-
getExcludedInstanceTypes
The instance types to exclude from the fleet.- See Also:
-
getRootEbsVolume
The root EBS volume.- See Also:
-
builder
-