interface CfnFleetProps
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_deadline.CfnFleetProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsdeadline#CfnFleetProps |
![]() | software.amazon.awscdk.services.deadline.CfnFleetProps |
![]() | aws_cdk.aws_deadline.CfnFleetProps |
![]() | aws-cdk-lib » aws_deadline » CfnFleetProps |
Properties for defining a CfnFleet
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-fleet.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_deadline as deadline } from 'aws-cdk-lib';
const cfnFleetProps: deadline.CfnFleetProps = {
configuration: {
customerManaged: {
mode: 'mode',
workerCapabilities: {
cpuArchitectureType: 'cpuArchitectureType',
memoryMiB: {
min: 123,
// the properties below are optional
max: 123,
},
osFamily: 'osFamily',
vCpuCount: {
min: 123,
// the properties below are optional
max: 123,
},
// the properties below are optional
acceleratorCount: {
min: 123,
// the properties below are optional
max: 123,
},
acceleratorTotalMemoryMiB: {
min: 123,
// the properties below are optional
max: 123,
},
acceleratorTypes: ['acceleratorTypes'],
customAmounts: [{
min: 123,
name: 'name',
// the properties below are optional
max: 123,
}],
customAttributes: [{
name: 'name',
values: ['values'],
}],
},
// the properties below are optional
storageProfileId: 'storageProfileId',
},
serviceManagedEc2: {
instanceCapabilities: {
cpuArchitectureType: 'cpuArchitectureType',
memoryMiB: {
min: 123,
// the properties below are optional
max: 123,
},
osFamily: 'osFamily',
vCpuCount: {
min: 123,
// the properties below are optional
max: 123,
},
// the properties below are optional
acceleratorCapabilities: {
selections: [{
name: 'name',
// the properties below are optional
runtime: 'runtime',
}],
// the properties below are optional
count: {
min: 123,
// the properties below are optional
max: 123,
},
},
allowedInstanceTypes: ['allowedInstanceTypes'],
customAmounts: [{
min: 123,
name: 'name',
// the properties below are optional
max: 123,
}],
customAttributes: [{
name: 'name',
values: ['values'],
}],
excludedInstanceTypes: ['excludedInstanceTypes'],
rootEbsVolume: {
iops: 123,
sizeGiB: 123,
throughputMiB: 123,
},
},
instanceMarketOptions: {
type: 'type',
},
},
},
displayName: 'displayName',
farmId: 'farmId',
maxWorkerCount: 123,
roleArn: 'roleArn',
// the properties below are optional
description: 'description',
minWorkerCount: 123,
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
configuration | IResolvable | Fleet | The configuration details for the fleet. |
display | string | The display name of the fleet summary to update. |
farm | string | The farm ID. |
max | number | The maximum number of workers specified in the fleet. |
role | string | The IAM role that workers in the fleet use when processing jobs. |
description? | string | A description that helps identify what the fleet is used for. |
min | number | The minimum number of workers in the fleet. |
tags? | Cfn [] | The tags to add to your fleet. |
configuration
Type:
IResolvable
|
Fleet
The configuration details for the fleet.
displayName
Type:
string
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.
farmId
Type:
string
The farm ID.
maxWorkerCount
Type:
number
The maximum number of workers specified in the fleet.
roleArn
Type:
string
The IAM role that workers in the fleet use when processing jobs.
description?
Type:
string
(optional, default: "")
A description that helps identify what the fleet is used for.
minWorkerCount?
Type:
number
(optional, default: 0)
The minimum number of workers in the fleet.
tags?
Type:
Cfn
[]
(optional)
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.