AWSEC2LaunchTemplateTagSpecificationRequest
Objective-C
@interface AWSEC2LaunchTemplateTagSpecificationRequest
Swift
class AWSEC2LaunchTemplateTagSpecificationRequest
The tags specification for the resources that are created during instance launch.
-
The type of resource to tag.
Valid Values lists all resource types for Amazon EC2 that can be tagged. When you create a launch template, you can specify tags for the following resource types only:
instance
|volume
|network-interface
|spot-instances-request
. If the instance does not include the resource type that you specify, the instance launch fails. For example, not all instance types include a volume.To tag a resource after it has been created, see CreateTags.
Declaration
Objective-C
@property (nonatomic) AWSEC2ResourceType resourceType;
Swift
var resourceType: AWSEC2ResourceType { get set }