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.Tag
Description
Synopsis
- data Tag = Tag' {
- key :: Text
- resourceId :: Text
- resourceType :: Text
- propagateAtLaunch :: Bool
- value :: Text
- newTag :: Text -> Text -> Text -> Bool -> Text -> Tag
- tag_key :: Lens' Tag Text
- tag_resourceId :: Lens' Tag Text
- tag_resourceType :: Lens' Tag Text
- tag_propagateAtLaunch :: Lens' Tag Bool
- tag_value :: Lens' Tag Text
Documentation
Describes a tag for an Auto Scaling group.
See: newTag
smart constructor.
Constructors
Tag' | |
Fields
|
Instances
Create a value of Tag
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:key:Tag'
, tag_key
- The tag key.
$sel:resourceId:Tag'
, tag_resourceId
- The name of the Auto Scaling group.
$sel:resourceType:Tag'
, tag_resourceType
- The type of resource. The only supported value is auto-scaling-group
.
$sel:propagateAtLaunch:Tag'
, tag_propagateAtLaunch
- Determines whether the tag is added to new instances as they are
launched in the group.
$sel:value:Tag'
, tag_value
- The tag value.
tag_resourceType :: Lens' Tag Text Source #
The type of resource. The only supported value is auto-scaling-group
.