@Internal public static final class ITaskDefinition.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ITaskDefinition.Jsii$Default
software.amazon.jsii.JsiiObject.InitializationMode
ITaskDefinition.Jsii$Default, ITaskDefinition.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
Compatibility |
getCompatibility()
What launch types this task definition should be compatible with.
|
ResourceEnvironment |
getEnv()
The environment this resource belongs to.
|
IRole |
getExecutionRole()
Execution role for this task definition.
|
Boolean |
getIsEc2Compatible()
Return true if the task definition can be run on an EC2 cluster.
|
Boolean |
getIsFargateCompatible()
Return true if the task definition can be run on a Fargate cluster.
|
ConstructNode |
getNode()
The construct tree node for this construct.
|
Stack |
getStack()
The stack in which this resource is defined.
|
String |
getTaskDefinitionArn()
ARN of this task definition.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
@Stability(value=Stable) @NotNull public final ConstructNode getNode()
getNode
in interface IConstruct.Jsii$Default
getNode
in interface IResource.Jsii$Default
getNode
in interface ITaskDefinition.Jsii$Default
@Stability(value=Stable) @NotNull public final 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 public final Stack getStack()
getStack
in interface IResource
getStack
in interface IResource.Jsii$Default
getStack
in interface ITaskDefinition.Jsii$Default
@Stability(value=Stable) @NotNull public final Compatibility getCompatibility()
getCompatibility
in interface ITaskDefinition
getCompatibility
in interface ITaskDefinition.Jsii$Default
@Stability(value=Stable) @NotNull public final Boolean getIsEc2Compatible()
getIsEc2Compatible
in interface ITaskDefinition
getIsEc2Compatible
in interface ITaskDefinition.Jsii$Default
@Stability(value=Stable) @NotNull public final Boolean getIsFargateCompatible()
getIsFargateCompatible
in interface ITaskDefinition
getIsFargateCompatible
in interface ITaskDefinition.Jsii$Default
@Stability(value=Stable) @NotNull public final String getTaskDefinitionArn()
getTaskDefinitionArn
in interface ITaskDefinition
getTaskDefinitionArn
in interface ITaskDefinition.Jsii$Default
@Stability(value=Stable) @Nullable public final IRole getExecutionRole()
getExecutionRole
in interface ITaskDefinition
getExecutionRole
in interface ITaskDefinition.Jsii$Default
Copyright © 2020. All rights reserved.