| Package | Description |
|---|---|
| software.amazon.awscdk.services.ecs |
Amazon ECS Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
static Ec2TaskDefinition.Builder |
Ec2TaskDefinition.Builder.create(software.constructs.Construct scope,
String id) |
Ec2TaskDefinition.Builder |
Ec2TaskDefinition.Builder.executionRole(IRole executionRole)
(experimental) The name of the IAM task execution role that grants the ECS agent to call AWS APIs on your behalf.
|
Ec2TaskDefinition.Builder |
Ec2TaskDefinition.Builder.family(String family)
(experimental) The name of a family that this task definition is registered to.
|
Ec2TaskDefinition.Builder |
Ec2TaskDefinition.Builder.inferenceAccelerators(List<? extends InferenceAccelerator> inferenceAccelerators)
(experimental) The inference accelerators to use for the containers in the task.
|
Ec2TaskDefinition.Builder |
Ec2TaskDefinition.Builder.ipcMode(IpcMode ipcMode)
(experimental) The IPC resource namespace to use for the containers in the task.
|
Ec2TaskDefinition.Builder |
Ec2TaskDefinition.Builder.networkMode(NetworkMode networkMode)
(experimental) The Docker networking mode to use for the containers in the task.
|
Ec2TaskDefinition.Builder |
Ec2TaskDefinition.Builder.pidMode(PidMode pidMode)
(experimental) The process namespace to use for the containers in the task.
|
Ec2TaskDefinition.Builder |
Ec2TaskDefinition.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
(experimental) An array of placement constraint objects to use for the task.
|
Ec2TaskDefinition.Builder |
Ec2TaskDefinition.Builder.proxyConfiguration(ProxyConfiguration proxyConfiguration)
(experimental) The configuration details for the App Mesh proxy.
|
Ec2TaskDefinition.Builder |
Ec2TaskDefinition.Builder.taskRole(IRole taskRole)
(experimental) The name of the IAM role that grants containers in the task permission to call AWS APIs on your behalf.
|
Ec2TaskDefinition.Builder |
Ec2TaskDefinition.Builder.volumes(List<? extends Volume> volumes)
(experimental) The list of volume definitions for the task.
|
Copyright © 2021. All rights reserved.