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.TagSpecification

Description

 
Synopsis

Documentation

data TagSpecification Source #

The tags to apply to a resource when the resource is being created.

The Valid Values lists all the resource types that can be tagged. However, the action you're using might not support tagging all of these resource types. If you try to tag a resource type that is unsupported for the action you're using, you'll get an error.

See: newTagSpecification smart constructor.

Constructors

TagSpecification' 

Fields

Instances

Instances details
ToQuery TagSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.TagSpecification

FromXML TagSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.TagSpecification

Generic TagSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.TagSpecification

Associated Types

type Rep TagSpecification :: Type -> Type #

Read TagSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.TagSpecification

Show TagSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.TagSpecification

NFData TagSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.TagSpecification

Methods

rnf :: TagSpecification -> () #

Eq TagSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.TagSpecification

Hashable TagSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.TagSpecification

type Rep TagSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.TagSpecification

type Rep TagSpecification = D1 ('MetaData "TagSpecification" "Amazonka.EC2.Types.TagSpecification" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "TagSpecification'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceType)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))))

newTagSpecification :: TagSpecification Source #

Create a value of TagSpecification 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:resourceType:TagSpecification', tagSpecification_resourceType - The type of resource to tag on creation.

$sel:tags:TagSpecification', tagSpecification_tags - The tags to apply to the resource.

tagSpecification_resourceType :: Lens' TagSpecification (Maybe ResourceType) Source #

The type of resource to tag on creation.

tagSpecification_tags :: Lens' TagSpecification (Maybe [Tag]) Source #

The tags to apply to the resource.