Interface CfnFleetPropsMixin.ServiceManagedEc2FleetConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFleetPropsMixin.ServiceManagedEc2FleetConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnFleetPropsMixin
@Stability(Stable)
public static interface CfnFleetPropsMixin.ServiceManagedEc2FleetConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The configuration details for a service managed 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.cfnpropertymixins.services.deadline.*;
ServiceManagedEc2FleetConfigurationProperty serviceManagedEc2FleetConfigurationProperty = ServiceManagedEc2FleetConfigurationProperty.builder()
.autoScalingConfiguration(ServiceManagedEc2AutoScalingConfigurationProperty.builder()
.scaleOutWorkersPerMinute(123)
.standbyWorkerCount(123)
.workerIdleDurationSeconds(123)
.build())
.instanceCapabilities(ServiceManagedEc2InstanceCapabilitiesProperty.builder()
.acceleratorCapabilities(AcceleratorCapabilitiesProperty.builder()
.count(AcceleratorCountRangeProperty.builder()
.max(123)
.min(123)
.build())
.selections(List.of(AcceleratorSelectionProperty.builder()
.name("name")
.runtime("runtime")
.build()))
.build())
.allowedInstanceTypes(List.of("allowedInstanceTypes"))
.cpuArchitectureType("cpuArchitectureType")
.customAmounts(List.of(FleetAmountCapabilityProperty.builder()
.max(123)
.min(123)
.name("name")
.build()))
.customAttributes(List.of(FleetAttributeCapabilityProperty.builder()
.name("name")
.values(List.of("values"))
.build()))
.excludedInstanceTypes(List.of("excludedInstanceTypes"))
.memoryMiB(MemoryMiBRangeProperty.builder()
.max(123)
.min(123)
.build())
.osFamily("osFamily")
.rootEbsVolume(Ec2EbsVolumeProperty.builder()
.iops(123)
.sizeGiB(123)
.throughputMiB(123)
.build())
.vCpuCount(VCpuCountRangeProperty.builder()
.max(123)
.min(123)
.build())
.build())
.instanceMarketOptions(ServiceManagedEc2InstanceMarketOptionsProperty.builder()
.type("type")
.build())
.persistentVolumeConfiguration(PersistentVolumeConfigurationProperty.builder()
.iops(123)
.lastUsedTtlHours(123)
.mountPath("mountPath")
.sizeGiB(123)
.throughputMiB(123)
.build())
.storageProfileId("storageProfileId")
.vpcConfiguration(VpcConfigurationProperty.builder()
.resourceConfigurationArns(List.of("resourceConfigurationArns"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnFleetPropsMixin.ServiceManagedEc2FleetConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnFleetPropsMixin.ServiceManagedEc2AutoScalingConfigurationPropertydefault ObjectThe instance capabilities for the service managed EC2 fleet.default ObjectThe instance market options for the service managed EC2 fleet.default ObjectReturns union: eitherIResolvableorCfnFleetPropsMixin.PersistentVolumeConfigurationPropertydefault StringThe storage profile ID for the service managed EC2 fleet.default ObjectThe VPC configuration for the service managed EC2 fleet.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAutoScalingConfiguration
Returns union: eitherIResolvableorCfnFleetPropsMixin.ServiceManagedEc2AutoScalingConfigurationProperty- See Also:
-
getInstanceCapabilities
The instance capabilities for the service managed EC2 fleet.Returns union: either
IResolvableorCfnFleetPropsMixin.ServiceManagedEc2InstanceCapabilitiesProperty- See Also:
-
getInstanceMarketOptions
The instance market options for the service managed EC2 fleet.Returns union: either
IResolvableorCfnFleetPropsMixin.ServiceManagedEc2InstanceMarketOptionsProperty- See Also:
-
getPersistentVolumeConfiguration
Returns union: eitherIResolvableorCfnFleetPropsMixin.PersistentVolumeConfigurationProperty- See Also:
-
getStorageProfileId
The storage profile ID for the service managed EC2 fleet.- See Also:
-
getVpcConfiguration
The VPC configuration for the service managed EC2 fleet.Returns union: either
IResolvableorCfnFleetPropsMixin.VpcConfigurationProperty- See Also:
-
builder
@Stability(Stable) static CfnFleetPropsMixin.ServiceManagedEc2FleetConfigurationProperty.Builder builder()
-