Class CfnRule.EcsParametersProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnRule.EcsParametersProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnRule.EcsParametersProperty
CfnRule.EcsParametersProperty
-
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.CfnRule.EcsParametersProperty
CfnRule.EcsParametersProperty.Builder, CfnRule.EcsParametersProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnRule.EcsParametersProperty.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 Object
The capacity provider strategy to use for the task.final Object
Specifies whether to enable Amazon ECS managed tags for the task.final Object
Whether or not to enable the execute command functionality for the containers in this task.final String
getGroup()
Specifies an ECS task group for the task.final String
Specifies the launch type on which your task is running.final Object
Use this structure if the Amazon ECS task uses theawsvpc
network mode.final Object
An array of placement constraint objects to use for the task.final Object
The placement strategy objects to use for the task.final String
Specifies the platform version for the task.final String
Specifies whether to propagate the tags from the task definition to the task.final String
The reference ID to use for the task.final Object
The metadata that you apply to the task to help you categorize and organize them.final Number
The number of tasks to create based onTaskDefinition
.final String
The ARN of the task definition to use if the event target is an Amazon ECS task.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 theCfnRule.EcsParametersProperty.Builder
.
-
-
Method Details
-
getTaskDefinitionArn
Description copied from interface:CfnRule.EcsParametersProperty
The ARN of the task definition to use if the event target is an Amazon ECS task.- Specified by:
getTaskDefinitionArn
in interfaceCfnRule.EcsParametersProperty
-
getCapacityProviderStrategy
Description copied from interface:CfnRule.EcsParametersProperty
The capacity provider strategy to use for the task.If a
capacityProviderStrategy
is specified, thelaunchType
parameter must be omitted. If nocapacityProviderStrategy
or launchType is specified, thedefaultCapacityProviderStrategy
for the cluster is used.- Specified by:
getCapacityProviderStrategy
in interfaceCfnRule.EcsParametersProperty
-
getEnableEcsManagedTags
Description copied from interface:CfnRule.EcsParametersProperty
Specifies whether to enable Amazon ECS managed tags for the task.For more information, see Tagging Your Amazon ECS Resources in the Amazon Elastic Container Service Developer Guide.
- Specified by:
getEnableEcsManagedTags
in interfaceCfnRule.EcsParametersProperty
-
getEnableExecuteCommand
Description copied from interface:CfnRule.EcsParametersProperty
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.
- Specified by:
getEnableExecuteCommand
in interfaceCfnRule.EcsParametersProperty
-
getGroup
Description copied from interface:CfnRule.EcsParametersProperty
Specifies an ECS task group for the task.The maximum length is 255 characters.
- Specified by:
getGroup
in interfaceCfnRule.EcsParametersProperty
-
getLaunchType
Description copied from interface:CfnRule.EcsParametersProperty
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. The
FARGATE
value is supported only in the Regions where AWS Fargate with Amazon ECS is supported. For more information, see AWS Fargate on Amazon ECS in the Amazon Elastic Container Service Developer Guide .- Specified by:
getLaunchType
in interfaceCfnRule.EcsParametersProperty
-
getNetworkConfiguration
Description copied from interface:CfnRule.EcsParametersProperty
Use this structure if the Amazon ECS task uses theawsvpc
network mode.This structure specifies the VPC subnets and security groups associated with the task, and whether a public IP address is to be used. This structure is required if
LaunchType
isFARGATE
because theawsvpc
mode is required for Fargate tasks.If you specify
NetworkConfiguration
when the target ECS task does not use theawsvpc
network mode, the task fails.- Specified by:
getNetworkConfiguration
in interfaceCfnRule.EcsParametersProperty
-
getPlacementConstraints
Description copied from interface:CfnRule.EcsParametersProperty
An array of placement constraint objects to use for the task.You can specify up to 10 constraints per task (including constraints in the task definition and those specified at runtime).
- Specified by:
getPlacementConstraints
in interfaceCfnRule.EcsParametersProperty
-
getPlacementStrategies
Description copied from interface:CfnRule.EcsParametersProperty
The placement strategy objects to use for the task.You can specify a maximum of five strategy rules per task.
- Specified by:
getPlacementStrategies
in interfaceCfnRule.EcsParametersProperty
-
getPlatformVersion
Description copied from interface:CfnRule.EcsParametersProperty
Specifies the platform version for the task.Specify only the numeric portion of the platform version, such as
1.1.0
.This structure is used only if
LaunchType
isFARGATE
. For more information about valid platform versions, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide .- Specified by:
getPlatformVersion
in interfaceCfnRule.EcsParametersProperty
-
getPropagateTags
Description copied from interface:CfnRule.EcsParametersProperty
Specifies whether to propagate the tags from the task definition to the task.If no value is specified, the tags are not propagated. Tags can only be propagated to the task during task creation. To add tags to a task after task creation, use the TagResource API action.
- Specified by:
getPropagateTags
in interfaceCfnRule.EcsParametersProperty
-
getReferenceId
Description copied from interface:CfnRule.EcsParametersProperty
The reference ID to use for the task.- Specified by:
getReferenceId
in interfaceCfnRule.EcsParametersProperty
-
getTagList
Description copied from interface:CfnRule.EcsParametersProperty
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. To learn more, see RunTask in the Amazon ECS API Reference.
- Specified by:
getTagList
in interfaceCfnRule.EcsParametersProperty
-
getTaskCount
Description copied from interface:CfnRule.EcsParametersProperty
The number of tasks to create based onTaskDefinition
.The default is 1.
- Specified by:
getTaskCount
in interfaceCfnRule.EcsParametersProperty
-
$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()
-