@Stability(value=Experimental) @Internal public static final class EcsTaskProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EcsTaskProps
EcsTaskPropssoftware.amazon.jsii.JsiiObject.InitializationModeEcsTaskProps.Builder, EcsTaskProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(ICluster cluster,
ITaskDefinition taskDefinition,
List<? extends ContainerOverride> containerOverrides,
FargatePlatformVersion platformVersion,
IRole role,
List<? extends ISecurityGroup> securityGroups,
SubnetSelection subnetSelection,
Number taskCount)
Constructor that initializes the object based on literal property values passed by the
EcsTaskProps.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) |
ICluster |
getCluster()
(experimental) Cluster where service will be deployed.
|
List<ContainerOverride> |
getContainerOverrides()
(experimental) Container setting overrides.
|
FargatePlatformVersion |
getPlatformVersion()
(experimental) The platform version on which to run your task.
|
IRole |
getRole()
(experimental) Existing IAM role to run the ECS task.
|
List<ISecurityGroup> |
getSecurityGroups()
(experimental) Existing security groups to use for the task's ENIs.
|
SubnetSelection |
getSubnetSelection()
(experimental) In what subnets to place the task's ENIs.
|
Number |
getTaskCount()
(experimental) How many tasks should be started when this event is triggered.
|
ITaskDefinition |
getTaskDefinition()
(experimental) Task Definition of the task that should be started.
|
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, ITaskDefinition taskDefinition, List<? extends ContainerOverride> containerOverrides, FargatePlatformVersion platformVersion, IRole role, List<? extends ISecurityGroup> securityGroups, SubnetSelection subnetSelection, Number taskCount)
EcsTaskProps.Builder.public final ICluster getCluster()
EcsTaskPropsgetCluster in interface EcsTaskPropspublic final ITaskDefinition getTaskDefinition()
EcsTaskPropsgetTaskDefinition in interface EcsTaskPropspublic final List<ContainerOverride> getContainerOverrides()
EcsTaskPropsKey is the name of the container to override, value is the values you want to override.
getContainerOverrides in interface EcsTaskPropspublic final FargatePlatformVersion getPlatformVersion()
EcsTaskPropsUnless you have specific compatibility requirements, you don't need to specify this.
Default: - ECS will set the Fargate platform version to 'LATEST'
getPlatformVersion in interface EcsTaskPropshttps://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.htmlpublic final IRole getRole()
EcsTaskPropsDefault: A new IAM role is created
getRole in interface EcsTaskPropspublic final List<ISecurityGroup> getSecurityGroups()
EcsTaskProps(Only applicable in case the TaskDefinition is configured for AwsVpc networking)
Default: A new security group is created
getSecurityGroups in interface EcsTaskPropspublic final SubnetSelection getSubnetSelection()
EcsTaskProps(Only applicable in case the TaskDefinition is configured for AwsVpc networking)
Default: Private subnets
getSubnetSelection in interface EcsTaskPropspublic final Number getTaskCount()
EcsTaskPropsDefault: 1
getTaskCount in interface EcsTaskProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.