IWorkerFleet
- class aws_rfdk.deadline.IWorkerFleet(*args, **kwargs)
Bases:
IConnectable
,IConstruct
,IGrantable
,Protocol
Interface for Deadline Worker Fleet.
Methods
- allow_listener_port_from(other)
Allow access to the worker’s remote command listener port (configured as a part of the WorkerConfiguration) for an IConnectable that is either in this stack, or in a stack that depends on this stack.
If this stack depends on the other stack, use allowListenerPortTo().
Common uses are:
Adding a SecurityGroup:
workerFleet.allowListenerPortFrom(securityGroup)
Adding a CIDR:
workerFleet.allowListenerPortFrom(Peer.ipv4('10.0.0.0/24').connections)
- Parameters:
other (
IConnectable
) –- Return type:
None
- allow_listener_port_to(other)
Allow access to the worker’s remote command listener port (configured as a part of the WorkerConfiguration) for an IConnectable that is either in this stack, or in a stack that this stack depends on.
If the other stack depends on this stack, use allowListenerPortFrom().
Common uses are:
Adding a SecurityGroup:
workerFleet.allowListenerPortTo(securityGroup)
Adding a CIDR:
workerFleet.allowListenerPortTo(Peer.ipv4('10.0.0.0/24').connections)
- Parameters:
other (
IConnectable
) –- Return type:
None
Attributes
- connections
The network connections associated with this resource.
- grant_principal
The principal to grant permissions to.
- node
The tree node.