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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.events.CfnRule.EcsParametersProperty
CfnRule.EcsParametersProperty.Builder, CfnRule.EcsParametersProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnRule.EcsParametersProperty.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 ObjectThe capacity provider strategy to use for the task.final ObjectSpecifies whether to enable Amazon ECS managed tags for the task.final ObjectWhether or not to enable the execute command functionality for the containers in this task.final StringgetGroup()Specifies an ECS task group for the task.final StringSpecifies the launch type on which your task is running.final ObjectUse this structure if the Amazon ECS task uses theawsvpcnetwork mode.final ObjectAn array of placement constraint objects to use for the task.final ObjectThe placement strategy objects to use for the task.final StringSpecifies the platform version for the task.final StringSpecifies whether to propagate the tags from the task definition to the task.final StringThe reference ID to use for the task.final ObjectThe metadata that you apply to the task to help you categorize and organize them.final NumberThe number of tasks to create based onTaskDefinition.final StringThe ARN of the task definition to use if the event target is an Amazon ECS 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 theCfnRule.EcsParametersProperty.Builder.
-
-
Method Details
-
getTaskDefinitionArn
Description copied from interface:CfnRule.EcsParametersPropertyThe ARN of the task definition to use if the event target is an Amazon ECS task.- Specified by:
getTaskDefinitionArnin interfaceCfnRule.EcsParametersProperty- See Also:
-
getCapacityProviderStrategy
Description copied from interface:CfnRule.EcsParametersPropertyThe capacity provider strategy to use for the task.If a
capacityProviderStrategyis specified, thelaunchTypeparameter must be omitted. If nocapacityProviderStrategyor launchType is specified, thedefaultCapacityProviderStrategyfor the cluster is used.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRule.CapacityProviderStrategyItemProperty>- Specified by:
getCapacityProviderStrategyin interfaceCfnRule.EcsParametersProperty- See Also:
-
getEnableEcsManagedTags
Description copied from interface:CfnRule.EcsParametersPropertySpecifies 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.
Returns union: either
BooleanorIResolvable- Specified by:
getEnableEcsManagedTagsin interfaceCfnRule.EcsParametersProperty- See Also:
-
getEnableExecuteCommand
Description copied from interface:CfnRule.EcsParametersPropertyWhether 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.
Returns union: either
BooleanorIResolvable- Specified by:
getEnableExecuteCommandin interfaceCfnRule.EcsParametersProperty- See Also:
-
getGroup
Description copied from interface:CfnRule.EcsParametersPropertySpecifies an ECS task group for the task.The maximum length is 255 characters.
- Specified by:
getGroupin interfaceCfnRule.EcsParametersProperty- See Also:
-
getLaunchType
Description copied from interface:CfnRule.EcsParametersPropertySpecifies 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
FARGATEvalue 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:
getLaunchTypein interfaceCfnRule.EcsParametersProperty- See Also:
-
getNetworkConfiguration
Description copied from interface:CfnRule.EcsParametersPropertyUse this structure if the Amazon ECS task uses theawsvpcnetwork 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
LaunchTypeisFARGATEbecause theawsvpcmode is required for Fargate tasks.If you specify
NetworkConfigurationwhen the target ECS task does not use theawsvpcnetwork mode, the task fails.Returns union: either
IResolvableorCfnRule.NetworkConfigurationProperty- Specified by:
getNetworkConfigurationin interfaceCfnRule.EcsParametersProperty- See Also:
-
getPlacementConstraints
Description copied from interface:CfnRule.EcsParametersPropertyAn 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).
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRule.PlacementConstraintProperty>- Specified by:
getPlacementConstraintsin interfaceCfnRule.EcsParametersProperty- See Also:
-
getPlacementStrategies
Description copied from interface:CfnRule.EcsParametersPropertyThe placement strategy objects to use for the task.You can specify a maximum of five strategy rules per task.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRule.PlacementStrategyProperty>- Specified by:
getPlacementStrategiesin interfaceCfnRule.EcsParametersProperty- See Also:
-
getPlatformVersion
Description copied from interface:CfnRule.EcsParametersPropertySpecifies 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
LaunchTypeisFARGATE. For more information about valid platform versions, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide .- Specified by:
getPlatformVersionin interfaceCfnRule.EcsParametersProperty- See Also:
-
getPropagateTags
Description copied from interface:CfnRule.EcsParametersPropertySpecifies 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:
getPropagateTagsin interfaceCfnRule.EcsParametersProperty- See Also:
-
getReferenceId
Description copied from interface:CfnRule.EcsParametersPropertyThe reference ID to use for the task.- Specified by:
getReferenceIdin interfaceCfnRule.EcsParametersProperty- See Also:
-
getTagList
Description copied from interface:CfnRule.EcsParametersPropertyThe 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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTag>- Specified by:
getTagListin interfaceCfnRule.EcsParametersProperty- See Also:
-
getTaskCount
Description copied from interface:CfnRule.EcsParametersPropertyThe number of tasks to create based onTaskDefinition.The default is 1.
- Specified by:
getTaskCountin interfaceCfnRule.EcsParametersProperty- See Also:
-
$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()
-