@Stability(value=Stable) public static final class CfnTaskSetProps.Builder extends Object implements software.amazon.jsii.Builder<CfnTaskSetProps>
CfnTaskSetProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnTaskSetProps.Builder cluster(String cluster)
CfnTaskSetProps.getCluster()cluster - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in. This parameter is required.this@Stability(value=Stable) public CfnTaskSetProps.Builder service(String service)
CfnTaskSetProps.getService()service - The short name or full Amazon Resource Name (ARN) of the service to create the task set in. This parameter is required.this@Stability(value=Stable) public CfnTaskSetProps.Builder taskDefinition(String taskDefinition)
CfnTaskSetProps.getTaskDefinition()taskDefinition - The task definition for the tasks in the task set to use. This parameter is required.this@Stability(value=Stable) public CfnTaskSetProps.Builder externalId(String externalId)
CfnTaskSetProps.getExternalId()externalId - An 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_ID AWS Cloud Map attribute set to the provided value.this@Stability(value=Stable) public CfnTaskSetProps.Builder launchType(String launchType)
CfnTaskSetProps.getLaunchType()launchType - The 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 launchType is specified, the capacityProviderStrategy parameter must be omitted.
this@Stability(value=Stable) public CfnTaskSetProps.Builder loadBalancers(IResolvable loadBalancers)
CfnTaskSetProps.getLoadBalancers()loadBalancers - A 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.this@Stability(value=Stable) public CfnTaskSetProps.Builder loadBalancers(List<? extends Object> loadBalancers)
CfnTaskSetProps.getLoadBalancers()loadBalancers - A 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.this@Stability(value=Stable) public CfnTaskSetProps.Builder networkConfiguration(CfnTaskSet.NetworkConfigurationProperty networkConfiguration)
CfnTaskSetProps.getNetworkConfiguration()networkConfiguration - The network configuration for the task set.this@Stability(value=Stable) public CfnTaskSetProps.Builder networkConfiguration(IResolvable networkConfiguration)
CfnTaskSetProps.getNetworkConfiguration()networkConfiguration - The network configuration for the task set.this@Stability(value=Stable) public CfnTaskSetProps.Builder platformVersion(String platformVersion)
CfnTaskSetProps.getPlatformVersion()platformVersion - The 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 LATEST platform version is used.this@Stability(value=Stable) public CfnTaskSetProps.Builder scale(CfnTaskSet.ScaleProperty scale)
CfnTaskSetProps.getScale()scale - A floating-point percentage of your desired number of tasks to place and keep running in the task set.this@Stability(value=Stable) public CfnTaskSetProps.Builder scale(IResolvable scale)
CfnTaskSetProps.getScale()scale - A floating-point percentage of your desired number of tasks to place and keep running in the task set.this@Stability(value=Stable) public CfnTaskSetProps.Builder serviceRegistries(IResolvable serviceRegistries)
CfnTaskSetProps.getServiceRegistries()serviceRegistries - The details of the service discovery registries to assign to this task set.
For more information, see Service discovery .this@Stability(value=Stable) public CfnTaskSetProps.Builder serviceRegistries(List<? extends Object> serviceRegistries)
CfnTaskSetProps.getServiceRegistries()serviceRegistries - The details of the service discovery registries to assign to this task set.
For more information, see Service discovery .this@Stability(value=Stable) public CfnTaskSetProps build()
build in interface software.amazon.jsii.Builder<CfnTaskSetProps>CfnTaskSetPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.