@Stability(value=Experimental) public static final class RunEcsEc2TaskProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements RunEcsEc2TaskProps
RunEcsEc2TaskPropssoftware.amazon.jsii.JsiiObject.InitializationModeRunEcsEc2TaskProps.Builder, RunEcsEc2TaskProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
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) |
ICluster |
getCluster()
The topic to run the task on.
|
List<ContainerOverride> |
getContainerOverrides()
Container setting overrides.
|
ServiceIntegrationPattern |
getIntegrationPattern()
The service integration pattern indicates different ways to call RunTask in ECS.
|
List<PlacementConstraint> |
getPlacementConstraints()
Placement constraints.
|
List<PlacementStrategy> |
getPlacementStrategies()
Placement strategies.
|
ISecurityGroup |
getSecurityGroup()
Existing security group to use for the task's ENIs.
|
SubnetSelection |
getSubnets()
In what subnets to place the task's ENIs.
|
TaskDefinition |
getTaskDefinition()
Task Definition used for running tasks in the service.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.public List<PlacementConstraint> getPlacementConstraints()
RunEcsEc2TaskPropsDefault: No constraints
EXPERIMENTAL
getPlacementConstraints in interface RunEcsEc2TaskPropspublic List<PlacementStrategy> getPlacementStrategies()
RunEcsEc2TaskPropsDefault: No strategies
EXPERIMENTAL
getPlacementStrategies in interface RunEcsEc2TaskPropspublic ISecurityGroup getSecurityGroup()
RunEcsEc2TaskProps(Only applicable in case the TaskDefinition is configured for AwsVpc networking)
Default: A new security group is created
EXPERIMENTAL
getSecurityGroup in interface RunEcsEc2TaskPropspublic SubnetSelection getSubnets()
RunEcsEc2TaskProps(Only applicable in case the TaskDefinition is configured for AwsVpc networking)
Default: Private subnets
EXPERIMENTAL
getSubnets in interface RunEcsEc2TaskPropspublic ICluster getCluster()
CommonEcsRunTaskPropsEXPERIMENTAL
getCluster in interface CommonEcsRunTaskPropspublic TaskDefinition getTaskDefinition()
CommonEcsRunTaskPropsNote: this must be TaskDefinition, and not ITaskDefinition, as it requires properties that are not known for imported task definitions
EXPERIMENTAL
getTaskDefinition in interface CommonEcsRunTaskPropspublic List<ContainerOverride> getContainerOverrides()
CommonEcsRunTaskPropsKey is the name of the container to override, value is the values you want to override.
Default: - No overrides
EXPERIMENTAL
getContainerOverrides in interface CommonEcsRunTaskPropspublic ServiceIntegrationPattern getIntegrationPattern()
CommonEcsRunTaskPropsThe valid value for Lambda is FIRE_AND_FORGET, SYNC and WAIT_FOR_TASK_TOKEN.
Default: FIRE_AND_FORGET
EXPERIMENTAL
getIntegrationPattern in interface CommonEcsRunTaskPropspublic com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.