@Stability(value=Experimental) public static final class CommonEcsRunTaskProps.Builder extends Object implements software.amazon.jsii.Builder<CommonEcsRunTaskProps>
CommonEcsRunTaskProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CommonEcsRunTaskProps |
build()
Builds the configured instance.
|
CommonEcsRunTaskProps.Builder |
cluster(ICluster cluster)
Sets the value of
CommonEcsRunTaskProps.getCluster() |
CommonEcsRunTaskProps.Builder |
containerOverrides(List<? extends ContainerOverride> containerOverrides)
Sets the value of
CommonEcsRunTaskProps.getContainerOverrides() |
CommonEcsRunTaskProps.Builder |
integrationPattern(ServiceIntegrationPattern integrationPattern)
Sets the value of
CommonEcsRunTaskProps.getIntegrationPattern() |
CommonEcsRunTaskProps.Builder |
taskDefinition(TaskDefinition taskDefinition)
Sets the value of
CommonEcsRunTaskProps.getTaskDefinition() |
@Stability(value=Experimental) public CommonEcsRunTaskProps.Builder cluster(ICluster cluster)
CommonEcsRunTaskProps.getCluster()cluster - The topic to run the task on. This parameter is required.this@Stability(value=Experimental) public CommonEcsRunTaskProps.Builder taskDefinition(TaskDefinition taskDefinition)
CommonEcsRunTaskProps.getTaskDefinition()taskDefinition - Task Definition used for running tasks in the service. This parameter is required.
Note: this must be TaskDefinition, and not ITaskDefinition,
as it requires properties that are not known for imported task definitionsthis@Stability(value=Experimental) public CommonEcsRunTaskProps.Builder containerOverrides(List<? extends ContainerOverride> containerOverrides)
CommonEcsRunTaskProps.getContainerOverrides()containerOverrides - Container setting overrides.
Key is the name of the container to override, value is the
values you want to override.this@Stability(value=Experimental) public CommonEcsRunTaskProps.Builder integrationPattern(ServiceIntegrationPattern integrationPattern)
CommonEcsRunTaskProps.getIntegrationPattern()integrationPattern - The service integration pattern indicates different ways to call RunTask in ECS.
The valid value for Lambda is FIRE_AND_FORGET, SYNC and WAIT_FOR_TASK_TOKEN.this@Stability(value=Experimental) public CommonEcsRunTaskProps build()
build in interface software.amazon.jsii.Builder<CommonEcsRunTaskProps>CommonEcsRunTaskPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.