Class Ec2TaskDefinitionProps.Jsii$Proxy
- All Implemented Interfaces:
CommonTaskDefinitionProps,Ec2TaskDefinitionProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
Ec2TaskDefinitionProps
Ec2TaskDefinitionProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.Ec2TaskDefinitionProps
Ec2TaskDefinitionProps.Builder, Ec2TaskDefinitionProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(Ec2TaskDefinitionProps.Builder builder) Constructor that initializes the object based on literal property values passed by theEc2TaskDefinitionProps.Builder.protectedJsii$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.JsonNodefinal booleanfinal BooleanEnables fault injection and allows for fault injection requests to be accepted from the task's containers.final IRoleThe name of the IAM task execution role that grants the ECS agent permission to call AWS APIs on your behalf.final StringThe name of a family that this task definition is registered to.final List<InferenceAccelerator> The inference accelerators to use for the containers in the task.final IpcModeThe IPC resource namespace to use for the containers in the task.final NetworkModeThe Docker networking mode to use for the containers in the task.final PidModeThe process namespace to use for the containers in the task.final List<PlacementConstraint> An array of placement constraint objects to use for the task.final ProxyConfigurationThe configuration details for the App Mesh proxy.final IRoleThe name of the IAM role that grants containers in the task permission to call AWS APIs on your behalf.The list of volume definitions for the task.final inthashCode()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 theEc2TaskDefinitionProps.Builder.
-
-
Method Details
-
getInferenceAccelerators
Description copied from interface:Ec2TaskDefinitionPropsThe inference accelerators to use for the containers in the task.Not supported in Fargate.
Default: - No inference accelerators.
- Specified by:
getInferenceAcceleratorsin interfaceEc2TaskDefinitionProps
-
getIpcMode
Description copied from interface:Ec2TaskDefinitionPropsThe IPC resource namespace to use for the containers in the task.Not supported in Fargate and Windows containers.
Default: - IpcMode used by the task is not specified
- Specified by:
getIpcModein interfaceEc2TaskDefinitionProps
-
getNetworkMode
Description copied from interface:Ec2TaskDefinitionPropsThe Docker networking mode to use for the containers in the task.The valid values are NONE, BRIDGE, AWS_VPC, and HOST.
Default: - NetworkMode.BRIDGE for EC2 tasks, AWS_VPC for Fargate tasks.
- Specified by:
getNetworkModein interfaceEc2TaskDefinitionProps
-
getPidMode
Description copied from interface:Ec2TaskDefinitionPropsThe process namespace to use for the containers in the task.Not supported in Windows containers.
Default: - PidMode used by the task is not specified
- Specified by:
getPidModein interfaceEc2TaskDefinitionProps
-
getPlacementConstraints
Description copied from interface:Ec2TaskDefinitionPropsAn array of placement constraint objects to use for the task.You can specify a maximum of 10 constraints per task (this limit includes constraints in the task definition and those specified at run time).
Default: - No placement constraints.
- Specified by:
getPlacementConstraintsin interfaceEc2TaskDefinitionProps
-
getEnableFaultInjection
Description copied from interface:CommonTaskDefinitionPropsEnables fault injection and allows for fault injection requests to be accepted from the task's containers.Fault injection only works with tasks using the
orinvalid reference
NetworkMode.AWS_VPCnetwork modes.invalid reference
NetworkMode.HOSTDefault: undefined - ECS default setting is false
- Specified by:
getEnableFaultInjectionin interfaceCommonTaskDefinitionProps
-
getExecutionRole
Description copied from interface:CommonTaskDefinitionPropsThe name of the IAM task execution role that grants the ECS agent permission to call AWS APIs on your behalf.The role will be used to retrieve container images from ECR and create CloudWatch log groups.
Default: - An execution role will be automatically created if you use ECR images in your task definition.
- Specified by:
getExecutionRolein interfaceCommonTaskDefinitionProps
-
getFamily
Description copied from interface:CommonTaskDefinitionPropsThe name of a family that this task definition is registered to.A family groups multiple versions of a task definition.
Default: - Automatically generated name.
- Specified by:
getFamilyin interfaceCommonTaskDefinitionProps
-
getProxyConfiguration
Description copied from interface:CommonTaskDefinitionPropsThe configuration details for the App Mesh proxy.Default: - No proxy configuration.
- Specified by:
getProxyConfigurationin interfaceCommonTaskDefinitionProps
-
getTaskRole
Description copied from interface:CommonTaskDefinitionPropsThe name of the IAM role that grants containers in the task permission to call AWS APIs on your behalf.Default: - A task role is automatically created for you.
- Specified by:
getTaskRolein interfaceCommonTaskDefinitionProps
-
getVolumes
Description copied from interface:CommonTaskDefinitionPropsThe list of volume definitions for the task.For more information, see Task Definition Parameter Volumes.
Default: - No volumes are passed to the Docker daemon on a container instance.
- Specified by:
getVolumesin interfaceCommonTaskDefinitionProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-