@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:17.227Z") @Stability(value=Stable) public interface CfnTaskSetProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ecs.*;
CfnTaskSetProps cfnTaskSetProps = CfnTaskSetProps.builder()
.cluster("cluster")
.service("service")
.taskDefinition("taskDefinition")
// the properties below are optional
.externalId("externalId")
.launchType("launchType")
.loadBalancers(List.of(LoadBalancerProperty.builder()
.containerName("containerName")
.containerPort(123)
.loadBalancerName("loadBalancerName")
.targetGroupArn("targetGroupArn")
.build()))
.networkConfiguration(NetworkConfigurationProperty.builder()
.awsVpcConfiguration(AwsVpcConfigurationProperty.builder()
.subnets(List.of("subnets"))
// the properties below are optional
.assignPublicIp("assignPublicIp")
.securityGroups(List.of("securityGroups"))
.build())
.build())
.platformVersion("platformVersion")
.scale(ScaleProperty.builder()
.unit("unit")
.value(123)
.build())
.serviceRegistries(List.of(ServiceRegistryProperty.builder()
.containerName("containerName")
.containerPort(123)
.port(123)
.registryArn("registryArn")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTaskSetProps.Builder
A builder for
CfnTaskSetProps |
static class |
CfnTaskSetProps.Jsii$Proxy
An implementation for
CfnTaskSetProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnTaskSetProps.Builder |
builder() |
String |
getCluster()
`AWS::ECS::TaskSet.Cluster`.
|
default String |
getExternalId()
`AWS::ECS::TaskSet.ExternalId`.
|
default String |
getLaunchType()
`AWS::ECS::TaskSet.LaunchType`.
|
default Object |
getLoadBalancers()
`AWS::ECS::TaskSet.LoadBalancers`.
|
default Object |
getNetworkConfiguration()
`AWS::ECS::TaskSet.NetworkConfiguration`.
|
default String |
getPlatformVersion()
`AWS::ECS::TaskSet.PlatformVersion`.
|
default Object |
getScale()
`AWS::ECS::TaskSet.Scale`.
|
String |
getService()
`AWS::ECS::TaskSet.Service`.
|
default Object |
getServiceRegistries()
`AWS::ECS::TaskSet.ServiceRegistries`.
|
String |
getTaskDefinition()
`AWS::ECS::TaskSet.TaskDefinition`.
|
@Stability(value=Stable) @NotNull String getCluster()
@Stability(value=Stable) @Nullable default String getExternalId()
@Stability(value=Stable) @Nullable default String getLaunchType()
@Stability(value=Stable) @Nullable default Object getLoadBalancers()
@Stability(value=Stable) @Nullable default Object getNetworkConfiguration()
@Stability(value=Stable) @Nullable default String getPlatformVersion()
@Stability(value=Stable) @Nullable default Object getScale()
@Stability(value=Stable) @NotNull String getService()
@Stability(value=Stable) @Nullable default Object getServiceRegistries()
@Stability(value=Stable) @NotNull String getTaskDefinition()
@Stability(value=Stable) static CfnTaskSetProps.Builder builder()
CfnTaskSetProps.Builder of CfnTaskSetPropsCopyright © 2021. All rights reserved.