Class: Aws::EC2::Types::CreateLaunchTemplateRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::CreateLaunchTemplateRequest
- Defined in:
- gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#client_token ⇒ String
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#launch_template_data ⇒ Types::RequestLaunchTemplateData
The information for the launch template.
-
#launch_template_name ⇒ String
A name for the launch template.
-
#tag_specifications ⇒ Array<Types::TagSpecification>
The tags to apply to the launch template on creation.
-
#version_description ⇒ String
A description for the first version of the launch template.
Instance Attribute Details
#client_token ⇒ String
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
Constraint: Maximum 128 ASCII characters.
8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8951 class CreateLaunchTemplateRequest < Struct.new( :dry_run, :client_token, :launch_template_name, :version_description, :launch_template_data, :tag_specifications) SENSITIVE = [] include Aws::Structure end |
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action,
without actually making the request, and provides an error response.
If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8951 class CreateLaunchTemplateRequest < Struct.new( :dry_run, :client_token, :launch_template_name, :version_description, :launch_template_data, :tag_specifications) SENSITIVE = [] include Aws::Structure end |
#launch_template_data ⇒ Types::RequestLaunchTemplateData
The information for the launch template.
8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8951 class CreateLaunchTemplateRequest < Struct.new( :dry_run, :client_token, :launch_template_name, :version_description, :launch_template_data, :tag_specifications) SENSITIVE = [] include Aws::Structure end |
#launch_template_name ⇒ String
A name for the launch template.
8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8951 class CreateLaunchTemplateRequest < Struct.new( :dry_run, :client_token, :launch_template_name, :version_description, :launch_template_data, :tag_specifications) SENSITIVE = [] include Aws::Structure end |
#tag_specifications ⇒ Array<Types::TagSpecification>
The tags to apply to the launch template on creation. To tag the
launch template, the resource type must be launch-template
.
TagSpecifications
parameter
in the launch template data structure.
8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8951 class CreateLaunchTemplateRequest < Struct.new( :dry_run, :client_token, :launch_template_name, :version_description, :launch_template_data, :tag_specifications) SENSITIVE = [] include Aws::Structure end |
#version_description ⇒ String
A description for the first version of the launch template.
8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8951 class CreateLaunchTemplateRequest < Struct.new( :dry_run, :client_token, :launch_template_name, :version_description, :launch_template_data, :tag_specifications) SENSITIVE = [] include Aws::Structure end |