@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:31.239Z") @Stability(value=Experimental) public interface EcsTaskProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
EcsTaskProps.Builder
A builder for
EcsTaskProps |
static class |
EcsTaskProps.Jsii$Proxy
An implementation for
EcsTaskProps |
| Modifier and Type | Method and Description |
|---|---|
static EcsTaskProps.Builder |
builder() |
ICluster |
getCluster()
(experimental) Cluster where service will be deployed.
|
default List<ContainerOverride> |
getContainerOverrides()
(experimental) Container setting overrides.
|
default FargatePlatformVersion |
getPlatformVersion()
(experimental) The platform version on which to run your task.
|
default IRole |
getRole()
(experimental) Existing IAM role to run the ECS task.
|
default List<ISecurityGroup> |
getSecurityGroups()
(experimental) Existing security groups to use for the task's ENIs.
|
default SubnetSelection |
getSubnetSelection()
(experimental) In what subnets to place the task's ENIs.
|
default Number |
getTaskCount()
(experimental) How many tasks should be started when this event is triggered.
|
ITaskDefinition |
getTaskDefinition()
(experimental) Task Definition of the task that should be started.
|
@Stability(value=Experimental) @NotNull ICluster getCluster()
@Stability(value=Experimental) @NotNull ITaskDefinition getTaskDefinition()
@Stability(value=Experimental) @Nullable default List<ContainerOverride> getContainerOverrides()
Key is the name of the container to override, value is the values you want to override.
@Stability(value=Experimental) @Nullable default FargatePlatformVersion getPlatformVersion()
Unless you have specific compatibility requirements, you don't need to specify this.
Default: - ECS will set the Fargate platform version to 'LATEST'
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html@Stability(value=Experimental) @Nullable default IRole getRole()
Default: A new IAM role is created
@Stability(value=Experimental) @Nullable default List<ISecurityGroup> getSecurityGroups()
(Only applicable in case the TaskDefinition is configured for AwsVpc networking)
Default: A new security group is created
@Stability(value=Experimental) @Nullable default SubnetSelection getSubnetSelection()
(Only applicable in case the TaskDefinition is configured for AwsVpc networking)
Default: Private subnets
@Stability(value=Experimental) @Nullable default Number getTaskCount()
Default: 1
@Stability(value=Experimental) static EcsTaskProps.Builder builder()
EcsTaskProps.Builder of EcsTaskPropsCopyright © 2021. All rights reserved.