@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.763Z") @Stability(value=Experimental) public interface CommonTaskDefinitionProps extends software.amazon.jsii.JsiiSerializable
For more information, see Task Definition Parameters.
| Modifier and Type | Interface and Description |
|---|---|
static class |
CommonTaskDefinitionProps.Builder
A builder for
CommonTaskDefinitionProps |
static class |
CommonTaskDefinitionProps.Jsii$Proxy
An implementation for
CommonTaskDefinitionProps |
| Modifier and Type | Method and Description |
|---|---|
static CommonTaskDefinitionProps.Builder |
builder() |
default IRole |
getExecutionRole()
(experimental) The name of the IAM task execution role that grants the ECS agent to call AWS APIs on your behalf.
|
default String |
getFamily()
(experimental) The name of a family that this task definition is registered to.
|
default ProxyConfiguration |
getProxyConfiguration()
(experimental) The configuration details for the App Mesh proxy.
|
default IRole |
getTaskRole()
(experimental) The name of the IAM role that grants containers in the task permission to call AWS APIs on your behalf.
|
default List<Volume> |
getVolumes()
(experimental) The list of volume definitions for the task.
|
@Stability(value=Experimental) @Nullable default IRole getExecutionRole()
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.
@Stability(value=Experimental) @Nullable default String getFamily()
A family groups multiple versions of a task definition.
Default: - Automatically generated name.
@Stability(value=Experimental) @Nullable default ProxyConfiguration getProxyConfiguration()
Default: - No proxy configuration.
@Stability(value=Experimental) @Nullable default IRole getTaskRole()
Default: - A task role is automatically created for you.
@Stability(value=Experimental) @Nullable default List<Volume> getVolumes()
For more information, see Task Definition Parameter Volumes.
Default: - No volumes are passed to the Docker daemon on a container instance.
@Stability(value=Experimental) static CommonTaskDefinitionProps.Builder builder()
CommonTaskDefinitionProps.Builder of CommonTaskDefinitionPropsCopyright © 2021. All rights reserved.