@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:43.280Z") @Stability(value=Experimental) public interface EcsRunTaskProps extends software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
| Modifier and Type | Interface and Description |
|---|---|
static class |
EcsRunTaskProps.Builder
A builder for
EcsRunTaskProps |
static class |
EcsRunTaskProps.Jsii$Proxy
An implementation for
EcsRunTaskProps |
| Modifier and Type | Method and Description |
|---|---|
static EcsRunTaskProps.Builder |
builder() |
default Boolean |
getAssignPublicIp()
(experimental) Assign public IP addresses to each task.
|
ICluster |
getCluster()
(experimental) The ECS cluster to run the task on.
|
default List<ContainerOverride> |
getContainerOverrides()
(experimental) Container setting overrides.
|
IEcsLaunchTarget |
getLaunchTarget()
(experimental) An Amazon ECS launch type determines the type of infrastructure on which your tasks and services are hosted.
|
default List<ISecurityGroup> |
getSecurityGroups()
(experimental) Existing security groups to use for the tasks.
|
default SubnetSelection |
getSubnets()
(experimental) Subnets to place the task's ENIs.
|
TaskDefinition |
getTaskDefinition()
(experimental) [disable-awslint:ref-via-interface] Task Definition used for running tasks in the service.
|
getComment, getHeartbeat, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getTimeout@Stability(value=Experimental) @NotNull ICluster getCluster()
@Stability(value=Experimental) @NotNull IEcsLaunchTarget getLaunchTarget()
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html@Stability(value=Experimental) @NotNull TaskDefinition getTaskDefinition()
Note: this must be TaskDefinition, and not ITaskDefinition, as it requires properties that are not known for imported task definitions
@Stability(value=Experimental) @Nullable default Boolean getAssignPublicIp()
Default: false
@Stability(value=Experimental) @Nullable default List<ContainerOverride> getContainerOverrides()
Specify the container to use and the overrides to apply.
Default: - No overrides
@Stability(value=Experimental) @Nullable default List<ISecurityGroup> getSecurityGroups()
Default: - A new security group is created
@Stability(value=Experimental) @Nullable default SubnetSelection getSubnets()
Default: - Public subnets if assignPublicIp is set. Private subnets otherwise.
@Stability(value=Experimental) static EcsRunTaskProps.Builder builder()
builder in interface TaskStateBasePropsEcsRunTaskProps.Builder of EcsRunTaskPropsCopyright © 2021. All rights reserved.