@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:37:00.412Z") public interface ITaskDefinition extends IResource
Modifier and Type | Interface and Description |
---|---|
static interface |
ITaskDefinition.Jsii$Default
Internal default implementation for
ITaskDefinition . |
static class |
ITaskDefinition.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
Modifier and Type | Method and Description |
---|---|
Compatibility |
getCompatibility()
What launch types this task definition should be compatible with.
|
default IRole |
getExecutionRole()
Execution role for this task definition.
|
java.lang.Boolean |
getIsEc2Compatible()
Return true if the task definition can be run on an EC2 cluster.
|
java.lang.Boolean |
getIsExternalCompatible()
Return true if the task definition can be run on a ECS Anywhere cluster.
|
java.lang.Boolean |
getIsFargateCompatible()
Return true if the task definition can be run on a Fargate cluster.
|
NetworkMode |
getNetworkMode()
The networking mode to use for the containers in the task.
|
java.lang.String |
getTaskDefinitionArn()
ARN of this task definition.
|
IRole |
getTaskRole()
The name of the IAM role that grants containers in the task permission to call AWS APIs on your behalf.
|
applyRemovalPolicy, getEnv, getStack
getNode
Compatibility getCompatibility()
java.lang.Boolean getIsEc2Compatible()
java.lang.Boolean getIsExternalCompatible()
java.lang.Boolean getIsFargateCompatible()
NetworkMode getNetworkMode()
java.lang.String getTaskDefinitionArn()
IRole getTaskRole()
default IRole getExecutionRole()