aws-sdk-ec2 1.358.0 → 1.359.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fcd250980646af7ee556c47f9fe8ce1b861bd81f61d21f0dcf1b0ea0ab5134ff
4
- data.tar.gz: 82c50019b406c593907d3ec4590825f1e8e8e46975f27890b6bc4888a8620d2f
3
+ metadata.gz: 1408b06bb5d201b36a8a0eb99234ac6c6a9b39cd54aa4dd2f21150fc61c15781
4
+ data.tar.gz: de1c1d4a6db3d58f9c67dde60780065731233685ea4d5df7172c497a428427ff
5
5
  SHA512:
6
- metadata.gz: ff777192ab420d8938378d1be4111924dc6f781e128746de7e71af007a38ee0c8535f29b0df7be27d45c44e74cb6127459b18c4b02bd4bacdda90bda90dbec10
7
- data.tar.gz: 51e12c9257b0c0760901149a97c6e27d9487ea26b293410815365e18bc3064028b097b75aaaebf25b0189d1ca2ff249a49a14725cae1cc80859ac59442195dd0
6
+ metadata.gz: e691748cb9c2c0cbcbf1efb0082beeb7da27155fdc4233068cf247516ef2b1894e668edaef055fec42cddefb2cf2f808df65ace8a5f0df779c2524e035972074
7
+ data.tar.gz: 1bfb946dc479d1608af6610ef1668af6424ccc79a42d27039795f81307972f381015fafb9b04ba4f87ca9d2a02c87a09fcdb48fa6c9b55b69b4ba04d69ebbbaf
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.359.0 (2023-01-19)
5
+ ------------------
6
+
7
+ * Feature - Adds SSM Parameter Resource Aliasing support to EC2 Launch Templates. Launch Templates can now store parameter aliases in place of AMI Resource IDs. CreateLaunchTemplateVersion and DescribeLaunchTemplateVersions now support a convenience flag, ResolveAlias, to return the resolved parameter value.
8
+
4
9
  1.358.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.358.0
1
+ 1.359.0
@@ -7987,6 +7987,18 @@ module Aws::EC2
7987
7987
  # @option params [required, Types::RequestLaunchTemplateData] :launch_template_data
7988
7988
  # The information for the launch template.
7989
7989
  #
7990
+ # @option params [Boolean] :resolve_alias
7991
+ # If `true`, and if a Systems Manager parameter is specified for
7992
+ # `ImageId`, the AMI ID is displayed in the response for `imageID`. For
7993
+ # more information, see [Use a Systems Manager parameter instead of an
7994
+ # AMI ID][1] in the *Amazon Elastic Compute Cloud User Guide*.
7995
+ #
7996
+ # Default: `false`
7997
+ #
7998
+ #
7999
+ #
8000
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#use-an-ssm-parameter-instead-of-an-ami-id
8001
+ #
7990
8002
  # @return [Types::CreateLaunchTemplateVersionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7991
8003
  #
7992
8004
  # * {Types::CreateLaunchTemplateVersionResult#launch_template_version #launch_template_version} => Types::LaunchTemplateVersion
@@ -8258,6 +8270,7 @@ module Aws::EC2
8258
8270
  # },
8259
8271
  # disable_api_stop: false,
8260
8272
  # },
8273
+ # resolve_alias: false,
8261
8274
  # })
8262
8275
  #
8263
8276
  # @example Response structure
@@ -24978,6 +24991,22 @@ module Aws::EC2
24978
24991
  #
24979
24992
  # * `ram-disk-id` - The RAM disk ID.
24980
24993
  #
24994
+ # @option params [Boolean] :resolve_alias
24995
+ # If `true`, and if a Systems Manager parameter is specified for
24996
+ # `ImageId`, the AMI ID is displayed in the response for `imageId`.
24997
+ #
24998
+ # If `false`, and if a Systems Manager parameter is specified for
24999
+ # `ImageId`, the parameter is displayed in the response for `imageId`.
25000
+ #
25001
+ # For more information, see [Use a Systems Manager parameter instead of
25002
+ # an AMI ID][1] in the *Amazon Elastic Compute Cloud User Guide*.
25003
+ #
25004
+ # Default: `false`
25005
+ #
25006
+ #
25007
+ #
25008
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#use-an-ssm-parameter-instead-of-an-ami-id
25009
+ #
24981
25010
  # @return [Types::DescribeLaunchTemplateVersionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
24982
25011
  #
