The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::EC2::TagSpecification

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::EC2::TagSpecification object:

  $service_obj->Method(Att1 => { ResourceType => $value, ..., Tags => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::TagSpecification object:

  $result = $service_obj->Method(...);
  $result->Att1->ResourceType

DESCRIPTION

This class has no description

ATTRIBUTES

ResourceType => Str

  The type of resource to tag. Currently, the resource types that support
tagging on creation are: C<capacity-reservation> |
C<client-vpn-endpoint> | C<dedicated-host> | C<fleet> | C<fpga-image> |
C<instance> | C<key-pair> | C<launch-template> | C<placement-group> |
C<snapshot> | C<traffic-mirror-filter> | C<traffic-mirror-session> |
C<traffic-mirror-target> | C<transit-gateway> |
C<transit-gateway-attachment> | C<transit-gateway-route-table> |
C<volume>.

To tag a resource after it has been created, see CreateTags (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html).

Tags => ArrayRef[Paws::EC2::Tag]

  The tags to apply to the resource.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::EC2

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues