@Stability(value=Stable) public static final class CfnSchedule.EcsParametersProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnSchedule.EcsParametersProperty>
CfnSchedule.EcsParametersProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnSchedule.EcsParametersProperty.Builder taskDefinitionArn(String taskDefinitionArn)
CfnSchedule.EcsParametersProperty.getTaskDefinitionArn()taskDefinitionArn - The Amazon Resource Name (ARN) of the task definition to use if the event target is an Amazon ECS task. This parameter is required.this@Stability(value=Stable) public CfnSchedule.EcsParametersProperty.Builder capacityProviderStrategy(IResolvable capacityProviderStrategy)
CfnSchedule.EcsParametersProperty.getCapacityProviderStrategy()capacityProviderStrategy - The capacity provider strategy to use for the task.this@Stability(value=Stable) public CfnSchedule.EcsParametersProperty.Builder capacityProviderStrategy(List<? extends Object> capacityProviderStrategy)
CfnSchedule.EcsParametersProperty.getCapacityProviderStrategy()capacityProviderStrategy - The capacity provider strategy to use for the task.this@Stability(value=Stable) public CfnSchedule.EcsParametersProperty.Builder enableEcsManagedTags(Boolean enableEcsManagedTags)
CfnSchedule.EcsParametersProperty.getEnableEcsManagedTags()enableEcsManagedTags - Specifies whether to enable Amazon ECS managed tags for the task.
For more information, see Tagging Your Amazon ECS Resources in the Amazon ECS Developer Guide .this@Stability(value=Stable) public CfnSchedule.EcsParametersProperty.Builder enableEcsManagedTags(IResolvable enableEcsManagedTags)
CfnSchedule.EcsParametersProperty.getEnableEcsManagedTags()enableEcsManagedTags - Specifies whether to enable Amazon ECS managed tags for the task.
For more information, see Tagging Your Amazon ECS Resources in the Amazon ECS Developer Guide .this@Stability(value=Stable) public CfnSchedule.EcsParametersProperty.Builder enableExecuteCommand(Boolean enableExecuteCommand)
CfnSchedule.EcsParametersProperty.getEnableExecuteCommand()enableExecuteCommand - Whether 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.this@Stability(value=Stable) public CfnSchedule.EcsParametersProperty.Builder enableExecuteCommand(IResolvable enableExecuteCommand)
CfnSchedule.EcsParametersProperty.getEnableExecuteCommand()enableExecuteCommand - Whether 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.this@Stability(value=Stable) public CfnSchedule.EcsParametersProperty.Builder group(String group)
CfnSchedule.EcsParametersProperty.getGroup()group - Specifies an ECS task group for the task.
The maximum length is 255 characters.this@Stability(value=Stable) public CfnSchedule.EcsParametersProperty.Builder launchType(String launchType)
CfnSchedule.EcsParametersProperty.getLaunchType()launchType - Specifies 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 FARGATE value is supported only in the Regions where Fargate with Amazon ECS is supported. For more information, see AWS Fargate on Amazon ECS in the Amazon ECS Developer Guide .this@Stability(value=Stable) public CfnSchedule.EcsParametersProperty.Builder networkConfiguration(IResolvable networkConfiguration)
CfnSchedule.EcsParametersProperty.getNetworkConfiguration()networkConfiguration - This structure specifies the network configuration for an ECS task.this@Stability(value=Stable) public CfnSchedule.EcsParametersProperty.Builder networkConfiguration(CfnSchedule.NetworkConfigurationProperty networkConfiguration)
CfnSchedule.EcsParametersProperty.getNetworkConfiguration()networkConfiguration - This structure specifies the network configuration for an ECS task.this@Stability(value=Stable) public CfnSchedule.EcsParametersProperty.Builder placementConstraints(IResolvable placementConstraints)
CfnSchedule.EcsParametersProperty.getPlacementConstraints()placementConstraints - An 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).this@Stability(value=Stable) public CfnSchedule.EcsParametersProperty.Builder placementConstraints(List<? extends Object> placementConstraints)
CfnSchedule.EcsParametersProperty.getPlacementConstraints()placementConstraints - An 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).this@Stability(value=Stable) public CfnSchedule.EcsParametersProperty.Builder placementStrategy(IResolvable placementStrategy)
CfnSchedule.EcsParametersProperty.getPlacementStrategy()placementStrategy - The task placement strategy for a task or service.this@Stability(value=Stable) public CfnSchedule.EcsParametersProperty.Builder placementStrategy(List<? extends Object> placementStrategy)
CfnSchedule.EcsParametersProperty.getPlacementStrategy()placementStrategy - The task placement strategy for a task or service.this@Stability(value=Stable) public CfnSchedule.EcsParametersProperty.Builder platformVersion(String platformVersion)
CfnSchedule.EcsParametersProperty.getPlatformVersion()platformVersion - Specifies the platform version for the task.
Specify only the numeric portion of the platform version, such as 1.1.0 .this@Stability(value=Stable) public CfnSchedule.EcsParametersProperty.Builder propagateTags(String propagateTags)
CfnSchedule.EcsParametersProperty.getPropagateTags()propagateTags - Specifies 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 Amazon ECS's TagResource API action.this@Stability(value=Stable) public CfnSchedule.EcsParametersProperty.Builder referenceId(String referenceId)
CfnSchedule.EcsParametersProperty.getReferenceId()referenceId - The reference ID to use for the task.this@Stability(value=Stable) public CfnSchedule.EcsParametersProperty.Builder tags(List<? extends Object> tags)
CfnSchedule.EcsParametersProperty.getTags()tags - The 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. For more information, see RunTask in the Amazon ECS API Reference .this@Stability(value=Stable) public CfnSchedule.EcsParametersProperty.Builder taskCount(Number taskCount)
CfnSchedule.EcsParametersProperty.getTaskCount()taskCount - The number of tasks to create based on `TaskDefinition` .
The default is 1 .this@Stability(value=Stable) public CfnSchedule.EcsParametersProperty build()
build in interface software.amazon.jsii.Builder<CfnSchedule.EcsParametersProperty>CfnSchedule.EcsParametersPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.