24983
25012
  # * {Types::DescribeLaunchTemplateVersionsResult#launch_template_versions #launch_template_versions} => Array<Types::LaunchTemplateVersion>
@@ -25064,6 +25093,7 @@ module Aws::EC2
25064
25093
  # values: ["String"],
25065
25094
  # },
25066
25095
  # ],
25096
+ # resolve_alias: false,
25067
25097
  # })
25068
25098
  #
25069
25099
  # @example Response structure
@@ -54776,7 +54806,7 @@ module Aws::EC2
54776
54806
  params: params,
54777
54807
  config: config)
54778
54808
  context[:gem_name] = 'aws-sdk-ec2'
54779
- context[:gem_version] = '1.358.0'
54809
+ context[:gem_version] = '1.359.0'
54780
54810
  Seahorse::Client::Request.new(handlers, context)
54781
54811
  end
54782
54812
 
@@ -4447,6 +4447,7 @@ module Aws::EC2
4447
4447
  CreateLaunchTemplateVersionRequest.add_member(:source_version, Shapes::ShapeRef.new(shape: String, location_name: "SourceVersion"))
4448
4448
  CreateLaunchTemplateVersionRequest.add_member(:version_description, Shapes::ShapeRef.new(shape: VersionDescription, location_name: "VersionDescription"))
4449
4449
  CreateLaunchTemplateVersionRequest.add_member(:launch_template_data, Shapes::ShapeRef.new(shape: RequestLaunchTemplateData, required: true, location_name: "LaunchTemplateData"))
4450
+ CreateLaunchTemplateVersionRequest.add_member(:resolve_alias, Shapes::ShapeRef.new(shape: Boolean, location_name: "ResolveAlias"))
4450
4451
  CreateLaunchTemplateVersionRequest.struct_class = Types::CreateLaunchTemplateVersionRequest
4451
4452
 
4452
4453
  CreateLaunchTemplateVersionResult.add_member(:launch_template_version, Shapes::ShapeRef.new(shape: LaunchTemplateVersion, location_name: "launchTemplateVersion"))
@@ -6384,6 +6385,7 @@ module Aws::EC2
6384
6385
  DescribeLaunchTemplateVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
6385
6386
  DescribeLaunchTemplateVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
6386
6387
  DescribeLaunchTemplateVersionsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
6388
+ DescribeLaunchTemplateVersionsRequest.add_member(:resolve_alias, Shapes::ShapeRef.new(shape: Boolean, location_name: "ResolveAlias"))
6387
6389
  DescribeLaunchTemplateVersionsRequest.struct_class = Types::DescribeLaunchTemplateVersionsRequest
6388
6390
 
6389
6391
  DescribeLaunchTemplateVersionsResult.add_member(:launch_template_versions, Shapes::ShapeRef.new(shape: LaunchTemplateVersionSet, location_name: "launchTemplateVersionSet"))
@@ -8177,6 +8177,19 @@ module Aws::EC2
8177
8177
  # The information for the launch template.
8178
8178
  # @return [Types::RequestLaunchTemplateData]
8179
8179
  #
8180
+ # @!attribute [rw] resolve_alias
8181
+ # If `true`, and if a Systems Manager parameter is specified for
8182
+ # `ImageId`, the AMI ID is displayed in the response for `imageID`.
8183
+ # For more information, see [Use a Systems Manager parameter instead
8184
+ # of an AMI ID][1] in the *Amazon Elastic Compute Cloud User Guide*.
8185
+ #
8186
+ # Default: `false`
8187
+ #
8188
+ #
8189
+ #
8190
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#use-an-ssm-parameter-instead-of-an-ami-id
8191
+ # @return [Boolean]
8192
+ #
8180
8193
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplateVersionRequest AWS API Documentation
8181
8194
  #
8182
8195
  class CreateLaunchTemplateVersionRequest < Struct.new(
@@ -8186,7 +8199,8 @@ module Aws::EC2
8186
8199
  :launch_template_name,
8187
8200
  :source_version,
8188
8201
  :version_description,
8189
- :launch_template_data)
8202
+ :launch_template_data,
8203
+ :resolve_alias)
8190
8204
  SENSITIVE = [:launch_template_data]
8191
8205
  include Aws::Structure
8192
8206
  end
@@ -19605,6 +19619,23 @@ module Aws::EC2
19605
19619
  # * `ram-disk-id` - The RAM disk ID.
19606
19620
  # @return [Array<Types::Filter>]
19607
19621
  #
