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:
        ARN that identifies the task set.
      • capacityProviderStrategies

        public java.util.Optional<com.pulumi.core.Output<java.util.List<TaskSetCapacityProviderStrategyArgs>>> capacityProviderStrategies()
        Returns:
        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:
        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:
        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:
        Launch type on which to run your service. 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:
        Network configuration for the service. Required for task definitions that use the `awsvpc` network mode to receive their own Elastic Network Interface, and not supported for other network modes. Detailed below.
      • platformVersion

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> platformVersion()
        Returns:
        Platform version on which to run your service. Only applicable for `launchType` 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).
      • 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.
      • scale

        public java.util.Optional<com.pulumi.core.Output<TaskSetScaleArgs>> scale()
        Returns:
        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:
        Short name or ARN of the ECS service.
      • serviceRegistries

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

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

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

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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> taskSetId()
        Returns:
        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`.