Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.AutoScaling.Types.TagDescription
Description
Synopsis
- data TagDescription = TagDescription' {
- resourceId :: Text
- resourceType :: Text
- key :: Text
- propagateAtLaunch :: Bool
- value :: Text
- newTagDescription :: Text -> Text -> Text -> Bool -> Text -> TagDescription
- tagDescription_resourceId :: Lens' TagDescription Text
- tagDescription_resourceType :: Lens' TagDescription Text
- tagDescription_key :: Lens' TagDescription Text
- tagDescription_propagateAtLaunch :: Lens' TagDescription Bool
- tagDescription_value :: Lens' TagDescription Text
Documentation
data TagDescription Source #
Describes a tag for an Auto Scaling group.
See: newTagDescription
smart constructor.
Constructors
TagDescription' | |
Fields
|
Instances
Create a value of TagDescription
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:resourceId:TagDescription'
, tagDescription_resourceId
- The name of the group.
$sel:resourceType:TagDescription'
, tagDescription_resourceType
- The type of resource. The only supported value is auto-scaling-group
.
$sel:key:TagDescription'
, tagDescription_key
- The tag key.
$sel:propagateAtLaunch:TagDescription'
, tagDescription_propagateAtLaunch
- Determines whether the tag is added to new instances as they are
launched in the group.
$sel:value:TagDescription'
, tagDescription_value
- The tag value.
tagDescription_resourceId :: Lens' TagDescription Text Source #
The name of the group.
tagDescription_resourceType :: Lens' TagDescription Text Source #
The type of resource. The only supported value is auto-scaling-group
.
tagDescription_key :: Lens' TagDescription Text Source #
The tag key.
tagDescription_propagateAtLaunch :: Lens' TagDescription Bool Source #
Determines whether the tag is added to new instances as they are launched in the group.
tagDescription_value :: Lens' TagDescription Text Source #
The tag value.