Interface CfnFleet.CustomerManagedFleetConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFleet.CustomerManagedFleetConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnFleet
@Stability(Stable)
public static interface CfnFleet.CustomerManagedFleetConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The details of a customer managed fleet configuration.
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.*;
CustomerManagedFleetConfigurationProperty customerManagedFleetConfigurationProperty = CustomerManagedFleetConfigurationProperty.builder()
.mode("mode")
.workerCapabilities(CustomerManagedWorkerCapabilitiesProperty.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
.acceleratorCount(AcceleratorCountRangeProperty.builder()
.min(123)
// the properties below are optional
.max(123)
.build())
.acceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRangeProperty.builder()
.min(123)
// the properties below are optional
.max(123)
.build())
.acceleratorTypes(List.of("acceleratorTypes"))
.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()))
.build())
// the properties below are optional
.storageProfileId("storageProfileId")
.tagPropagationMode("tagPropagationMode")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFleet.CustomerManagedFleetConfigurationPropertystatic final classAn implementation forCfnFleet.CustomerManagedFleetConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()getMode()The AWS Auto Scaling mode for the customer managed fleet configuration.default StringThe storage profile ID.default StringSpecifies whether tags associated with a fleet are attached to workers when the worker is launched.The worker capabilities for a customer managed fleet configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMode
The AWS Auto Scaling mode for the customer managed fleet configuration.- See Also:
-
getWorkerCapabilities
The worker capabilities for a customer managed fleet configuration.Returns union: either
IResolvableorCfnFleet.CustomerManagedWorkerCapabilitiesProperty- See Also:
-
getStorageProfileId
The storage profile ID.- See Also:
-
getTagPropagationMode
Specifies whether tags associated with a fleet are attached to workers when the worker is launched.When the
tagPropagationModeis set toPROPAGATE_TAGS_TO_WORKERS_AT_LAUNCHany tag associated with a fleet is attached to workers when they launch. If the tags for a fleet change, the tags associated with running workers do not change.If you don't specify
tagPropagationMode, the default isNO_PROPAGATION.- See Also:
-
builder
-