libZSservicesZSamazonka-fmsZSamazonka-fms
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.FMS.Types.ResourceTag

Description

 
Synopsis

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.

Constructors

ResourceTag' 

Fields

Instances

Instances details
Eq ResourceTag Source # 
Instance details

Defined in Amazonka.FMS.Types.ResourceTag

Read ResourceTag Source # 
Instance details

Defined in Amazonka.FMS.Types.ResourceTag

Show ResourceTag Source # 
Instance details

Defined in Amazonka.FMS.Types.ResourceTag

Generic ResourceTag Source # 
Instance details

Defined in Amazonka.FMS.Types.ResourceTag

Associated Types

type Rep ResourceTag :: Type -> Type #

NFData ResourceTag Source # 
Instance details

Defined in Amazonka.FMS.Types.ResourceTag

Methods

rnf :: ResourceTag -> () #

Hashable ResourceTag Source # 
Instance details

Defined in Amazonka.FMS.Types.ResourceTag

ToJSON ResourceTag Source # 
Instance details

Defined in Amazonka.FMS.Types.ResourceTag

FromJSON ResourceTag Source # 
Instance details

Defined in Amazonka.FMS.Types.ResourceTag

type Rep ResourceTag Source # 
Instance details

Defined in Amazonka.FMS.Types.ResourceTag

type Rep ResourceTag = D1 ('MetaData "ResourceTag" "Amazonka.FMS.Types.ResourceTag" "libZSservicesZSamazonka-fmsZSamazonka-fms" 'False) (C1 ('MetaCons "ResourceTag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newResourceTag Source #

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.