class CfnFleetPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Deadline.Mixins.CfnFleetPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsdeadline/mixins#CfnFleetPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.deadline.mixins.CfnFleetPropsMixin |
Python | aws_cdk.mixins_preview.aws_deadline.mixins.CfnFleetPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_deadline » mixins » CfnFleetPropsMixin |
Implements
IMixin
Extends
Mixin
Creates a fleet.
Fleets gather information relating to compute, or capacity, for renders within your farms. You can choose to manage your own capacity or opt to have fleets fully managed by Deadline Cloud.
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 } from '@aws-cdk/mixins-preview';
import { mixins as deadline_mixins } from '@aws-cdk/mixins-preview/aws-deadline';
const cfnFleetPropsMixin = new deadline_mixins.CfnFleetPropsMixin({
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',
}],
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnFleetPropsMixin(props: CfnFleetMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Fleet Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::Deadline::Fleet.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript