Class TaskSetState


  • public final class TaskSetState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • arn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
        Returns:
        The Amazon Resource Name (ARN) that identifies the task set.
      • capacityProviderStrategies

        public java.util.Optional<com.pulumi.core.Output<java.util.List<TaskSetCapacityProviderStrategyArgs>>> capacityProviderStrategies()
        Returns:
        The capacity provider strategy to use for the service. Can be one or more. Defined below.
      • cluster

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> cluster()
        Returns:
        The short name or ARN of the cluster that hosts the service to create the task set in.
      • externalId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> externalId()
        Returns:
        The external ID associated with the task set.
      • forceDelete

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> forceDelete()
        Returns:
        Whether to allow deleting the task set without waiting for scaling down to 0. You can force a task set to delete even if it's in the process of scaling a resource. Normally, the provider drains all the tasks before deleting the task set. This bypasses that behavior and potentially leaves resources dangling.
      • launchType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> launchType()
        Returns:
        The launch type on which to run your service. The valid values are `EC2`, `FARGATE`, and `EXTERNAL`. Defaults to `EC2`.
      • loadBalancers

        public java.util.Optional<com.pulumi.core.Output<java.util.List<TaskSetLoadBalancerArgs>>> loadBalancers()
        Returns:
        Details on load balancers that are used with a task set. Detailed below.
      • networkConfiguration

        public java.util.Optional<com.pulumi.core.Output<TaskSetNetworkConfigurationArgs>> networkConfiguration()
        Returns:
        The 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. Detailed below.
      • platformVersion

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> platformVersion()
        Returns:
        The platform version on which to run your service. Only applicable for `launch_type` set to `FARGATE`. Defaults to `LATEST`. More information about Fargate platform versions can be found in the [AWS ECS User Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html).
      • scale

        public java.util.Optional<com.pulumi.core.Output<TaskSetScaleArgs>> scale()
        Returns:
        A floating-point percentage of the desired number of tasks to place and keep running in the task set. Detailed below.
      • service

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> service()
        Returns:
        The short name or ARN of the ECS service.
      • serviceRegistries

        public java.util.Optional<com.pulumi.core.Output<TaskSetServiceRegistriesArgs>> serviceRegistries()
        Returns:
        The service discovery registries for the service. The maximum number of `service_registries` blocks is `1`. Detailed below.
      • stabilityStatus

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> stabilityStatus()
        Returns:
        The stability status. This indicates whether the task set has reached a steady state.
      • status

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> status()
        Returns:
        The status of the task set.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        A map of tags to assign to the file system. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. If you have set `copy_tags_to_backups` to true, and you specify one or more tags, no existing file system tags are copied from the file system to the backup.
      • tagsAll

        @Deprecated
        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tagsAll()
        Deprecated.
        Please use `tags` instead.
        Returns:
        A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
      • taskDefinition

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> taskDefinition()
        Returns:
        The family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. The following arguments are optional:
      • taskSetId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> taskSetId()
        Returns:
        The ID of the task set.
      • waitUntilStable

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> waitUntilStable()
        Returns:
        Whether the provider should wait until the task set has reached `STEADY_STATE`.
      • waitUntilStableTimeout

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> waitUntilStableTimeout()
        Returns:
        Wait timeout for task set to reach `STEADY_STATE`. Valid time units include `ns`, `us` (or `µs`), `ms`, `s`, `m`, and `h`. Default `10m`.