@Stability(value=Stable) @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(EcsTaskProps.Builder builder)
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()
Cluster where service will be deployed.
|
List<ContainerOverride> |
getContainerOverrides()
Container setting overrides.
|
IQueue |
getDeadLetterQueue()
The SQS queue to be used as deadLetterQueue.
|
Duration |
getMaxEventAge()
The maximum age of a request that Lambda sends to a function for processing.
|
FargatePlatformVersion |
getPlatformVersion()
The platform version on which to run your task.
|
Number |
getRetryAttempts()
The maximum number of times to retry when the function returns an error.
|
IRole |
getRole()
Existing IAM role to run the ECS task.
|
List<ISecurityGroup> |
getSecurityGroups()
Existing security groups to use for the task's ENIs.
|
SubnetSelection |
getSubnetSelection()
In what subnets to place the task's ENIs.
|
Number |
getTaskCount()
How many tasks should be started when this event is triggered.
|
ITaskDefinition |
getTaskDefinition()
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(EcsTaskProps.Builder builder)
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 EcsTaskPropspublic 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 EcsTaskPropspublic final IQueue getDeadLetterQueue()
TargetBasePropsThe events not successfully delivered are automatically retried for a specified period of time, depending on the retry policy of the target. If an event is not delivered before all retry attempts are exhausted, it will be sent to the dead letter queue.
Default: - no dead-letter queue
getDeadLetterQueue in interface TargetBasePropspublic final Duration getMaxEventAge()
TargetBasePropsMinimum value of 60. Maximum value of 86400.
Default: Duration.hours(24)
getMaxEventAge in interface TargetBasePropspublic final Number getRetryAttempts()
TargetBasePropsMinimum value of 0. Maximum value of 185.
Default: 185
getRetryAttempts in interface TargetBaseProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.