@Internal public static interface IFargateTaskDefinition.Jsii$Default extends IFargateTaskDefinition, ITaskDefinition.Jsii$Default
IFargateTaskDefinition
.IFargateTaskDefinition.Jsii$Default, IFargateTaskDefinition.Jsii$Proxy
Modifier and Type | Method and Description |
---|---|
default Compatibility |
getCompatibility()
What launch types this task definition should be compatible with.
|
default ResourceEnvironment |
getEnv()
The environment this resource belongs to.
|
default IRole |
getExecutionRole()
Execution role for this task definition.
|
default Boolean |
getIsEc2Compatible()
Return true if the task definition can be run on an EC2 cluster.
|
default Boolean |
getIsFargateCompatible()
Return true if the task definition can be run on a Fargate cluster.
|
default ConstructNode |
getNode()
The construct tree node for this construct.
|
default Stack |
getStack()
The stack in which this resource is defined.
|
default String |
getTaskDefinitionArn()
ARN of this task definition.
|
@Stability(value=Stable) @NotNull default ConstructNode getNode()
getNode
in interface IConstruct.Jsii$Default
getNode
in interface IResource.Jsii$Default
getNode
in interface ITaskDefinition.Jsii$Default
@Stability(value=Stable) @NotNull default ResourceEnvironment getEnv()
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
getEnv
in interface IResource
getEnv
in interface IResource.Jsii$Default
getEnv
in interface ITaskDefinition.Jsii$Default
@Stability(value=Stable) @NotNull default Stack getStack()
getStack
in interface IResource
getStack
in interface IResource.Jsii$Default
getStack
in interface ITaskDefinition.Jsii$Default
@Stability(value=Stable) @NotNull default Compatibility getCompatibility()
getCompatibility
in interface ITaskDefinition
getCompatibility
in interface ITaskDefinition.Jsii$Default
@Stability(value=Stable) @NotNull default Boolean getIsEc2Compatible()
getIsEc2Compatible
in interface ITaskDefinition
getIsEc2Compatible
in interface ITaskDefinition.Jsii$Default
@Stability(value=Stable) @NotNull default Boolean getIsFargateCompatible()
getIsFargateCompatible
in interface ITaskDefinition
getIsFargateCompatible
in interface ITaskDefinition.Jsii$Default
@Stability(value=Stable) @NotNull default String getTaskDefinitionArn()
getTaskDefinitionArn
in interface ITaskDefinition
getTaskDefinitionArn
in interface ITaskDefinition.Jsii$Default
@Stability(value=Stable) @Nullable default IRole getExecutionRole()
getExecutionRole
in interface ITaskDefinition
getExecutionRole
in interface ITaskDefinition.Jsii$Default
Copyright © 2020. All rights reserved.