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: capacity-reservation
| carrier-gateway
| client-vpn-endpoint
| customer-gateway
| dedicated-host
| dhcp-options
| egress-only-internet-gateway
| elastic-ip
| elastic-gpu
| export-image-task
| export-instance-task
| fleet
| fpga-image
| host-reservation
| image
| import-image-task
| import-snapshot-task
| instance
| internet-gateway
| ipv4pool-ec2
| ipv6pool-ec2
| key-pair
| launch-template
| local-gateway-route-table-vpc-association
| placement-group
| prefix-list
| natgateway
| network-acl
| network-interface
| reserved-instances
|route-table
| security-group
| snapshot
| spot-fleet-request
| spot-instances-request
| snapshot
| subnet
| traffic-mirror-filter
| traffic-mirror-session
| traffic-mirror-target
| transit-gateway
| transit-gateway-attachment
| transit-gateway-multicast-domain
| transit-gateway-route-table
| volume
|vpc
| vpc-peering-connection
| vpc-endpoint
(for interface and gateway endpoints) | vpc-endpoint-service
(for AWS PrivateLink) | vpc-flow-log
| vpn-connection
| vpn-gateway
.
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