@Stability(value=Stable)
public static interface CfnRule.EcsParametersProperty
extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.events.*;
EcsParametersProperty ecsParametersProperty = EcsParametersProperty.builder()
.taskDefinitionArn("taskDefinitionArn")
// the properties below are optional
.capacityProviderStrategy(List.of(CapacityProviderStrategyItemProperty.builder()
.capacityProvider("capacityProvider")
// the properties below are optional
.base(123)
.weight(123)
.build()))
.enableEcsManagedTags(false)
.enableExecuteCommand(false)
.group("group")
.launchType("launchType")
.networkConfiguration(NetworkConfigurationProperty.builder()
.awsVpcConfiguration(AwsVpcConfigurationProperty.builder()
.subnets(List.of("subnets"))
// the properties below are optional
.assignPublicIp("assignPublicIp")
.securityGroups(List.of("securityGroups"))
.build())
.build())
.placementConstraints(List.of(PlacementConstraintProperty.builder()
.expression("expression")
.type("type")
.build()))
.placementStrategies(List.of(PlacementStrategyProperty.builder()
.field("field")
.type("type")
.build()))
.platformVersion("platformVersion")
.propagateTags("propagateTags")
.referenceId("referenceId")
.tagList(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.taskCount(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRule.EcsParametersProperty.Builder
A builder for
CfnRule.EcsParametersProperty |
static class |
CfnRule.EcsParametersProperty.Jsii$Proxy
An implementation for
CfnRule.EcsParametersProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnRule.EcsParametersProperty.Builder |
builder() |
default Object |
getCapacityProviderStrategy()
`CfnRule.EcsParametersProperty.CapacityProviderStrategy`.
|
default Object |
getEnableEcsManagedTags()
`CfnRule.EcsParametersProperty.EnableECSManagedTags`.
|
default Object |
getEnableExecuteCommand()
`CfnRule.EcsParametersProperty.EnableExecuteCommand`.
|
default String |
getGroup()
`CfnRule.EcsParametersProperty.Group`.
|
default String |
getLaunchType()
`CfnRule.EcsParametersProperty.LaunchType`.
|
default Object |
getNetworkConfiguration()
`CfnRule.EcsParametersProperty.NetworkConfiguration`.
|
default Object |
getPlacementConstraints()
`CfnRule.EcsParametersProperty.PlacementConstraints`.
|
default Object |
getPlacementStrategies()
`CfnRule.EcsParametersProperty.PlacementStrategies`.
|
default String |
getPlatformVersion()
`CfnRule.EcsParametersProperty.PlatformVersion`.
|
default String |
getPropagateTags()
`CfnRule.EcsParametersProperty.PropagateTags`.
|
default String |
getReferenceId()
`CfnRule.EcsParametersProperty.ReferenceId`.
|
default Object |
getTagList()
`CfnRule.EcsParametersProperty.TagList`.
|
default Number |
getTaskCount()
`CfnRule.EcsParametersProperty.TaskCount`.
|
String |
getTaskDefinitionArn()
`CfnRule.EcsParametersProperty.TaskDefinitionArn`.
|
@Stability(value=Stable) @Nullable default Object getCapacityProviderStrategy()
@Stability(value=Stable) @Nullable default Object getEnableEcsManagedTags()
@Stability(value=Stable) @Nullable default Object getEnableExecuteCommand()
@Stability(value=Stable) @Nullable default String getGroup()
@Stability(value=Stable) @Nullable default String getLaunchType()
@Stability(value=Stable) @Nullable default Object getNetworkConfiguration()
@Stability(value=Stable) @Nullable default Object getPlacementConstraints()
@Stability(value=Stable) @Nullable default Object getPlacementStrategies()
@Stability(value=Stable) @Nullable default String getPlatformVersion()
@Stability(value=Stable) @Nullable default String getPropagateTags()
@Stability(value=Stable) @Nullable default String getReferenceId()
@Stability(value=Stable) @Nullable default Object getTagList()
@Stability(value=Stable) @Nullable default Number getTaskCount()
@Stability(value=Stable) @NotNull String getTaskDefinitionArn()
@Stability(value=Stable) static CfnRule.EcsParametersProperty.Builder builder()
Copyright © 2021. All rights reserved.