@Stability(value=Experimental) @Internal public static final class EcsRunTaskProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EcsRunTaskProps
EcsRunTaskProps
software.amazon.jsii.JsiiObject.InitializationMode
EcsRunTaskProps.Builder, EcsRunTaskProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(ICluster cluster,
IEcsLaunchTarget launchTarget,
TaskDefinition taskDefinition,
Boolean assignPublicIp,
List<? extends ContainerOverride> containerOverrides,
List<? extends ISecurityGroup> securityGroups,
SubnetSelection subnets,
String comment,
Duration heartbeat,
String inputPath,
IntegrationPattern integrationPattern,
String outputPath,
String resultPath,
Map<String,? extends Object> resultSelector,
Duration timeout)
Constructor that initializes the object based on literal property values passed by the
EcsRunTaskProps.Builder . |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getAssignPublicIp()
(experimental) Assign public IP addresses to each task.
|
ICluster |
getCluster()
(experimental) The ECS cluster to run the task on.
|
String |
getComment()
(experimental) An optional description for this state.
|
List<ContainerOverride> |
getContainerOverrides()
(experimental) Container setting overrides.
|
Duration |
getHeartbeat()
(experimental) Timeout for the heartbeat.
|
String |
getInputPath()
(experimental) JSONPath expression to select part of the state to be the input to this state.
|
IntegrationPattern |
getIntegrationPattern()
(experimental) AWS Step Functions integrates with services directly in the Amazon States Language.
|
IEcsLaunchTarget |
getLaunchTarget()
(experimental) An Amazon ECS launch type determines the type of infrastructure on which your tasks and services are hosted.
|
String |
getOutputPath()
(experimental) JSONPath expression to select select a portion of the state output to pass to the next state.
|
String |
getResultPath()
(experimental) JSONPath expression to indicate where to inject the state's output.
|
Map<String,Object> |
getResultSelector()
(experimental) The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.
|
List<ISecurityGroup> |
getSecurityGroups()
(experimental) Existing security groups to use for the tasks.
|
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.
|
Duration |
getTimeout()
(experimental) Timeout for the state machine.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.protected Jsii$Proxy(ICluster cluster, IEcsLaunchTarget launchTarget, TaskDefinition taskDefinition, Boolean assignPublicIp, List<? extends ContainerOverride> containerOverrides, List<? extends ISecurityGroup> securityGroups, SubnetSelection subnets, String comment, Duration heartbeat, String inputPath, IntegrationPattern integrationPattern, String outputPath, String resultPath, Map<String,? extends Object> resultSelector, Duration timeout)
EcsRunTaskProps.Builder
.public final ICluster getCluster()
EcsRunTaskProps
getCluster
in interface EcsRunTaskProps
public final IEcsLaunchTarget getLaunchTarget()
EcsRunTaskProps
getLaunchTarget
in interface EcsRunTaskProps
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html
public final TaskDefinition getTaskDefinition()
EcsRunTaskProps
Note: this must be TaskDefinition, and not ITaskDefinition, as it requires properties that are not known for imported task definitions
getTaskDefinition
in interface EcsRunTaskProps
public final Boolean getAssignPublicIp()
EcsRunTaskProps
Default: false
getAssignPublicIp
in interface EcsRunTaskProps
public final List<ContainerOverride> getContainerOverrides()
EcsRunTaskProps
Specify the container to use and the overrides to apply.
Default: - No overrides
getContainerOverrides
in interface EcsRunTaskProps
public final List<ISecurityGroup> getSecurityGroups()
EcsRunTaskProps
Default: - A new security group is created
getSecurityGroups
in interface EcsRunTaskProps
public final SubnetSelection getSubnets()
EcsRunTaskProps
Default: - Public subnets if assignPublicIp is set. Private subnets otherwise.
getSubnets
in interface EcsRunTaskProps
public final String getComment()
TaskStateBaseProps
Default: - No comment
getComment
in interface TaskStateBaseProps
public final Duration getHeartbeat()
TaskStateBaseProps
Default: - None
getHeartbeat
in interface TaskStateBaseProps
public final String getInputPath()
TaskStateBaseProps
May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}.
Default: - The entire task input (JSON path '$')
getInputPath
in interface TaskStateBaseProps
public final IntegrationPattern getIntegrationPattern()
TaskStateBaseProps
You can control these AWS services using service integration patterns
Default: IntegrationPattern.REQUEST_RESPONSE
getIntegrationPattern
in interface TaskStateBaseProps
https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token
public final String getOutputPath()
TaskStateBaseProps
May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}.
Default: - The entire JSON node determined by the state input, the task result, and resultPath is passed to the next state (JSON path '$')
getOutputPath
in interface TaskStateBaseProps
public final String getResultPath()
TaskStateBaseProps
May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output.
Default: - Replaces the entire input with the result (JSON path '$')
getResultPath
in interface TaskStateBaseProps
public final Map<String,Object> getResultSelector()
TaskStateBaseProps
You can use ResultSelector to create a payload with values that are static or selected from the state's raw result.
Default: - None
getResultSelector
in interface TaskStateBaseProps
https://docs.aws.amazon.com/step-functions/latest/dg/input-output-inputpath-params.html#input-output-resultselector
public final Duration getTimeout()
TaskStateBaseProps
Default: - None
getTimeout
in interface TaskStateBaseProps
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2021. All rights reserved.