CfnWorkerProps Struct
Properties for defining a CfnWorker.
Example
ts
// 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 cfnWorkerProps: deadline.CfnWorkerProps = {
farmId: 'farmId',
fleetId: 'fleetId',
// the properties below are optional
hostProperties: {
hostName: 'hostName',
ipAddresses: {
ipV4Addresses: ['ipV4Addresses'],
ipV6Addresses: ['ipV6Addresses'],
},
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
The farm ID.
The fleet ID.
hostPropertiesoptionalIResolvable | CfnWorker.HostPropertiesRequestPropertyhost_propertiesoptionaltyping.Union[IResolvable, HostPropertiesRequestProperty]hostPropertiesoptionalIResolvableHostPropertiesoptionalIResolvableHostPropertiesoptionalinterface{}#The host property details.
tagsoptionalCfnWorker.TagsItemsProperty[]tagsoptionaltyping.List[TagsItemsProperty]tagsoptionalList<TagsItemsProperty>TagsoptionalTagsItemsProperty[]Tagsoptional*[]TagsItemsProperty#An array of key-value pairs to apply to this resource.