@Stability(value=Stable) @Internal 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.
|
protected |
Jsii$Proxy(List<? extends PlacementConstraint> placementConstraints,
List<? extends PlacementStrategy> placementStrategies,
ISecurityGroup securityGroup,
SubnetSelection subnets,
ICluster cluster,
TaskDefinition taskDefinition,
List<? extends ContainerOverride> containerOverrides,
ServiceIntegrationPattern integrationPattern)
Constructor that initializes the object based on literal property values passed by the
RunEcsEc2TaskProps.Builder. |
| 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, 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(List<? extends PlacementConstraint> placementConstraints, List<? extends PlacementStrategy> placementStrategies, ISecurityGroup securityGroup, SubnetSelection subnets, ICluster cluster, TaskDefinition taskDefinition, List<? extends ContainerOverride> containerOverrides, ServiceIntegrationPattern integrationPattern)
RunEcsEc2TaskProps.Builder.public final List<PlacementConstraint> getPlacementConstraints()
RunEcsEc2TaskPropsDefault: No constraints
getPlacementConstraints in interface RunEcsEc2TaskPropspublic final List<PlacementStrategy> getPlacementStrategies()
RunEcsEc2TaskPropsDefault: No strategies
getPlacementStrategies in interface RunEcsEc2TaskPropspublic final ISecurityGroup getSecurityGroup()
RunEcsEc2TaskProps(Only applicable in case the TaskDefinition is configured for AwsVpc networking)
Default: A new security group is created
getSecurityGroup in interface RunEcsEc2TaskPropspublic final SubnetSelection getSubnets()
RunEcsEc2TaskProps(Only applicable in case the TaskDefinition is configured for AwsVpc networking)
Default: Private subnets
getSubnets in interface RunEcsEc2TaskPropspublic final ICluster getCluster()
CommonEcsRunTaskPropsgetCluster in interface CommonEcsRunTaskPropspublic final TaskDefinition getTaskDefinition()
CommonEcsRunTaskPropsNote: this must be TaskDefinition, and not ITaskDefinition, as it requires properties that are not known for imported task definitions
getTaskDefinition in interface CommonEcsRunTaskPropspublic final List<ContainerOverride> getContainerOverrides()
CommonEcsRunTaskPropsKey is the name of the container to override, value is the values you want to override.
Default: - No overrides
getContainerOverrides in interface CommonEcsRunTaskPropspublic final ServiceIntegrationPattern getIntegrationPattern()
CommonEcsRunTaskPropsThe valid value for Lambda is FIRE_AND_FORGET, SYNC and WAIT_FOR_TASK_TOKEN.
Default: FIRE_AND_FORGET
getIntegrationPattern in interface CommonEcsRunTaskProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.