Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ResourceTag = ResourceTag' {}
- newResourceTag :: Text -> ResourceTag
- resourceTag_value :: Lens' ResourceTag (Maybe Text)
- resourceTag_key :: Lens' ResourceTag Text
Documentation
data ResourceTag Source #
The resource tags that Firewall Manager uses to determine if a particular resource should be included or excluded from the Firewall Manager policy. Tags enable you to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value. Firewall Manager combines the tags with "AND" so that, if you add more than one tag to a policy scope, a resource must have all the specified tags to be included or excluded. For more information, see Working with Tag Editor.
See: newResourceTag
smart constructor.
Instances
Create a value of ResourceTag
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:value:ResourceTag'
, resourceTag_value
- The resource tag value.
$sel:key:ResourceTag'
, resourceTag_key
- The resource tag key.
resourceTag_value :: Lens' ResourceTag (Maybe Text) Source #
The resource tag value.
resourceTag_key :: Lens' ResourceTag Text Source #
The resource tag key.