| 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)
The name of the IAM task execution role that grants the ECS agent permission to call AWS APIs on your behalf.
|
Ec2TaskDefinition.Builder |
Ec2TaskDefinition.Builder.family(String family)
The name of a family that this task definition is registered to.
|
Ec2TaskDefinition.Builder |
Ec2TaskDefinition.Builder.inferenceAccelerators(List<? extends InferenceAccelerator> inferenceAccelerators)
The inference accelerators to use for the containers in the task.
|
Ec2TaskDefinition.Builder |
Ec2TaskDefinition.Builder.ipcMode(IpcMode ipcMode)
The IPC resource namespace to use for the containers in the task.
|
Ec2TaskDefinition.Builder |
Ec2TaskDefinition.Builder.networkMode(NetworkMode networkMode)
The Docker networking mode to use for the containers in the task.
|
Ec2TaskDefinition.Builder |
Ec2TaskDefinition.Builder.pidMode(PidMode pidMode)
The process namespace to use for the containers in the task.
|
Ec2TaskDefinition.Builder |
Ec2TaskDefinition.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
An array of placement constraint objects to use for the task.
|
Ec2TaskDefinition.Builder |
Ec2TaskDefinition.Builder.proxyConfiguration(ProxyConfiguration proxyConfiguration)
The configuration details for the App Mesh proxy.
|
Ec2TaskDefinition.Builder |
Ec2TaskDefinition.Builder.taskRole(IRole taskRole)
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)
The list of volume definitions for the task.
|
Copyright © 2022. All rights reserved.