interface CfnFleetMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Deadline.Mixins.CfnFleetMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsdeadline/mixins#CfnFleetMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.deadline.mixins.CfnFleetMixinProps |
Python | aws_cdk.mixins_preview.aws_deadline.mixins.CfnFleetMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_deadline » mixins » CfnFleetMixinProps |
Properties for CfnFleetPropsMixin.
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 { mixins as deadline_mixins } from '@aws-cdk/mixins-preview/aws-deadline';
const cfnFleetMixinProps: deadline_mixins.CfnFleetMixinProps = {
configuration: {
customerManaged: {
mode: 'mode',
storageProfileId: 'storageProfileId',
tagPropagationMode: 'tagPropagationMode',
workerCapabilities: {
acceleratorCount: {
max: 123,
min: 123,
},
acceleratorTotalMemoryMiB: {
max: 123,
min: 123,
},
acceleratorTypes: ['acceleratorTypes'],
cpuArchitectureType: 'cpuArchitectureType',
customAmounts: [{
max: 123,
min: 123,
name: 'name',
}],
customAttributes: [{
name: 'name',
values: ['values'],
}],
memoryMiB: {
max: 123,
min: 123,
},
osFamily: 'osFamily',
vCpuCount: {
max: 123,
min: 123,
},
},
},
serviceManagedEc2: {
instanceCapabilities: {
acceleratorCapabilities: {
count: {
max: 123,
min: 123,
},
selections: [{
name: 'name',
runtime: 'runtime',
}],
},
allowedInstanceTypes: ['allowedInstanceTypes'],
cpuArchitectureType: 'cpuArchitectureType',
customAmounts: [{
max: 123,
min: 123,
name: 'name',
}],
customAttributes: [{
name: 'name',
values: ['values'],
}],
excludedInstanceTypes: ['excludedInstanceTypes'],
memoryMiB: {
max: 123,
min: 123,
},
osFamily: 'osFamily',
rootEbsVolume: {
iops: 123,
sizeGiB: 123,
throughputMiB: 123,
},
vCpuCount: {
max: 123,
min: 123,
},
},
instanceMarketOptions: {
type: 'type',
},
storageProfileId: 'storageProfileId',
vpcConfiguration: {
resourceConfigurationArns: ['resourceConfigurationArns'],
},
},
},
description: 'description',
displayName: 'displayName',
farmId: 'farmId',
hostConfiguration: {
scriptBody: 'scriptBody',
scriptTimeoutSeconds: 123,
},
maxWorkerCount: 123,
minWorkerCount: 123,
roleArn: 'roleArn',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| configuration? | IResolvable | Fleet | The configuration details for the fleet. |
| description? | string | A description that helps identify what the fleet is used for. |
| display | string | The display name of the fleet summary to update. |
| farm | string | The farm ID. |
| host | IResolvable | Host | Provides a script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet. |
| max | number | The maximum number of workers specified in the fleet. |
| min | number | The minimum number of workers in the fleet. |
| role | string | The IAM role that workers in the fleet use when processing jobs. |
| tags? | Cfn[] | The tags to add to your fleet. |
configuration?
Type:
IResolvable | Fleet
(optional)
The configuration details for the fleet.
description?
Type:
string
(optional, default: "")
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.
displayName?
Type:
string
(optional)
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
(optional)
The farm ID.
hostConfiguration?
Type:
IResolvable | Host
(optional)
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 hostConfiguration scriptBody parameter set to an empty string ("").
maxWorkerCount?
Type:
number
(optional)
The maximum number of workers specified in the fleet.
minWorkerCount?
Type:
number
(optional, default: 0)
The minimum number of workers in the fleet.
roleArn?
Type:
string
(optional)
The IAM role that workers in the fleet use when processing jobs.
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.

.NET
Go
Java
Python
TypeScript