CfnWorkerProps
- class aws_cdk.aws_deadline.CfnWorkerProps(*, farm_id, fleet_id, host_properties=None, tags=None)
Bases:
objectProperties for defining a
CfnWorker.- Parameters:
farm_id (
str) – The farm ID.fleet_id (
str) – The fleet ID.host_properties (
Union[IResolvable,HostPropertiesRequestProperty,Dict[str,Any],None]) – The host property details.tags (
Optional[Sequence[Union[TagsItemsProperty,Dict[str,Any]]]]) – An array of key-value pairs to apply to this resource.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-worker.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_deadline as deadline cfn_worker_props = deadline.CfnWorkerProps( farm_id="farmId", fleet_id="fleetId", # the properties below are optional host_properties=deadline.CfnWorker.HostPropertiesRequestProperty( host_name="hostName", ip_addresses=deadline.CfnWorker.IpAddressesProperty( ip_v4_addresses=["ipV4Addresses"], ip_v6_addresses=["ipV6Addresses"] ) ), tags=[deadline.CfnWorker.TagsItemsProperty( key="key", value="value" )] )
Attributes
- farm_id
The farm ID.
- fleet_id
The fleet ID.
- host_properties
The host property details.
- tags
An array of key-value pairs to apply to this resource.