Class: MintPress::Aws::EC2::LaunchTemplateVersion
- Inherits:
-
Object
- Object
- MintPress::Aws::EC2::LaunchTemplateVersion
- Includes:
- MintLogger, AwsCommon, Mixins::Properties
- Defined in:
- src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/launch_template_version.rb
Properties (Read/Write)
-
#create_time ⇒ [Time]
'The time the version was created.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::EC2::LaunchTemplateVersion"
- orig_name ⇒ 'create_time'
24
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/launch_template_version.rb', line 24 property :create_time, disposition: :attribute, description: 'The time the version was created.', source: "MintPress::Aws::EC2::LaunchTemplateVersion", orig_name: 'create_time', type: [Time]
-
#created_by ⇒ [String]
'The principal that created the version.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::EC2::LaunchTemplateVersion"
- orig_name ⇒ 'created_by'
25
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/launch_template_version.rb', line 25 property :created_by, disposition: :attribute, description: 'The principal that created the version.', source: "MintPress::Aws::EC2::LaunchTemplateVersion", orig_name: 'created_by', type: [String]
-
#default_version ⇒ [TrueClass,FalseClass]
'Indicates whether the version is the default version.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::EC2::LaunchTemplateVersion"
- orig_name ⇒ 'default_version'
26
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/launch_template_version.rb', line 26 property :default_version, disposition: :attribute, description: 'Indicates whether the version is the default version.', source: "MintPress::Aws::EC2::LaunchTemplateVersion", orig_name: 'default_version', type: [TrueClass,FalseClass]
-
#launch_template_data ⇒ [MintPress::Aws::EC2::LaunchTemplateDatum] (Default Value: MintPress::Aws::EC2::LaunchTemplateDatum.new)
'Information about the launch template.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::EC2::LaunchTemplateVersion"
- orig_name ⇒ 'launch_template_data'
- default ⇒ MintPress::Aws::EC2::LaunchTemplateDatum.new
- create_launch_template_version_prop ⇒ 'launch_template_data'
- read_only ⇒ false
27
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/launch_template_version.rb', line 27 property :launch_template_data, disposition: :attribute, description: 'Information about the launch template.', source: "MintPress::Aws::EC2::LaunchTemplateVersion", orig_name: 'launch_template_data', type: [MintPress::Aws::EC2::LaunchTemplateDatum], default: MintPress::Aws::EC2::LaunchTemplateDatum.new, create_launch_template_version_prop: 'launch_template_data', read_only: false
-
#launch_template_name ⇒ [String] (Default Value: Proc.new { self.name })
'The name of the launch template. To describe one or more versions of a specified launch template, you must specify either the launch template ID or the launch template name in the request. To describe all the latest or default launch template versions in your account, you must omit this parameter.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "describe_launch_template_versions"
- orig_name ⇒ 'launch_template_name'
- create_launch_template_version_prop ⇒ 'launch_template_name'
- read_only ⇒ false
- delete_launch_template_versions_prop ⇒ 'launch_template_name'
- describe_launch_template_versions_prop ⇒ 'launch_template_name'
- default ⇒ Proc.new { self.name }
28 29 30 31 32
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/launch_template_version.rb', line 28 property :launch_template_name, disposition: :attribute, description: 'The name of the launch template. To describe one or more versions of a specified launch template, you must specify either the launch template ID or the launch template name in the request. To describe all the latest or default launch template versions in your account, you must omit this parameter.', source: "describe_launch_template_versions", orig_name: 'launch_template_name', type: [String], create_launch_template_version_prop: 'launch_template_name', read_only: false, delete_launch_template_versions_prop: 'launch_template_name', describe_launch_template_versions_prop: 'launch_template_name', default: Proc.new { self.name }
-
#version_description ⇒ [String]
'The description for the version.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::EC2::LaunchTemplateVersion"
- orig_name ⇒ 'version_description'
- create_launch_template_version_prop ⇒ 'version_description'
- read_only ⇒ false
33
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/launch_template_version.rb', line 33 property :version_description, disposition: :attribute, description: 'The description for the version.', source: "MintPress::Aws::EC2::LaunchTemplateVersion", orig_name: 'version_description', type: [String], create_launch_template_version_prop: 'version_description', read_only: false
-
#version_number ⇒ [Integer]
'The version number.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::EC2::LaunchTemplateVersion"
- orig_name ⇒ 'version_number'
34
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/launch_template_version.rb', line 34 property :version_number, disposition: :attribute, description: 'The version number.', source: "MintPress::Aws::EC2::LaunchTemplateVersion", orig_name: 'version_number', type: [Integer]
-
#dry_run ⇒ [TrueClass,FalseClass]
'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.'
Property Attributes- create_launch_template_version_prop ⇒ 'dry_run'
- read_only ⇒ false
- source ⇒ "describe_launch_template_versions"
- delete_launch_template_versions_prop ⇒ 'dry_run'
- describe_launch_template_versions_prop ⇒ 'dry_run'
35 36 37 38
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/launch_template_version.rb', line 35 property :dry_run, create_launch_template_version_prop: 'dry_run', type: [TrueClass,FalseClass], read_only: false, source: "describe_launch_template_versions", description: '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.', delete_launch_template_versions_prop: 'dry_run', describe_launch_template_versions_prop: 'dry_run'
-
#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.'
Property Attributes- create_launch_template_version_prop ⇒ 'client_token'
- read_only ⇒ false
- source ⇒ "create_launch_template_version"
39 40 41 42 43
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/launch_template_version.rb', line 39 property :client_token, create_launch_template_version_prop: 'client_token', type: [String], read_only: false, source: "create_launch_template_version", description: 'Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency. Constraint: Maximum 128 ASCII characters.'
-
#source_version ⇒ [String]
'The version number of the launch template version on which to base the new version. The new version inherits the same launch parameters as the source version, except for parameters that you specify in LaunchTemplateData. Snapshots applied to the block device mapping are ignored when creating a new version unless they are explicitly included.'
Property Attributes- create_launch_template_version_prop ⇒ 'source_version'
- read_only ⇒ false
- source ⇒ "create_launch_template_version"
44 45 46 47 48 49
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/launch_template_version.rb', line 44 property :source_version, create_launch_template_version_prop: 'source_version', type: [String], read_only: false, source: "create_launch_template_version", description: 'The version number of the launch template version on which to base the new version. The new version inherits the same launch parameters as the source version, except for parameters that you specify in LaunchTemplateData. Snapshots applied to the block device mapping are ignored when creating a new version unless they are explicitly included.'
-
#versions ⇒ Array of ⇒ [String]
'One or more versions of the launch template. Valid values depend on whether you are describing a specified launch template (by ID or name) or all launch templates in your account. To describe one or more versions of a specified launch template, valid values are $Latest, $Default, and numbers. To describe all launch templates in your account that are defined as the latest version, the valid value is $Latest. To describe all launch templates in your account that are defined as the default version, the valid value is $Default. You can specify $Latest and $Default in the same call. You cannot specify numbers.'
Property Attributes- delete_launch_template_versions_prop ⇒ 'versions'
- read_only ⇒ false
- source ⇒ "describe_launch_template_versions"
- describe_launch_template_versions_prop ⇒ 'versions'
50 51 52 53 54 55 56 57 58 59 60 61
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/launch_template_version.rb', line 50 property :versions, delete_launch_template_versions_prop: 'versions', type: [String], array: true, read_only: false, source: "describe_launch_template_versions", description: 'One or more versions of the launch template. Valid values depend on whether you are describing a specified launch template (by ID or name) or all launch templates in your account. To describe one or more versions of a specified launch template, valid values are $Latest, $Default, and numbers. To describe all launch templates in your account that are defined as the latest version, the valid value is $Latest. To describe all launch templates in your account that are defined as the default version, the valid value is $Default. You can specify $Latest and $Default in the same call. You cannot specify numbers.', describe_launch_template_versions_prop: 'versions'
-
#min_version ⇒ [String]
'The version number after which to describe launch template versions.'
Property Attributes- describe_launch_template_versions_prop ⇒ 'min_version'
- source ⇒ "describe_launch_template_versions"
62
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/launch_template_version.rb', line 62 property :min_version, describe_launch_template_versions_prop: 'min_version', type: [String], source: "describe_launch_template_versions", description: 'The version number after which to describe launch template versions.'
-
#max_version ⇒ [String]
'The version number up to which to describe launch template versions.'
Property Attributes- describe_launch_template_versions_prop ⇒ 'max_version'
- source ⇒ "describe_launch_template_versions"
63
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/launch_template_version.rb', line 63 property :max_version, describe_launch_template_versions_prop: 'max_version', type: [String], source: "describe_launch_template_versions", description: 'The version number up to which to describe launch template versions.'
-
#max_results ⇒ [Integer]
'The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value. This value can be between 1 and 200.'
Property Attributes- describe_launch_template_versions_prop ⇒ 'max_results'
- source ⇒ "describe_launch_template_versions"
64 65 66
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/launch_template_version.rb', line 64 property :max_results, describe_launch_template_versions_prop: 'max_results', type: [Integer], source: "describe_launch_template_versions", description: 'The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value. This value can be between 1 and 200.'
-
#filters ⇒ Hash of ⇒ [MintPress::Aws::EC2::Filter]
'One or more filters. create-time - The time the launch template version was created. ebs-optimized - A boolean that indicates whether the instance is optimized for Amazon EBS I/O. iam-instance-profile - The ARN of the IAM instance profile. image-id - The ID of the AMI. instance-type - The instance type. is-default-version - A boolean that indicates whether the launch template version is the default version. kernel-id - The kernel ID. ram-disk-id - The RAM disk ID.'
Property Attributes- describe_launch_template_versions_prop ⇒ 'filters'
- source ⇒ "describe_launch_template_versions"
67 68 69 70 71 72 73 74 75 76 77 78 79
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/launch_template_version.rb', line 67 property :filters, describe_launch_template_versions_prop: 'filters', type: [MintPress::Aws::EC2::Filter], array: false, source: "describe_launch_template_versions", description: 'One or more filters. create-time - The time the launch template version was created. ebs-optimized - A boolean that indicates whether the instance is optimized for Amazon EBS I/O. iam-instance-profile - The ARN of the IAM instance profile. image-id - The ID of the AMI. instance-type - The instance type. is-default-version - A boolean that indicates whether the launch template version is the default version. kernel-id - The kernel ID. ram-disk-id - The RAM disk ID.', hash: true
-
#launch_template ⇒ [MintPress::Aws::EC2::LaunchTemplate]
'The ID of the launch template. To describe one or more versions of a specified launch template, you must specify either the launch template ID or the launch template name in the request. To describe all the latest or default launch template versions in your account, you must omit this parameter.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "describe_launch_template_versions"
- orig_name ⇒ 'launch_template_id'
- create_launch_template_version_prop ⇒ 'launch_template_id'
- read_only ⇒ false
- delete_launch_template_versions_prop ⇒ 'launch_template_id'
- describe_launch_template_versions_prop ⇒ 'launch_template_id'
- from ⇒ String
80 81 82 83 84
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/launch_template_version.rb', line 80 property :launch_template, disposition: :attribute, description: 'The ID of the launch template. To describe one or more versions of a specified launch template, you must specify either the launch template ID or the launch template name in the request. To describe all the latest or default launch template versions in your account, you must omit this parameter.', source: "describe_launch_template_versions", orig_name: 'launch_template_id', type: [MintPress::Aws::EC2::LaunchTemplate], create_launch_template_version_prop: 'launch_template_id', read_only: false, delete_launch_template_versions_prop: 'launch_template_id', describe_launch_template_versions_prop: 'launch_template_id', from: String
-
#name ⇒ [String]
Property Attributes85
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/launch_template_version.rb', line 85 property :name, type: [String]
-
#region ⇒ String
Region _specifically for this object_. If you're not doing different objects in different regions, you should not set this, but rather set the region on your AwsPlatformProvider instead
Property Attributes89
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/launch_template_version.rb', line 89 property :region, type: String
-
#platform ⇒ MintPress::InfrastructureAws::AwsPlatform (Default Value: MintPress::InfrastructureAws::AwsPlatform.new)
The platform details, including credentials - normally this will come via AwsPlatformProvider (see the Infrastructure Providers section of the documentation)
Property Attributes- default ⇒ MintPress::InfrastructureAws::AwsPlatform.new
92
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/launch_template_version.rb', line 92 property :platform, type: MintPress::InfrastructureAws::AwsPlatform, default: MintPress::InfrastructureAws::AwsPlatform.new
Properties (Read Only)
Constant Summary
Constants included from MintLogger
MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN
Instance Attribute Summary
Attributes included from Mixins::Properties
#autopush_set_cache, #dynamic_create, #harvest_on_access, #harvest_undefined_only, #harvested, #tree_root
Instance Method Summary collapse
- #create ⇒ Object
- #delete ⇒ Object
- #delete_cascade ⇒ Object
- #describe ⇒ Object
-
#initialize(opts = {}) ⇒ LaunchTemplateVersion
constructor
A new instance of LaunchTemplateVersion.
Methods included from AwsCommon
#alive?, all, #attach_generic, #attached?, #available?, #build_create_hash, #by_id, #by_name, #create_generic, #delete_cascade_generic, #delete_generic, #detach_generic, #exists?, #fill_in_details, #find_by_details, #find_global_object, #get_aws_region, #get_state, #handle_singleton_object, #harvest, #perform_operation, #prop_to_hash, #register_aws_object, #resource_api, #running?, #start_generic, #started?, #stop_generic, #terminate_generic
Methods included from Mixins::Properties
#[], #[]=, #add_validate_report_result, #armour_set_property, #array_contains?, #array_is_a?, #check_autopush, #check_stack_overflow, #clone_property_object, #cloner_handle_single_property, #coerce_single, #contains_as_string?, #display_validate_report_result, #double_initialize?, #dump_to_hash, #find_parent, #find_parent_by_identity, #generate_accessor_functions, #get_canonical_renamed, #get_from_opts, #get_my_name, #get_property, #get_property_item, #has?, included, #initialize_validate_report, #inspect, #is_cloned_object?, #is_mintpress_object?, #is_probably_canonical?, #is_set?, #local_debug, #local_info, #local_verbose, #mintpress_property_definitions, #place_object_by_identity, #process_properties, #prop_set?, #property, #property_definitions, #property_details, #property_is_simple_object?, #push_root!, #require_property, #require_update, #retrieve_docstring, #sanitize, #set_map_dirty, #set_property, #set_property_item, #show_short_array, #strip_defaults!, #synchronize, #uncloned_property_definitions, #update_map, #validate, #validate_generic, #validate_properties, #validate_property, #validate_required, #version_allowed?, #weakref
Methods included from MintLogger::Utils::Common
#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send