@Stability(value=Experimental) @Internal public static final class EcsRunTaskProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EcsRunTaskProps
EcsRunTaskPropssoftware.amazon.jsii.JsiiObject.InitializationModeEcsRunTaskProps.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,
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.
|
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, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected 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, Duration timeout)
EcsRunTaskProps.Builder.public final ICluster getCluster()
EcsRunTaskPropsgetCluster in interface EcsRunTaskPropspublic final IEcsLaunchTarget getLaunchTarget()
EcsRunTaskPropsgetLaunchTarget in interface EcsRunTaskPropshttps://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.htmlpublic final TaskDefinition getTaskDefinition()
EcsRunTaskPropsNote: this must be TaskDefinition, and not ITaskDefinition, as it requires properties that are not known for imported task definitions
getTaskDefinition in interface EcsRunTaskPropspublic final Boolean getAssignPublicIp()
EcsRunTaskPropsDefault: false
getAssignPublicIp in interface EcsRunTaskPropspublic final List<ContainerOverride> getContainerOverrides()
EcsRunTaskPropsSpecify the container to use and the overrides to apply.
Default: - No overrides
getContainerOverrides in interface EcsRunTaskPropspublic final List<ISecurityGroup> getSecurityGroups()
EcsRunTaskPropsDefault: - A new security group is created
getSecurityGroups in interface EcsRunTaskPropspublic final SubnetSelection getSubnets()
EcsRunTaskPropsDefault: - Public subnets if assignPublicIp is set. Private subnets otherwise.
getSubnets in interface EcsRunTaskPropspublic final String getComment()
TaskStateBasePropsDefault: - No comment
getComment in interface TaskStateBasePropspublic final Duration getHeartbeat()
TaskStateBasePropsDefault: - None
getHeartbeat in interface TaskStateBasePropspublic final String getInputPath()
TaskStateBasePropsMay 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 TaskStateBasePropspublic final IntegrationPattern getIntegrationPattern()
TaskStateBasePropsYou can control these AWS services using service integration patterns
Default: IntegrationPattern.REQUEST_RESPONSE
getIntegrationPattern in interface TaskStateBasePropshttps://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-tokenpublic final String getOutputPath()
TaskStateBasePropsMay 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 TaskStateBasePropspublic final String getResultPath()
TaskStateBasePropsMay 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 TaskStateBasePropspublic final Duration getTimeout()
TaskStateBasePropsDefault: - None
getTimeout in interface TaskStateBaseProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.