Interface CfnTaskSetProps
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- CfnTaskSetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
           date="2023-06-19T16:30:47.237Z")
@Stability(Stable)
public interface CfnTaskSetProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a 
CfnTaskSet.
 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();
 - 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTaskSetPropsstatic final classAn implementation forCfnTaskSetProps
- 
Method SummaryModifier and TypeMethodDescriptionstatic CfnTaskSetProps.Builderbuilder()The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.default StringAn optional non-unique tag that identifies this task set in external systems.default StringThe launch type that new tasks in the task set uses.default ObjectA load balancer object representing the load balancer to use with the task set.default ObjectThe network configuration for the task set.default StringThe platform version that the tasks in the task set uses.default ObjectgetScale()A floating-point percentage of your desired number of tasks to place and keep running in the task set.The short name or full Amazon Resource Name (ARN) of the service to create the task set in.default ObjectThe details of the service discovery registries to assign to this task set.The task definition for the tasks in the task set to use.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getClusterThe short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.
- 
getServiceThe short name or full Amazon Resource Name (ARN) of the service to create the task set in.
- 
getTaskDefinitionThe task definition for the tasks in the task set to use.
- 
getExternalIdAn optional non-unique tag that identifies this task set in external systems.If the task set is associated with a service discovery registry, the tasks in this task set will have the ECS_TASK_SET_EXTERNAL_IDAWS Cloud Map attribute set to the provided value.
- 
getLaunchTypeThe launch type that new tasks in the task set uses.For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide . If a launchTypeis specified, thecapacityProviderStrategyparameter must be omitted.
- 
getLoadBalancersA load balancer object representing the load balancer to use with the task set.The supported load balancer types are either an Application Load Balancer or a Network Load Balancer. 
- 
getNetworkConfigurationThe network configuration for the task set.
- 
getPlatformVersionThe platform version that the tasks in the task set uses.A platform version is specified only for tasks using the Fargate launch type. If one isn't specified, the LATESTplatform version is used.
- 
getScaleA floating-point percentage of your desired number of tasks to place and keep running in the task set.
- 
getServiceRegistriesThe details of the service discovery registries to assign to this task set.For more information, see Service discovery . 
- 
builder- Returns:
- a CfnTaskSetProps.BuilderofCfnTaskSetProps
 
 
-