amazonka-wafv2-2.0: Amazon WAFV2 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.WAFV2.Types.TagInfoForResource

Description

 
Synopsis

Documentation

data TagInfoForResource Source #

The collection of tagging definitions for an Amazon Web Services resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing or other management. Typically, the tag key represents a category, such as "environment", and the tag value represents a specific value within that category, such as "test," "development," or "production". Or you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a resource.

You can tag the Amazon Web Services resources that you manage through WAF: web ACLs, rule groups, IP sets, and regex pattern sets. You can't manage or view tags through the WAF console.

See: newTagInfoForResource smart constructor.

Constructors

TagInfoForResource' 

Fields

Instances

Instances details
FromJSON TagInfoForResource Source # 
Instance details

Defined in Amazonka.WAFV2.Types.TagInfoForResource

Generic TagInfoForResource Source # 
Instance details

Defined in Amazonka.WAFV2.Types.TagInfoForResource

Associated Types

type Rep TagInfoForResource :: Type -> Type #

Read TagInfoForResource Source # 
Instance details

Defined in Amazonka.WAFV2.Types.TagInfoForResource

Show TagInfoForResource Source # 
Instance details

Defined in Amazonka.WAFV2.Types.TagInfoForResource

NFData TagInfoForResource Source # 
Instance details

Defined in Amazonka.WAFV2.Types.TagInfoForResource

Methods

rnf :: TagInfoForResource -> () #

Eq TagInfoForResource Source # 
Instance details

Defined in Amazonka.WAFV2.Types.TagInfoForResource

Hashable TagInfoForResource Source # 
Instance details

Defined in Amazonka.WAFV2.Types.TagInfoForResource

type Rep TagInfoForResource Source # 
Instance details

Defined in Amazonka.WAFV2.Types.TagInfoForResource

type Rep TagInfoForResource = D1 ('MetaData "TagInfoForResource" "Amazonka.WAFV2.Types.TagInfoForResource" "amazonka-wafv2-2.0-3v3WgpYn7RT5hSd6MsT5dN" 'False) (C1 ('MetaCons "TagInfoForResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tagList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Tag)))))

newTagInfoForResource :: TagInfoForResource Source #

Create a value of TagInfoForResource 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:resourceARN:TagInfoForResource', tagInfoForResource_resourceARN - The Amazon Resource Name (ARN) of the resource.

$sel:tagList:TagInfoForResource', tagInfoForResource_tagList - The array of Tag objects defined for the resource.

tagInfoForResource_resourceARN :: Lens' TagInfoForResource (Maybe Text) Source #

The Amazon Resource Name (ARN) of the resource.

tagInfoForResource_tagList :: Lens' TagInfoForResource (Maybe (NonEmpty Tag)) Source #

The array of Tag objects defined for the resource.