Package com.pulumi.aws.ecs.inputs
Class GetTaskExecutionPlainArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.ecs.inputs.GetTaskExecutionPlainArgs.Builder
-
- Enclosing class:
- GetTaskExecutionPlainArgs
public static final class GetTaskExecutionPlainArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GetTaskExecutionPlainArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetTaskExecutionPlainArgs defaults)
-
-
Method Detail
-
capacityProviderStrategies
public GetTaskExecutionPlainArgs.Builder capacityProviderStrategies(@Nullable java.util.List<GetTaskExecutionCapacityProviderStrategy> capacityProviderStrategies)
- Parameters:
capacityProviderStrategies- Set of capacity provider strategies to use for the cluster. See below.- Returns:
- builder
-
capacityProviderStrategies
public GetTaskExecutionPlainArgs.Builder capacityProviderStrategies(GetTaskExecutionCapacityProviderStrategy... capacityProviderStrategies)
- Parameters:
capacityProviderStrategies- Set of capacity provider strategies to use for the cluster. See below.- Returns:
- builder
-
clientToken
public GetTaskExecutionPlainArgs.Builder clientToken(@Nullable java.lang.String clientToken)
- Parameters:
clientToken- Identifier that you provide to ensure the idempotency of the request. It must be unique and is case sensitive. Up to 64 characters are allowed. The valid characters are characters in the range of 33-126, inclusive. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/ECS_Idempotency.html).- Returns:
- builder
-
cluster
public GetTaskExecutionPlainArgs.Builder cluster(java.lang.String cluster)
- Parameters:
cluster- Short name or full ARN of the cluster to run the task on.- Returns:
- builder
-
desiredCount
public GetTaskExecutionPlainArgs.Builder desiredCount(@Nullable java.lang.Integer desiredCount)
- Parameters:
desiredCount- Number of instantiations of the specified task to place on your cluster. You can specify up to 10 tasks for each call.- Returns:
- builder
-
enableEcsManagedTags
public GetTaskExecutionPlainArgs.Builder enableEcsManagedTags(@Nullable java.lang.Boolean enableEcsManagedTags)
- Parameters:
enableEcsManagedTags- Whether to enable Amazon ECS managed tags for the tasks within the service.- Returns:
- builder
-
enableExecuteCommand
public GetTaskExecutionPlainArgs.Builder enableExecuteCommand(@Nullable java.lang.Boolean enableExecuteCommand)
- Parameters:
enableExecuteCommand- Whether to enable Amazon ECS Exec for the tasks within the service.- Returns:
- builder
-
group
public GetTaskExecutionPlainArgs.Builder group(@Nullable java.lang.String group)
- Parameters:
group- Name of the task group to associate with the task. The default value is the family name of the task definition.- Returns:
- builder
-
launchType
public GetTaskExecutionPlainArgs.Builder launchType(@Nullable java.lang.String launchType)
- Parameters:
launchType- Launch type on which to run your service. Valid values are `EC2`, `FARGATE`, and `EXTERNAL`.- Returns:
- builder
-
networkConfiguration
public GetTaskExecutionPlainArgs.Builder networkConfiguration(@Nullable GetTaskExecutionNetworkConfiguration networkConfiguration)
- Parameters:
networkConfiguration- Network configuration for the service. This parameter is required for task definitions that use the `awsvpc` network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. See below.- Returns:
- builder
-
overrides
public GetTaskExecutionPlainArgs.Builder overrides(@Nullable GetTaskExecutionOverrides overrides)
- Parameters:
overrides- List of container overrides that specify the name of a container in the specified task definition and the overrides it should receive.- Returns:
- builder
-
placementConstraints
public GetTaskExecutionPlainArgs.Builder placementConstraints(@Nullable java.util.List<GetTaskExecutionPlacementConstraint> placementConstraints)
- Parameters:
placementConstraints- Array of placement constraint objects to use for the task. You can specify up to 10 constraints for each task. See below.- Returns:
- builder
-
placementConstraints
public GetTaskExecutionPlainArgs.Builder placementConstraints(GetTaskExecutionPlacementConstraint... placementConstraints)
- Parameters:
placementConstraints- Array of placement constraint objects to use for the task. You can specify up to 10 constraints for each task. See below.- Returns:
- builder
-
placementStrategies
public GetTaskExecutionPlainArgs.Builder placementStrategies(@Nullable java.util.List<GetTaskExecutionPlacementStrategy> placementStrategies)
- Parameters:
placementStrategies- Placement strategy objects to use for the task. You can specify a maximum of 5 strategy rules for each task. See below.- Returns:
- builder
-
placementStrategies
public GetTaskExecutionPlainArgs.Builder placementStrategies(GetTaskExecutionPlacementStrategy... placementStrategies)
- Parameters:
placementStrategies- Placement strategy objects to use for the task. You can specify a maximum of 5 strategy rules for each task. See below.- Returns:
- builder
-
platformVersion
public GetTaskExecutionPlainArgs.Builder platformVersion(@Nullable java.lang.String platformVersion)
- Parameters:
platformVersion- Platform version the task uses. A platform version is only specified for tasks hosted on Fargate. If one isn't specified, the `LATEST` platform version is used.- Returns:
- builder
-
propagateTags
public GetTaskExecutionPlainArgs.Builder propagateTags(@Nullable java.lang.String propagateTags)
- Parameters:
propagateTags- Whether to propagate the tags from the task definition to the task. If no value is specified, the tags aren't propagated. An error will be received if you specify the `SERVICE` option when running a task. Valid values are `TASK_DEFINITION` or `NONE`.- Returns:
- builder
-
referenceId
public GetTaskExecutionPlainArgs.Builder referenceId(@Nullable java.lang.String referenceId)
- Parameters:
referenceId- Reference ID to use for the task.- Returns:
- builder
-
region
public GetTaskExecutionPlainArgs.Builder region(@Nullable java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
startedBy
public GetTaskExecutionPlainArgs.Builder startedBy(@Nullable java.lang.String startedBy)
- Parameters:
startedBy- Optional tag specified when a task is started.- Returns:
- builder
-
tags
public GetTaskExecutionPlainArgs.Builder tags(@Nullable java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
taskDefinition
public GetTaskExecutionPlainArgs.Builder taskDefinition(java.lang.String taskDefinition)
- Parameters:
taskDefinition- Family and revision (`family:revision`) or full ARN of the task definition to run. If a revision isn't specified, the latest `ACTIVE` revision is used. The following arguments are optional:- Returns:
- builder
-
build
public GetTaskExecutionPlainArgs build()
-
-