amazonka-ecs-2.0: Amazon EC2 Container Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ECS.Types.CapacityProvider

Description

 
Synopsis

Documentation

data CapacityProvider Source #

The details for a capacity provider.

See: newCapacityProvider smart constructor.

Constructors

CapacityProvider' 

Fields

  • autoScalingGroupProvider :: Maybe AutoScalingGroupProvider

    The Auto Scaling group settings for the capacity provider.

  • capacityProviderArn :: Maybe Text

    The Amazon Resource Name (ARN) that identifies the capacity provider.

  • name :: Maybe Text

    The name of the capacity provider.

  • status :: Maybe CapacityProviderStatus

    The current status of the capacity provider. Only capacity providers in an ACTIVE state can be used in a cluster. When a capacity provider is successfully deleted, it has an INACTIVE status.

  • tags :: Maybe [Tag]

    The metadata that you apply to the capacity provider to help you categorize and organize it. Each tag consists of a key and an optional value. You define both.

    The following basic restrictions apply to tags:

    • Maximum number of tags per resource - 50
    • For each resource, each tag key must be unique, and each tag key can have only one value.
    • Maximum key length - 128 Unicode characters in UTF-8
    • Maximum value length - 256 Unicode characters in UTF-8
    • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
    • Tag keys and values are case-sensitive.
    • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
  • updateStatus :: Maybe CapacityProviderUpdateStatus

    The update status of the capacity provider. The following are the possible states that is returned.

    DELETE_IN_PROGRESS
    The capacity provider is in the process of being deleted.
    DELETE_COMPLETE
    The capacity provider was successfully deleted and has an INACTIVE status.
    DELETE_FAILED
    The capacity provider can't be deleted. The update status reason provides further details about why the delete failed.
  • updateStatusReason :: Maybe Text

    The update status reason. This provides further details about the update status for the capacity provider.

Instances

Instances details
FromJSON CapacityProvider Source # 
Instance details

Defined in Amazonka.ECS.Types.CapacityProvider

Generic CapacityProvider Source # 
Instance details

Defined in Amazonka.ECS.Types.CapacityProvider

Associated Types

type Rep CapacityProvider :: Type -> Type #

Read CapacityProvider Source # 
Instance details

Defined in Amazonka.ECS.Types.CapacityProvider

Show CapacityProvider Source # 
Instance details

Defined in Amazonka.ECS.Types.CapacityProvider

NFData CapacityProvider Source # 
Instance details

Defined in Amazonka.ECS.Types.CapacityProvider

Methods

rnf :: CapacityProvider -> () #

Eq CapacityProvider Source # 
Instance details

Defined in Amazonka.ECS.Types.CapacityProvider

Hashable CapacityProvider Source # 
Instance details

Defined in Amazonka.ECS.Types.CapacityProvider

type Rep CapacityProvider Source # 
Instance details

Defined in Amazonka.ECS.Types.CapacityProvider

newCapacityProvider :: CapacityProvider Source #

Create a value of CapacityProvider with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:autoScalingGroupProvider:CapacityProvider', capacityProvider_autoScalingGroupProvider - The Auto Scaling group settings for the capacity provider.

$sel:capacityProviderArn:CapacityProvider', capacityProvider_capacityProviderArn - The Amazon Resource Name (ARN) that identifies the capacity provider.

$sel:name:CapacityProvider', capacityProvider_name - The name of the capacity provider.

$sel:status:CapacityProvider', capacityProvider_status - The current status of the capacity provider. Only capacity providers in an ACTIVE state can be used in a cluster. When a capacity provider is successfully deleted, it has an INACTIVE status.

$sel:tags:CapacityProvider', capacityProvider_tags - The metadata that you apply to the capacity provider to help you categorize and organize it. Each tag consists of a key and an optional value. You define both.

The following basic restrictions apply to tags:

  • Maximum number of tags per resource - 50
  • For each resource, each tag key must be unique, and each tag key can have only one value.
  • Maximum key length - 128 Unicode characters in UTF-8
  • Maximum value length - 256 Unicode characters in UTF-8
  • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
  • Tag keys and values are case-sensitive.
  • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

$sel:updateStatus:CapacityProvider', capacityProvider_updateStatus - The update status of the capacity provider. The following are the possible states that is returned.

DELETE_IN_PROGRESS
The capacity provider is in the process of being deleted.
DELETE_COMPLETE
The capacity provider was successfully deleted and has an INACTIVE status.
DELETE_FAILED
The capacity provider can't be deleted. The update status reason provides further details about why the delete failed.

$sel:updateStatusReason:CapacityProvider', capacityProvider_updateStatusReason - The update status reason. This provides further details about the update status for the capacity provider.

capacityProvider_autoScalingGroupProvider :: Lens' CapacityProvider (Maybe AutoScalingGroupProvider) Source #

The Auto Scaling group settings for the capacity provider.

capacityProvider_capacityProviderArn :: Lens' CapacityProvider (Maybe Text) Source #

The Amazon Resource Name (ARN) that identifies the capacity provider.

capacityProvider_name :: Lens' CapacityProvider (Maybe Text) Source #

The name of the capacity provider.

capacityProvider_status :: Lens' CapacityProvider (Maybe CapacityProviderStatus) Source #

The current status of the capacity provider. Only capacity providers in an ACTIVE state can be used in a cluster. When a capacity provider is successfully deleted, it has an INACTIVE status.

capacityProvider_tags :: Lens' CapacityProvider (Maybe [Tag]) Source #

The metadata that you apply to the capacity provider to help you categorize and organize it. Each tag consists of a key and an optional value. You define both.

The following basic restrictions apply to tags:

  • Maximum number of tags per resource - 50
  • For each resource, each tag key must be unique, and each tag key can have only one value.
  • Maximum key length - 128 Unicode characters in UTF-8
  • Maximum value length - 256 Unicode characters in UTF-8
  • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
  • Tag keys and values are case-sensitive.
  • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

capacityProvider_updateStatus :: Lens' CapacityProvider (Maybe CapacityProviderUpdateStatus) Source #

The update status of the capacity provider. The following are the possible states that is returned.

DELETE_IN_PROGRESS
The capacity provider is in the process of being deleted.
DELETE_COMPLETE
The capacity provider was successfully deleted and has an INACTIVE status.
DELETE_FAILED
The capacity provider can't be deleted. The update status reason provides further details about why the delete failed.

capacityProvider_updateStatusReason :: Lens' CapacityProvider (Maybe Text) Source #

The update status reason. This provides further details about the update status for the capacity provider.