libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation
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.CloudFormation.Types.Tag

Description

 
Synopsis

Documentation

data Tag Source #

The Tag type enables you to specify a key-value pair that can be used to store information about an CloudFormation stack.

See: newTag smart constructor.

Constructors

Tag' 

Fields

  • key :: Text

    Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (Amazon Web Services) have the reserved prefix: aws:.

  • value :: Text

    Required. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.

Instances

Instances details
Eq Tag Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Tag

Methods

(==) :: Tag -> Tag -> Bool #

(/=) :: Tag -> Tag -> Bool #

Read Tag Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

Generic Tag Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

NFData Tag Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Tag

Methods

rnf :: Tag -> () #

Hashable Tag Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

ToQuery Tag Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Tag

Methods

toQuery :: Tag -> QueryString #

FromXML Tag Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Tag

Methods

parseXML :: [Node] -> Either String Tag #

type Rep Tag Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.CloudFormation.Types.Tag" "libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTag Source #

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 - Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (Amazon Web Services) have the reserved prefix: aws:.

$sel:value:Tag', tag_value - Required. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.

tag_key :: Lens' Tag Text Source #

Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (Amazon Web Services) have the reserved prefix: aws:.

tag_value :: Lens' Tag Text Source #

Required. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.