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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.events.targets.EcsTaskProps
EcsTaskProps.Builder, EcsTaskProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(EcsTaskProps.Builder builder) Constructor that initializes the object based on literal property values passed by theEcsTaskProps.Builder.protectedJsii$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.JsonNodefinal booleanfinal BooleanSpecifies whether the task's elastic network interface receives a public IP address.final IClusterCluster where service will be deployed.final List<ContainerOverride> Container setting overrides.final StringgetCpu()The CPU override for the task.final IQueueThe SQS queue to be used as deadLetterQueue.final BooleanWhether or not to enable the execute command functionality for the containers in this task.final EphemeralStorageOverrideThe ephemeral storage setting override for the task.final IRoleThe execution role for the task.final List<InferenceAcceleratorOverride> The Elastic Inference accelerator override for the task.final LaunchTypeSpecifies the launch type on which your task is running.final DurationThe maximum age of a request that Lambda sends to a function for processing.final StringThe memory override for the task.final FargatePlatformVersionThe platform version on which to run your task.final PropagatedTagSourceSpecifies whether to propagate the tags from the task definition to the task.final NumberThe maximum number of times to retry when the function returns an error.final IRolegetRole()Existing IAM role to run the ECS task.final List<ISecurityGroup> Existing security groups to use for the task's ENIs.final SubnetSelectionIn 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 NumberHow many tasks should be started when this event is triggered.final ITaskDefinitionTask Definition of the task that should be started.final IRoleThe IAM role for the task.final inthashCode()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:EcsTaskPropsCluster where service will be deployed.- Specified by:
getClusterin interfaceEcsTaskProps
-
getTaskDefinition
Description copied from interface:EcsTaskPropsTask Definition of the task that should be started.- Specified by:
getTaskDefinitionin interfaceEcsTaskProps
-
getAssignPublicIp
Description copied from interface:EcsTaskPropsSpecifies 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:
getAssignPublicIpin interfaceEcsTaskProps
-
getContainerOverrides
Description copied from interface:EcsTaskPropsContainer setting overrides.Key is the name of the container to override, value is the values you want to override.
- Specified by:
getContainerOverridesin interfaceEcsTaskProps
-
getCpu
Description copied from interface:EcsTaskPropsThe CPU override for the task.Default: - The task definition's CPU value
- Specified by:
getCpuin interfaceEcsTaskProps
-
getEnableExecuteCommand
Description copied from interface:EcsTaskPropsWhether 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:
getEnableExecuteCommandin interfaceEcsTaskProps
-
getEphemeralStorage
Description copied from interface:EcsTaskPropsThe ephemeral storage setting override for the task.NOTE: This parameter is only supported for tasks hosted on Fargate that use the following platform versions:
- Linux platform version 1.4.0 or later.
- Windows platform version 1.0.0 or later.
Default: - The task definition's ephemeral storage value
- Specified by:
getEphemeralStoragein interfaceEcsTaskProps
-
getExecutionRole
Description copied from interface:EcsTaskPropsThe execution role for the task.The Amazon Resource Name (ARN) of the task execution role override for the task.
Default: - The task definition's execution role
- Specified by:
getExecutionRolein interfaceEcsTaskProps
-
getInferenceAcceleratorOverrides
Description copied from interface:EcsTaskPropsThe Elastic Inference accelerator override for the task.Default: - The task definition's inference accelerator overrides
- Specified by:
getInferenceAcceleratorOverridesin interfaceEcsTaskProps
-
getLaunchType
Description copied from interface:EcsTaskPropsSpecifies 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:
getLaunchTypein interfaceEcsTaskProps
-
getMemory
Description copied from interface:EcsTaskPropsThe memory override for the task.Default: - The task definition's memory value
- Specified by:
getMemoryin interfaceEcsTaskProps
-
getPlatformVersion
Description copied from interface:EcsTaskPropsThe 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:
getPlatformVersionin interfaceEcsTaskProps- See Also:
-
getPropagateTags
Description copied from interface:EcsTaskPropsSpecifies 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:
getPropagateTagsin interfaceEcsTaskProps
-
getRole
Description copied from interface:EcsTaskPropsExisting IAM role to run the ECS task.Default: A new IAM role is created
- Specified by:
getRolein interfaceEcsTaskProps
-
getSecurityGroups
Description copied from interface:EcsTaskPropsExisting 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:
getSecurityGroupsin interfaceEcsTaskProps
-
getSubnetSelection
Description copied from interface:EcsTaskPropsIn what subnets to place the task's ENIs.(Only applicable in case the TaskDefinition is configured for AwsVpc networking)
Default: Private subnets
- Specified by:
getSubnetSelectionin interfaceEcsTaskProps
-
getTags
Description copied from interface:EcsTaskPropsThe 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:
getTagsin interfaceEcsTaskProps
-
getTaskCount
Description copied from interface:EcsTaskPropsHow many tasks should be started when this event is triggered.Default: 1
- Specified by:
getTaskCountin interfaceEcsTaskProps
-
getTaskRole
Description copied from interface:EcsTaskPropsThe IAM role for the task.Default: - The task definition's task role
- Specified by:
getTaskRolein interfaceEcsTaskProps
-
getDeadLetterQueue
Description copied from interface:TargetBasePropsThe 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:
getDeadLetterQueuein interfaceTargetBaseProps
-
getMaxEventAge
Description copied from interface:TargetBasePropsThe 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:
getMaxEventAgein interfaceTargetBaseProps
-
getRetryAttempts
Description copied from interface:TargetBasePropsThe maximum number of times to retry when the function returns an error.Minimum value of 0. Maximum value of 185.
Default: 185
- Specified by:
getRetryAttemptsin interfaceTargetBaseProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-