@Stability(value=Experimental) public static final class EcsRunTaskProps.Builder extends Object implements software.amazon.jsii.Builder<EcsRunTaskProps>
EcsRunTaskProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public EcsRunTaskProps.Builder cluster(ICluster cluster)
EcsRunTaskProps.getCluster()cluster - The ECS cluster to run the task on. This parameter is required.this@Stability(value=Experimental) public EcsRunTaskProps.Builder launchTarget(IEcsLaunchTarget launchTarget)
EcsRunTaskProps.getLaunchTarget()launchTarget - An Amazon ECS launch type determines the type of infrastructure on which your tasks and services are hosted. This parameter is required.this@Stability(value=Experimental) public EcsRunTaskProps.Builder taskDefinition(TaskDefinition taskDefinition)
EcsRunTaskProps.getTaskDefinition()taskDefinition - [disable-awslint:ref-via-interface] 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 EcsRunTaskProps.Builder assignPublicIp(Boolean assignPublicIp)
EcsRunTaskProps.getAssignPublicIp()assignPublicIp - Assign public IP addresses to each task.this@Stability(value=Experimental) public EcsRunTaskProps.Builder containerOverrides(List<? extends ContainerOverride> containerOverrides)
EcsRunTaskProps.getContainerOverrides()containerOverrides - Container setting overrides.
Specify the container to use and the overrides to apply.this@Stability(value=Experimental) public EcsRunTaskProps.Builder securityGroups(List<? extends ISecurityGroup> securityGroups)
EcsRunTaskProps.getSecurityGroups()securityGroups - Existing security groups to use for the tasks.this@Stability(value=Experimental) public EcsRunTaskProps.Builder subnets(SubnetSelection subnets)
EcsRunTaskProps.getSubnets()subnets - Subnets to place the task's ENIs.this@Stability(value=Experimental) public EcsRunTaskProps.Builder comment(String comment)
TaskStateBaseProps.getComment()comment - An optional description for this state.this@Stability(value=Experimental) public EcsRunTaskProps.Builder heartbeat(Duration heartbeat)
TaskStateBaseProps.getHeartbeat()heartbeat - Timeout for the heartbeat.this@Stability(value=Experimental) public EcsRunTaskProps.Builder inputPath(String inputPath)
TaskStateBaseProps.getInputPath()inputPath - JSONPath expression to select part of the state to be the input to this state.
May also be the special value JsonPath.DISCARD, which will cause the effective
input to be the empty object {}.this@Stability(value=Experimental) public EcsRunTaskProps.Builder integrationPattern(IntegrationPattern integrationPattern)
TaskStateBaseProps.getIntegrationPattern()integrationPattern - AWS Step Functions integrates with services directly in the Amazon States Language.
You can control these AWS services using service integration patternsthis@Stability(value=Experimental) public EcsRunTaskProps.Builder outputPath(String outputPath)
TaskStateBaseProps.getOutputPath()outputPath - JSONPath expression to select select a portion of the state output to pass to the next state.
May also be the special value JsonPath.DISCARD, which will cause the effective
output to be the empty object {}.this@Stability(value=Experimental) public EcsRunTaskProps.Builder resultPath(String resultPath)
TaskStateBaseProps.getResultPath()resultPath - JSONPath expression to indicate where to inject the state's output.
May also be the special value JsonPath.DISCARD, which will cause the state's
input to become its output.this@Stability(value=Experimental) public EcsRunTaskProps.Builder resultSelector(Map<String,? extends Object> resultSelector)
TaskStateBaseProps.getResultSelector()resultSelector - The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.
You can use ResultSelector to create a payload with values that are static
or selected from the state's raw result.this@Stability(value=Experimental) public EcsRunTaskProps.Builder timeout(Duration timeout)
TaskStateBaseProps.getTimeout()timeout - Timeout for the state machine.this@Stability(value=Experimental) public EcsRunTaskProps build()
build in interface software.amazon.jsii.Builder<EcsRunTaskProps>EcsRunTaskPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.