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.

    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.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2ResourceType resourceType;

    Swift

    var resourceType: AWSEC2ResourceType { get set }
  • The tags to apply to the resource.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2Tag *> *_Nullable tags;

    Swift

    var tags: [AWSEC2Tag]? { get set }