19622
+ # @!attribute [rw] resolve_alias
19623
+ # If `true`, and if a Systems Manager parameter is specified for
19624
+ # `ImageId`, the AMI ID is displayed in the response for `imageId`.
19625
+ #
19626
+ # If `false`, and if a Systems Manager parameter is specified for
19627
+ # `ImageId`, the parameter is displayed in the response for `imageId`.
19628
+ #
19629
+ # For more information, see [Use a Systems Manager parameter instead
19630
+ # of an AMI ID][1] in the *Amazon Elastic Compute Cloud User Guide*.
19631
+ #
19632
+ # Default: `false`
19633
+ #
19634
+ #
19635
+ #
19636
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#use-an-ssm-parameter-instead-of-an-ami-id
19637
+ # @return [Boolean]
19638
+ #
19608
19639
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplateVersionsRequest AWS API Documentation
19609
19640
  #
19610
19641
  class DescribeLaunchTemplateVersionsRequest < Struct.new(
@@ -19616,7 +19647,8 @@ module Aws::EC2
19616
19647
  :max_version,
19617
19648
  :next_token,
19618
19649
  :max_results,
19619
- :filters)
19650
+ :filters,
19651
+ :resolve_alias)
19620
19652
  SENSITIVE = []
19621
19653
  include Aws::Structure
19622
19654
  end
@@ -50414,7 +50446,25 @@ module Aws::EC2
50414
50446
  # @return [Array<Types::LaunchTemplateInstanceNetworkInterfaceSpecificationRequest>]
50415
50447
  #
50416
50448
  # @!attribute [rw] image_id
50417
- # The ID of the AMI.
50449
+ # The ID of the AMI. Alternatively, you can specify a Systems Manager
50450
+ # parameter, which will resolve to an AMI ID on launch.
50451
+ #
50452
+ # Valid formats:
50453
+ #
50454
+ # * `ami-17characters00000`
50455
+ #
50456
+ # * `resolve:ssm:parameter-name`
50457
+ #
50458
+ # * `resolve:ssm:parameter-name:version-number`
50459
+ #
50460
+ # * `resolve:ssm:parameter-name:label`
50461
+ #
50462
+ # For more information, see [Use a Systems Manager parameter instead
50463
+ # of an AMI ID][1] in the *Amazon Elastic Compute Cloud User Guide*.
50464
+ #
50465
+ #
50466
+ #
50467
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#use-an-ssm-parameter-instead-of-an-ami-id
50418
50468
  # @return [String]
50419
50469
  #
50420
50470
  # @!attribute [rw] instance_type
@@ -51865,7 +51915,30 @@ module Aws::EC2
51865
51915
  # @return [Array<Types::LaunchTemplateInstanceNetworkInterfaceSpecification>]
51866
51916
  #
51867
51917
  # @!attribute [rw] image_id
51868
- # The ID of the AMI that was used to launch the instance.
51918
+ # The ID of the AMI or a Systems Manager parameter. The Systems
51919
+ # Manager parameter will resolve to the ID of the AMI at instance
51920
+ # launch.
51921
+ #
51922
+ # The value depends on what you specified in the request. The possible
51923
+ # values are:
51924
+ #
51925
+ # * If an AMI ID was specified in the request, then this is the AMI
51926
+ # ID.
51927
+ #
51928
+ # * If a Systems Manager parameter was specified in the request, and
51929
+ # `ResolveAlias` was configured as `true`, then this is the AMI ID
51930
+ # that the parameter is mapped to in the Parameter Store.
51931
+ #
51932
+ # * If a Systems Manager parameter was specified in the request, and
51933
+ # `ResolveAlias` was configured as `false`, then this is the
51934
+ # parameter value.
51935
+ #
51936
+ # For more information, see [Use a Systems Manager parameter instead
51937
+ # of an AMI ID][1] in the *Amazon Elastic Compute Cloud User Guide*.
51938
+ #
51939
+ #
51940
+ #
51941
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#use-an-ssm-parameter-instead-of-an-ami-id
51869
51942
  # @return [String]
51870
51943
  #
51871
51944
  # @!attribute [rw] instance_type
data/lib/aws-sdk-ec2.rb CHANGED
@@ -76,6 +76,6 @@ require_relative 'aws-sdk-ec2/customizations'
76
76
  # @!group service
77
77
  module Aws::EC2
78
78
 
79
- GEM_VERSION = '1.358.0'
79
+ GEM_VERSION = '1.359.0'
80
80
 
81
81
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.358.0
4
+ version: 1.359.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4