@Generated(value="jsii-pacmak/1.39.0 (build 8af72c2)", date="2021-10-14T05:49:31.935Z") @Stability(value=Stable) public interface ITaskDefinition extends software.amazon.jsii.JsiiSerializable, 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.
|
Boolean |
getIsEc2Compatible()
Return true if the task definition can be run on an EC2 cluster.
|
Boolean |
getIsExternalCompatible()
Return true if the task definition can be run on a ECS Anywhere cluster.
|
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.
|
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.
|
getNode
@Stability(value=Stable) @NotNull Compatibility getCompatibility()
@Stability(value=Stable) @NotNull Boolean getIsEc2Compatible()
@Stability(value=Stable) @NotNull Boolean getIsExternalCompatible()
@Stability(value=Stable) @NotNull Boolean getIsFargateCompatible()
@Stability(value=Stable) @NotNull NetworkMode getNetworkMode()
@Stability(value=Stable) @NotNull String getTaskDefinitionArn()
@Stability(value=Stable) @NotNull IRole getTaskRole()
@Stability(value=Stable) @Nullable default IRole getExecutionRole()
Copyright © 2021. All rights reserved.