Class EcsTaskProps.Jsii$Proxy
- All Implemented Interfaces:
EcsTaskProps
,TargetBaseProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
EcsTaskProps
EcsTaskProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.events.targets.EcsTaskProps
EcsTaskProps.Builder, EcsTaskProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(EcsTaskProps.Builder builder) Constructor that initializes the object based on literal property values passed by theEcsTaskProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Boolean
Specifies whether the task's elastic network interface receives a public IP address.final ICluster
Cluster where service will be deployed.final List<ContainerOverride>
Container setting overrides.final IQueue
The SQS queue to be used as deadLetterQueue.final Boolean
Whether or not to enable the execute command functionality for the containers in this task.final LaunchType
Specifies the launch type on which your task is running.final Duration
The maximum age of a request that Lambda sends to a function for processing.final FargatePlatformVersion
The platform version on which to run your task.final PropagatedTagSource
Specifies whether to propagate the tags from the task definition to the task.final Number
The maximum number of times to retry when the function returns an error.final IRole
getRole()
Existing IAM role to run the ECS task.final List<ISecurityGroup>
Existing security groups to use for the task's ENIs.final SubnetSelection
In what subnets to place the task's ENIs.getTags()
The metadata that you apply to the task to help you categorize and organize them.final Number
How many tasks should be started when this event is triggered.final ITaskDefinition
Task Definition of the task that should be started.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theEcsTaskProps.Builder
.
-
-
Method Details
-
getCluster
Description copied from interface:EcsTaskProps
Cluster where service will be deployed.- Specified by:
getCluster
in interfaceEcsTaskProps
-
getTaskDefinition
Description copied from interface:EcsTaskProps
Task Definition of the task that should be started.- Specified by:
getTaskDefinition
in interfaceEcsTaskProps
-
getAssignPublicIp
Description copied from interface:EcsTaskProps
Specifies whether the task's elastic network interface receives a public IP address.You can specify true only when LaunchType is set to FARGATE.
Default: - true if the subnet type is PUBLIC, otherwise false
- Specified by:
getAssignPublicIp
in interfaceEcsTaskProps
-
getContainerOverrides
Description copied from interface:EcsTaskProps
Container setting overrides.Key is the name of the container to override, value is the values you want to override.
- Specified by:
getContainerOverrides
in interfaceEcsTaskProps
-
getEnableExecuteCommand
Description copied from interface:EcsTaskProps
Whether or not to enable the execute command functionality for the containers in this task.If true, this enables execute command functionality on all containers in the task.
Default: - false
- Specified by:
getEnableExecuteCommand
in interfaceEcsTaskProps
-
getLaunchType
Description copied from interface:EcsTaskProps
Specifies the launch type on which your task is running.The launch type that you specify here must match one of the launch type (compatibilities) of the target task.
Default: - 'EC2' if `isEc2Compatible` for the `taskDefinition` is true, otherwise 'FARGATE'
- Specified by:
getLaunchType
in interfaceEcsTaskProps
-
getPlatformVersion
Description copied from interface:EcsTaskProps
The platform version on which to run your task.Unless you have specific compatibility requirements, you don't need to specify this.
Default: - ECS will set the Fargate platform version to 'LATEST'
- Specified by:
getPlatformVersion
in interfaceEcsTaskProps
- See Also:
-
getPropagateTags
Description copied from interface:EcsTaskProps
Specifies whether to propagate the tags from the task definition to the task.If no value is specified, the tags are not propagated.
Default: - Tags will not be propagated
- Specified by:
getPropagateTags
in interfaceEcsTaskProps
-
getRole
Description copied from interface:EcsTaskProps
Existing IAM role to run the ECS task.Default: A new IAM role is created
- Specified by:
getRole
in interfaceEcsTaskProps
-
getSecurityGroups
Description copied from interface:EcsTaskProps
Existing security groups to use for the task's ENIs.(Only applicable in case the TaskDefinition is configured for AwsVpc networking)
Default: A new security group is created
- Specified by:
getSecurityGroups
in interfaceEcsTaskProps
-
getSubnetSelection
Description copied from interface:EcsTaskProps
In what subnets to place the task's ENIs.(Only applicable in case the TaskDefinition is configured for AwsVpc networking)
Default: Private subnets
- Specified by:
getSubnetSelection
in interfaceEcsTaskProps
-
getTags
Description copied from interface:EcsTaskProps
The metadata that you apply to the task to help you categorize and organize them.Each tag consists of a key and an optional value, both of which you define.
Default: - No additional tags are applied to the task
- Specified by:
getTags
in interfaceEcsTaskProps
-
getTaskCount
Description copied from interface:EcsTaskProps
How many tasks should be started when this event is triggered.Default: 1
- Specified by:
getTaskCount
in interfaceEcsTaskProps
-
getDeadLetterQueue
Description copied from interface:TargetBaseProps
The SQS queue to be used as deadLetterQueue. Check out the considerations for using a dead-letter queue.The 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
- Specified by:
getDeadLetterQueue
in interfaceTargetBaseProps
-
getMaxEventAge
Description copied from interface:TargetBaseProps
The maximum age of a request that Lambda sends to a function for processing.Minimum value of 60. Maximum value of 86400.
Default: Duration.hours(24)
- Specified by:
getMaxEventAge
in interfaceTargetBaseProps
-
getRetryAttempts
Description copied from interface:TargetBaseProps
The maximum number of times to retry when the function returns an error.Minimum value of 0. Maximum value of 185.
Default: 185
- Specified by:
getRetryAttempts
in interfaceTargetBaseProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-