Class TaskDefinitionAttributes.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ecs.TaskDefinitionAttributes.Jsii$Proxy
- All Implemented Interfaces:
CommonTaskDefinitionAttributes
,TaskDefinitionAttributes
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
TaskDefinitionAttributes
@Stability(Stable)
@Internal
public static final class TaskDefinitionAttributes.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements TaskDefinitionAttributes
An implementation for
TaskDefinitionAttributes
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.TaskDefinitionAttributes
TaskDefinitionAttributes.Builder, TaskDefinitionAttributes.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theTaskDefinitionAttributes.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Compatibility
What launch types this task definition should be compatible with.final NetworkMode
The networking mode to use for the containers in the task.final String
The arn of the task definition.final IRole
The name of the IAM role that grants containers in the task permission to call AWS APIs on your behalf.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theTaskDefinitionAttributes.Builder
.
-
-
Method Details
-
getCompatibility
Description copied from interface:TaskDefinitionAttributes
What launch types this task definition should be compatible with.Default: Compatibility.EC2_AND_FARGATE
- Specified by:
getCompatibility
in interfaceTaskDefinitionAttributes
-
getTaskDefinitionArn
Description copied from interface:CommonTaskDefinitionAttributes
The arn of the task definition.- Specified by:
getTaskDefinitionArn
in interfaceCommonTaskDefinitionAttributes
-
getNetworkMode
Description copied from interface:CommonTaskDefinitionAttributes
The networking mode to use for the containers in the task.Default: Network mode cannot be provided to the imported task.
- Specified by:
getNetworkMode
in interfaceCommonTaskDefinitionAttributes
-
getTaskRole
Description copied from interface:CommonTaskDefinitionAttributes
The name of the IAM role that grants containers in the task permission to call AWS APIs on your behalf.Default: Permissions cannot be granted to the imported task.
- Specified by:
getTaskRole
in interfaceCommonTaskDefinitionAttributes
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-