Interface CfnFleetMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFleetMixinProps.Jsii$Proxy
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.*;
CfnFleetMixinProps cfnFleetMixinProps = CfnFleetMixinProps.builder()
.configuration(FleetConfigurationProperty.builder()
.customerManaged(CustomerManagedFleetConfigurationProperty.builder()
.mode("mode")
.storageProfileId("storageProfileId")
.tagPropagationMode("tagPropagationMode")
.workerCapabilities(CustomerManagedWorkerCapabilitiesProperty.builder()
.acceleratorCount(AcceleratorCountRangeProperty.builder()
.max(123)
.min(123)
.build())
.acceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRangeProperty.builder()
.max(123)
.min(123)
.build())
.acceleratorTypes(List.of("acceleratorTypes"))
.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()))
.memoryMiB(MemoryMiBRangeProperty.builder()
.max(123)
.min(123)
.build())
.osFamily("osFamily")
.vCpuCount(VCpuCountRangeProperty.builder()
.max(123)
.min(123)
.build())
.build())
.build())
.serviceManagedEc2(ServiceManagedEc2FleetConfigurationProperty.builder()
.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())
.storageProfileId("storageProfileId")
.vpcConfiguration(VpcConfigurationProperty.builder()
.resourceConfigurationArns(List.of("resourceConfigurationArns"))
.build())
.build())
.build())
.description("description")
.displayName("displayName")
.farmId("farmId")
.hostConfiguration(HostConfigurationProperty.builder()
.scriptBody("scriptBody")
.scriptTimeoutSeconds(123)
.build())
.maxWorkerCount(123)
.minWorkerCount(123)
.roleArn("roleArn")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFleetMixinPropsstatic final classAn implementation forCfnFleetMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnFleetMixinProps.Builderbuilder()default ObjectThe configuration details for the fleet.default StringA description that helps identify what the fleet is used for.default StringThe display name of the fleet summary to update.default StringThe farm ID.default ObjectProvides a script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.default NumberThe maximum number of workers specified in the fleet.default NumberThe minimum number of workers in the fleet.default StringThe IAM role that workers in the fleet use when processing jobs.getTags()The tags to add to your fleet.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfiguration
The configuration details for the fleet.Returns union: either
IResolvableorCfnFleetPropsMixin.FleetConfigurationProperty- See Also:
-
getDescription
A description that helps identify what the fleet is used for.This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
Default: - ""
- See Also:
-
getDisplayName
The display name of the fleet summary to update.This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- See Also:
-
getFarmId
The farm ID.- See Also:
-
getHostConfiguration
Provides a script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.To remove a script from a fleet, use the UpdateFleet operation with the
hostConfigurationscriptBodyparameter set to an empty string ("").Returns union: either
IResolvableorCfnFleetPropsMixin.HostConfigurationProperty- See Also:
-
getMaxWorkerCount
The maximum number of workers specified in the fleet.- See Also:
-
getMinWorkerCount
The minimum number of workers in the fleet.Default: - 0
- See Also:
-
getRoleArn
The IAM role that workers in the fleet use when processing jobs.- See Also:
-
getTags
The tags to add to your fleet.Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.
- See Also:
-
builder
- Returns:
- a
CfnFleetMixinProps.BuilderofCfnFleetMixinProps
-