Class CapacityTaskState


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

      • assetId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> assetId()
        Returns:
        ID of a specific Outposts asset (hardware server) to target for the capacity task. If omitted, AWS selects an appropriate asset automatically. Discover valid asset IDs with the `aws.outposts.getAssets` data source. Changing this value forces a new resource.
      • capacityTaskId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> capacityTaskId()
        Returns:
        ID assigned by AWS to the capacity task (for example, `cap-1a2b3c4d5e6f7g8h9`).
      • completionDate

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> completionDate()
        Returns:
        RFC 3339 timestamp at which the capacity task reached a terminal state (if any).
      • creationDate

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> creationDate()
        Returns:
        RFC 3339 timestamp at which the capacity task was created.
      • failureReason

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> failureReason()
        Returns:
        Human-readable reason reported by AWS when the capacity task failed. `null` unless the terminal state is `FAILED`.
      • instancePools

        public java.util.Optional<com.pulumi.core.Output<java.util.List<CapacityTaskInstancePoolArgs>>> instancePools()
        Returns:
        One or more `instancePool` blocks defining the desired instance-type layout for the Outpost. See below. At least one block is required. Changing any value forces a new resource.
      • instancesToExclude

        public java.util.Optional<com.pulumi.core.Output<CapacityTaskInstancesToExcludeArgs>> instancesToExclude()
        Returns:
        Single `instancesToExclude` block specifying user-owned running instances that must not be stopped to free up capacity. See below. Note: AWS does not return this value via the Get/Describe API; after import, you must add the block back to your configuration manually — see Import.
      • orderId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> orderId()
        Returns:
        ID of the Amazon Web Services Outposts order associated with the capacity task. Changing this value forces a new resource.
      • outpostIdentifier

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> outpostIdentifier()
        Returns:
        ID or ARN of the Outpost on which to run the capacity task. Both forms are accepted; the provider normalizes the value internally. Changing this value forces a new resource.
      • 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.
      • status

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> status()
        Returns:
        Current status of the capacity task. One of `REQUESTED`, `IN_PROGRESS`, `WAITING_FOR_EVACUATION`, `CANCELLATION_IN_PROGRESS`, `COMPLETED`, `CANCELLED`, or `FAILED`. See the [AWS documentation](https://docs.aws.amazon.com/outposts/latest/APIReference/API_GetCapacityTask.html) for semantics.
      • taskActionOnBlockingInstances

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> taskActionOnBlockingInstances()
        Returns:
        Action to take if running instances block the capacity task. Valid values are `WAIT_FOR_EVACUATION` and `FAIL_TASK`. Changing this value forces a new resource.
      • timeouts

        public java.util.Optional<com.pulumi.core.Output<CapacityTaskTimeoutsArgs>> timeouts()
        Returns:
        Configuration block with timeouts. See below.