amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.Types.IpamResourceTag

Description

 
Synopsis

Documentation

data IpamResourceTag Source #

The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

See: newIpamResourceTag smart constructor.

Constructors

IpamResourceTag' 

Fields

  • key :: Maybe Text

    The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • value :: Maybe Text

    The value of the tag.

Instances

Instances details
FromXML IpamResourceTag Source # 
Instance details

Defined in Amazonka.EC2.Types.IpamResourceTag

Generic IpamResourceTag Source # 
Instance details

Defined in Amazonka.EC2.Types.IpamResourceTag

Associated Types

type Rep IpamResourceTag :: Type -> Type #

Read IpamResourceTag Source # 
Instance details

Defined in Amazonka.EC2.Types.IpamResourceTag

Show IpamResourceTag Source # 
Instance details

Defined in Amazonka.EC2.Types.IpamResourceTag

NFData IpamResourceTag Source # 
Instance details

Defined in Amazonka.EC2.Types.IpamResourceTag

Methods

rnf :: IpamResourceTag -> () #

Eq IpamResourceTag Source # 
Instance details

Defined in Amazonka.EC2.Types.IpamResourceTag

Hashable IpamResourceTag Source # 
Instance details

Defined in Amazonka.EC2.Types.IpamResourceTag

type Rep IpamResourceTag Source # 
Instance details

Defined in Amazonka.EC2.Types.IpamResourceTag

type Rep IpamResourceTag = D1 ('MetaData "IpamResourceTag" "Amazonka.EC2.Types.IpamResourceTag" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "IpamResourceTag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newIpamResourceTag :: IpamResourceTag Source #

Create a value of IpamResourceTag 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:

IpamResourceTag, ipamResourceTag_key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

IpamResourceTag, ipamResourceTag_value - The value of the tag.

ipamResourceTag_key :: Lens' IpamResourceTag (Maybe Text) Source #

The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.