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

Description

 
Synopsis

Documentation

data LaunchTemplateTagSpecificationRequest Source #

The tags specification for the resources that are created during instance launch.

See: newLaunchTemplateTagSpecificationRequest smart constructor.

Constructors

LaunchTemplateTagSpecificationRequest' 

Fields

  • resourceType :: Maybe ResourceType

    The type of resource to tag.

    The Valid Values are all the resource types that can be tagged. However, when creating a launch template, you can specify tags for the following resource types only: instance | volume | elastic-gpu | network-interface | spot-instances-request

    To tag a resource after it has been created, see CreateTags.

  • tags :: Maybe [Tag]

    The tags to apply to the resource.

Instances

Instances details
ToQuery LaunchTemplateTagSpecificationRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplateTagSpecificationRequest

Generic LaunchTemplateTagSpecificationRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplateTagSpecificationRequest

Read LaunchTemplateTagSpecificationRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplateTagSpecificationRequest

Show LaunchTemplateTagSpecificationRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplateTagSpecificationRequest

NFData LaunchTemplateTagSpecificationRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplateTagSpecificationRequest

Eq LaunchTemplateTagSpecificationRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplateTagSpecificationRequest

Hashable LaunchTemplateTagSpecificationRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplateTagSpecificationRequest

type Rep LaunchTemplateTagSpecificationRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplateTagSpecificationRequest

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

newLaunchTemplateTagSpecificationRequest :: LaunchTemplateTagSpecificationRequest Source #

Create a value of LaunchTemplateTagSpecificationRequest 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:LaunchTemplateTagSpecificationRequest', launchTemplateTagSpecificationRequest_resourceType - The type of resource to tag.

The Valid Values are all the resource types that can be tagged. However, when creating a launch template, you can specify tags for the following resource types only: instance | volume | elastic-gpu | network-interface | spot-instances-request

To tag a resource after it has been created, see CreateTags.

$sel:tags:LaunchTemplateTagSpecificationRequest', launchTemplateTagSpecificationRequest_tags - The tags to apply to the resource.

launchTemplateTagSpecificationRequest_resourceType :: Lens' LaunchTemplateTagSpecificationRequest (Maybe ResourceType) Source #

The type of resource to tag.

The Valid Values are all the resource types that can be tagged. However, when creating a launch template, you can specify tags for the following resource types only: instance | volume | elastic-gpu | network-interface | spot-instances-request

To tag a resource after it has been created, see CreateTags.