@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.731Z") @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.
|
applyRemovalPolicy, getEnv, getStack@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 © 2022. All rights reserved.