Class GetTaskExecutionPlainArgs


  • public final class GetTaskExecutionPlainArgs
    extends com.pulumi.resources.InvokeArgs
    • Method Detail

      • capacityProviderStrategies

        public java.util.Optional<java.util.List<GetTaskExecutionCapacityProviderStrategy>> capacityProviderStrategies()
        Returns:
        Set of capacity provider strategies to use for the cluster. See below.
      • clientToken

        public java.util.Optional<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 java.lang.String cluster()
        Returns:
        Short name or full ARN of the cluster to run the task on.
      • desiredCount

        public java.util.Optional<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<java.lang.Boolean> enableEcsManagedTags()
        Returns:
        Whether to enable Amazon ECS managed tags for the tasks within the service.
      • enableExecuteCommand

        public java.util.Optional<java.lang.Boolean> enableExecuteCommand()
        Returns:
        Whether to enable Amazon ECS Exec for the tasks within the service.
      • group

        public java.util.Optional<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<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<GetTaskExecutionNetworkConfiguration> 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<GetTaskExecutionOverrides> 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<java.util.List<GetTaskExecutionPlacementConstraint>> 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<java.util.List<GetTaskExecutionPlacementStrategy>> 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<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<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<java.lang.String> referenceId()
        Returns:
        Reference ID to use for the task.
      • region

        public java.util.Optional<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<java.lang.String> startedBy()
        Returns:
        Optional tag specified when a task is started.
      • tags

        public java.util.Optional<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 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: