Package com.pulumi.aws.ecs.inputs
Class GetTaskExecutionArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.InvokeArgs
-
- com.pulumi.aws.ecs.inputs.GetTaskExecutionArgs
-
public final class GetTaskExecutionArgs extends com.pulumi.resources.InvokeArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetTaskExecutionArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static GetTaskExecutionArgsEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetTaskExecutionArgs.Builderbuilder()static GetTaskExecutionArgs.Builderbuilder(GetTaskExecutionArgs defaults)java.util.Optional<com.pulumi.core.Output<java.util.List<GetTaskExecutionCapacityProviderStrategyArgs>>>capacityProviderStrategies()java.util.Optional<com.pulumi.core.Output<java.lang.String>>clientToken()com.pulumi.core.Output<java.lang.String>cluster()java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>desiredCount()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>enableEcsManagedTags()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>enableExecuteCommand()java.util.Optional<com.pulumi.core.Output<java.lang.String>>group()java.util.Optional<com.pulumi.core.Output<java.lang.String>>launchType()java.util.Optional<com.pulumi.core.Output<GetTaskExecutionNetworkConfigurationArgs>>networkConfiguration()java.util.Optional<com.pulumi.core.Output<GetTaskExecutionOverridesArgs>>overrides()java.util.Optional<com.pulumi.core.Output<java.util.List<GetTaskExecutionPlacementConstraintArgs>>>placementConstraints()java.util.Optional<com.pulumi.core.Output<java.util.List<GetTaskExecutionPlacementStrategyArgs>>>placementStrategies()java.util.Optional<com.pulumi.core.Output<java.lang.String>>platformVersion()java.util.Optional<com.pulumi.core.Output<java.lang.String>>propagateTags()java.util.Optional<com.pulumi.core.Output<java.lang.String>>referenceId()java.util.Optional<com.pulumi.core.Output<java.lang.String>>region()java.util.Optional<com.pulumi.core.Output<java.lang.String>>startedBy()java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>>tags()com.pulumi.core.Output<java.lang.String>taskDefinition()
-
-
-
Field Detail
-
Empty
public static final GetTaskExecutionArgs Empty
-
-
Method Detail
-
capacityProviderStrategies
public java.util.Optional<com.pulumi.core.Output<java.util.List<GetTaskExecutionCapacityProviderStrategyArgs>>> capacityProviderStrategies()
- Returns:
- Set of capacity provider strategies to use for the cluster. See below.
-
clientToken
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> clientToken()
- Returns:
- 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).
-
cluster
public com.pulumi.core.Output<java.lang.String> cluster()
- Returns:
- Short name or full ARN of the cluster to run the task on.
-
desiredCount
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> desiredCount()
- Returns:
- Number of instantiations of the specified task to place on your cluster. You can specify up to 10 tasks for each call.
-
enableEcsManagedTags
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enableEcsManagedTags()
- Returns:
- Whether to enable Amazon ECS managed tags for the tasks within the service.
-
enableExecuteCommand
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enableExecuteCommand()
- Returns:
- Whether to enable Amazon ECS Exec for the tasks within the service.
-
group
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> group()
- Returns:
- Name of the task group to associate with the task. The default value is the family name of the task definition.
-
launchType
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> launchType()
- Returns:
- Launch type on which to run your service. Valid values are `EC2`, `FARGATE`, and `EXTERNAL`.
-
networkConfiguration
public java.util.Optional<com.pulumi.core.Output<GetTaskExecutionNetworkConfigurationArgs>> networkConfiguration()
- Returns:
- 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.
-
overrides
public java.util.Optional<com.pulumi.core.Output<GetTaskExecutionOverridesArgs>> overrides()
- Returns:
- List of container overrides that specify the name of a container in the specified task definition and the overrides it should receive.
-
placementConstraints
public java.util.Optional<com.pulumi.core.Output<java.util.List<GetTaskExecutionPlacementConstraintArgs>>> placementConstraints()
- Returns:
- Array of placement constraint objects to use for the task. You can specify up to 10 constraints for each task. See below.
-
placementStrategies
public java.util.Optional<com.pulumi.core.Output<java.util.List<GetTaskExecutionPlacementStrategyArgs>>> placementStrategies()
- Returns:
- Placement strategy objects to use for the task. You can specify a maximum of 5 strategy rules for each task. See below.
-
platformVersion
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> platformVersion()
- Returns:
- 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.
-
propagateTags
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> propagateTags()
- Returns:
- 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`.
-
referenceId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> referenceId()
- Returns:
- Reference ID to use for the task.
-
region
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
- Returns:
- 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.
-
startedBy
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> startedBy()
- Returns:
- Optional tag specified when a task is started.
-
tags
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- 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.
-
taskDefinition
public com.pulumi.core.Output<java.lang.String> taskDefinition()
- Returns:
- 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:
-
builder
public static GetTaskExecutionArgs.Builder builder()
-
builder
public static GetTaskExecutionArgs.Builder builder(GetTaskExecutionArgs defaults)
-
-