aws-sdk-imagebuilder 1.38.0 → 1.39.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: 5476da09fb303d6608c35ace326b2cc6790fa4d4ed94028798b739430136ad69
4
- data.tar.gz: 465f59fc628e5089fad50cada1f66bc3a4a124fa45b5d94571fda2f69e690d7f
3
+ metadata.gz: b9aff09b0526fa490399b7ed70c526ec37ae41b11a04c9885307046d855da65b
4
+ data.tar.gz: 50c99cc8a146ba8308927482d14bade660496cdd2af5b77a3d9f245ed0d322f6
5
5
  SHA512:
6
- metadata.gz: 466d6718d3af8aaa4adb034b97eb612e19115b6df8fd8c763e8654367cc007b355c4d103509e3176f64c8d015ef387b16bca074b864f1fa6312f90c172efe160
7
- data.tar.gz: 6a5a67324dc48c7357574d254cafdd5ec557552522557cce8491c2b5b6160813cf5bfe604b37083a65fba596769358d3f70082f6ac55908f6790a1e4547a64fc
6
+ metadata.gz: 1fd6710e2b5cd2b7f2fd43d05db4cb1558b78896f4a802640bcb9dfb93f8a41dfbcdaf4ebba249418e968e066806be71d874d6038de590d3018cfdd5fd81c08a
7
+ data.tar.gz: 2f91e26563be39c12062d4c955df0ab9354816e9aca4761ae153dc95309d2ce940ab69fd397997d893817ef9bdaa439632a28adf50708ec01b8211350f79f717
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.39.0 (2022-02-21)
5
+ ------------------
6
+
7
+ * Feature - This release adds support to enable faster launching for Windows AMIs created by EC2 Image Builder.
8
+
4
9
  1.38.0 (2022-02-03)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.38.0
1
+ 1.39.0
@@ -397,7 +397,13 @@ module Aws::Imagebuilder
397
397
  end
398
398
 
399
399
  # Creates a new component that can be used to build, validate, test, and
400
- # assess your image.
400
+ # assess your image. The component is based on a YAML document that you
401
+ # specify using exactly one of the following methods:
402
+ #
403
+ # * Inline, using the `data` property in the request body.
404
+ #
405
+ # * A URL that points to a YAML document file stored in Amazon S3, using
406
+ # the `uri` property in the request body.
401
407
  #
402
408
  # @option params [required, String] :name
403
409
  # The name of the component.
@@ -440,14 +446,18 @@ module Aws::Imagebuilder
440
446
  # base image OS version during image recipe creation.
441
447
  #
442
448
  # @option params [String] :data
443
- # The data of the component. Used to specify the data inline. Either
444
- # `data` or `uri` can be used to specify the data within the component.
449
+ # Component `data` contains inline YAML document content for the
450
+ # component. Alternatively, you can specify the `uri` of a YAML document
451
+ # file stored in Amazon S3. However, you cannot specify both properties.
445
452
  #
446
453
  # @option params [String] :uri
447
- # The uri of the component. Must be an Amazon S3 URL and the requester
448
- # must have permission to access the Amazon S3 bucket. If you use Amazon
449
- # S3, you can specify component content up to your service quota. Either
450
- # `data` or `uri` can be used to specify the data within the component.
454
+ # The `uri` of a YAML component document file. This must be an S3 URL
455
+ # (`s3://bucket/key`), and the requester must have permission to access
456
+ # the S3 bucket it points to. If you use Amazon S3, you can specify
457
+ # component content up to your service quota.
458
+ #
459
+ # Alternatively, you can specify the YAML document inline, using the
460
+ # component `data` property. You cannot specify both properties.
451
461
  #
452
462
  # @option params [String] :kms_key_id
453
463
  # The ID of the KMS key that should be used to encrypt this component.
@@ -724,6 +734,21 @@ module Aws::Imagebuilder
724
734
  # s3_bucket: "NonEmptyString", # required
725
735
  # s3_prefix: "NonEmptyString",
726
736
  # },
737
+ # fast_launch_configurations: [
738
+ # {
739
+ # enabled: false, # required
740
+ # snapshot_configuration: {
741
+ # target_resource_count: 1,
742
+ # },
743
+ # max_parallel_launches: 1,
744
+ # launch_template: {
745
+ # launch_template_id: "LaunchTemplateId",
746
+ # launch_template_name: "NonEmptyString",
747
+ # launch_template_version: "NonEmptyString",
748
+ # },
749
+ # account_id: "AccountId",
750
+ # },
751
+ # ],
727
752
  # },
728
753
  # ],
729
754
  # tags: {
@@ -1640,6 +1665,14 @@ module Aws::Imagebuilder
1640
1665
  # resp.distribution_configuration.distributions[0].s3_export_configuration.disk_image_format #=> String, one of "VMDK", "RAW", "VHD"
1641
1666
  # resp.distribution_configuration.distributions[0].s3_export_configuration.s3_bucket #=> String
1642
1667
  # resp.distribution_configuration.distributions[0].s3_export_configuration.s3_prefix #=> String
1668
+ # resp.distribution_configuration.distributions[0].fast_launch_configurations #=> Array
1669
+ # resp.distribution_configuration.distributions[0].fast_launch_configurations[0].enabled #=> Boolean
1670
+ # resp.distribution_configuration.distributions[0].fast_launch_configurations[0].snapshot_configuration.target_resource_count #=> Integer
1671
+ # resp.distribution_configuration.distributions[0].fast_launch_configurations[0].max_parallel_launches #=> Integer
1672
+ # resp.distribution_configuration.distributions[0].fast_launch_configurations[0].launch_template.launch_template_id #=> String
1673
+ # resp.distribution_configuration.distributions[0].fast_launch_configurations[0].launch_template.launch_template_name #=> String
1674
+ # resp.distribution_configuration.distributions[0].fast_launch_configurations[0].launch_template.launch_template_version #=> String
1675
+ # resp.distribution_configuration.distributions[0].fast_launch_configurations[0].account_id #=> String
1643
1676
  # resp.distribution_configuration.timeout_minutes #=> Integer
1644
1677
  # resp.distribution_configuration.date_created #=> String
1645
1678
  # resp.distribution_configuration.date_updated #=> String
@@ -1810,6 +1843,14 @@ module Aws::Imagebuilder
1810
1843
  # resp.image.distribution_configuration.distributions[0].s3_export_configuration.disk_image_format #=> String, one of "VMDK", "RAW", "VHD"
1811
1844
  # resp.image.distribution_configuration.distributions[0].s3_export_configuration.s3_bucket #=> String
1812
1845
  # resp.image.distribution_configuration.distributions[0].s3_export_configuration.s3_prefix #=> String
1846
+ # resp.image.distribution_configuration.distributions[0].fast_launch_configurations #=> Array
1847
+ # resp.image.distribution_configuration.distributions[0].fast_launch_configurations[0].enabled #=> Boolean
1848
+ # resp.image.distribution_configuration.distributions[0].fast_launch_configurations[0].snapshot_configuration.target_resource_count #=> Integer
1849
+ # resp.image.distribution_configuration.distributions[0].fast_launch_configurations[0].max_parallel_launches #=> Integer
1850
+ # resp.image.distribution_configuration.distributions[0].fast_launch_configurations[0].launch_template.launch_template_id #=> String
1851
+ # resp.image.distribution_configuration.distributions[0].fast_launch_configurations[0].launch_template.launch_template_name #=> String
1852
+ # resp.image.distribution_configuration.distributions[0].fast_launch_configurations[0].launch_template.launch_template_version #=> String
1853
+ # resp.image.distribution_configuration.distributions[0].fast_launch_configurations[0].account_id #=> String
1813
1854
  # resp.image.distribution_configuration.timeout_minutes #=> Integer
1814
1855
  # resp.image.distribution_configuration.date_created #=> String
1815
1856
  # resp.image.distribution_configuration.date_updated #=> String
@@ -3458,6 +3499,21 @@ module Aws::Imagebuilder
3458
3499
  # s3_bucket: "NonEmptyString", # required
3459
3500
  # s3_prefix: "NonEmptyString",
3460
3501
  # },
3502
+ # fast_launch_configurations: [
3503
+ # {
3504
+ # enabled: false, # required
3505
+ # snapshot_configuration: {
3506
+ # target_resource_count: 1,
3507
+ # },
3508
+ # max_parallel_launches: 1,
3509
+ # launch_template: {
3510
+ # launch_template_id: "LaunchTemplateId",
3511
+ # launch_template_name: "NonEmptyString",
3512
+ # launch_template_version: "NonEmptyString",
3513
+ # },
3514
+ # account_id: "AccountId",
3515
+ # },
3516
+ # ],
3461
3517
  # },
3462
3518
  # ],
3463
3519
  # client_token: "ClientToken", # required
@@ -3715,7 +3771,7 @@ module Aws::Imagebuilder
3715
3771
  params: params,
3716
3772
  config: config)
3717
3773
  context[:gem_name] = 'aws-sdk-imagebuilder'
3718
- context[:gem_version] = '1.38.0'
3774
+ context[:gem_version] = '1.39.0'
3719
3775
  Seahorse::Client::Request.new(handlers, context)
3720
3776
  end
3721
3777
 
@@ -106,6 +106,10 @@ module Aws::Imagebuilder
106
106
  EbsVolumeType = Shapes::StringShape.new(name: 'EbsVolumeType')
107
107
  EmptyString = Shapes::StringShape.new(name: 'EmptyString')
108
108
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
109
+ FastLaunchConfiguration = Shapes::StructureShape.new(name: 'FastLaunchConfiguration')
110
+ FastLaunchConfigurationList = Shapes::ListShape.new(name: 'FastLaunchConfigurationList')
111
+ FastLaunchLaunchTemplateSpecification = Shapes::StructureShape.new(name: 'FastLaunchLaunchTemplateSpecification')
112
+ FastLaunchSnapshotConfiguration = Shapes::StructureShape.new(name: 'FastLaunchSnapshotConfiguration')
109
113
  Filter = Shapes::StructureShape.new(name: 'Filter')
110
114
  FilterList = Shapes::ListShape.new(name: 'FilterList')
111
115
  FilterName = Shapes::StringShape.new(name: 'FilterName')
@@ -214,6 +218,7 @@ module Aws::Imagebuilder
214
218
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
215
219
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
216
220
  Logging = Shapes::StructureShape.new(name: 'Logging')
221
+ MaxParallelLaunches = Shapes::IntegerShape.new(name: 'MaxParallelLaunches')
217
222
  NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
218
223
  NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
219
224
  OrganizationArn = Shapes::StringShape.new(name: 'OrganizationArn')
@@ -264,6 +269,7 @@ module Aws::Imagebuilder
264
269
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
265
270
  TagValue = Shapes::StringShape.new(name: 'TagValue')
266
271
  TargetContainerRepository = Shapes::StructureShape.new(name: 'TargetContainerRepository')
272
+ TargetResourceCount = Shapes::IntegerShape.new(name: 'TargetResourceCount')
267
273
  Timezone = Shapes::StringShape.new(name: 'Timezone')
268
274
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
269
275
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
@@ -611,6 +617,7 @@ module Aws::Imagebuilder
611
617
  Distribution.add_member(:license_configuration_arns, Shapes::ShapeRef.new(shape: LicenseConfigurationArnList, location_name: "licenseConfigurationArns"))
612
618
  Distribution.add_member(:launch_template_configurations, Shapes::ShapeRef.new(shape: LaunchTemplateConfigurationList, location_name: "launchTemplateConfigurations"))
613
619
  Distribution.add_member(:s3_export_configuration, Shapes::ShapeRef.new(shape: S3ExportConfiguration, location_name: "s3ExportConfiguration"))
620
+ Distribution.add_member(:fast_launch_configurations, Shapes::ShapeRef.new(shape: FastLaunchConfigurationList, location_name: "fastLaunchConfigurations"))
614
621
  Distribution.struct_class = Types::Distribution
615
622
 
616
623
  DistributionConfiguration.add_member(:arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, location_name: "arn"))
@@ -646,6 +653,23 @@ module Aws::Imagebuilder
646
653
  EbsInstanceBlockDeviceSpecification.add_member(:throughput, Shapes::ShapeRef.new(shape: EbsVolumeThroughput, location_name: "throughput"))
647
654
  EbsInstanceBlockDeviceSpecification.struct_class = Types::EbsInstanceBlockDeviceSpecification
648
655
 
656
+ FastLaunchConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
657
+ FastLaunchConfiguration.add_member(:snapshot_configuration, Shapes::ShapeRef.new(shape: FastLaunchSnapshotConfiguration, location_name: "snapshotConfiguration"))
658
+ FastLaunchConfiguration.add_member(:max_parallel_launches, Shapes::ShapeRef.new(shape: MaxParallelLaunches, location_name: "maxParallelLaunches"))
659
+ FastLaunchConfiguration.add_member(:launch_template, Shapes::ShapeRef.new(shape: FastLaunchLaunchTemplateSpecification, location_name: "launchTemplate"))
660
+ FastLaunchConfiguration.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
661
+ FastLaunchConfiguration.struct_class = Types::FastLaunchConfiguration
662
+
663
+ FastLaunchConfigurationList.member = Shapes::ShapeRef.new(shape: FastLaunchConfiguration)
664
+
665
+ FastLaunchLaunchTemplateSpecification.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: LaunchTemplateId, location_name: "launchTemplateId"))
666
+ FastLaunchLaunchTemplateSpecification.add_member(:launch_template_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "launchTemplateName"))
667
+ FastLaunchLaunchTemplateSpecification.add_member(:launch_template_version, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "launchTemplateVersion"))
668
+ FastLaunchLaunchTemplateSpecification.struct_class = Types::FastLaunchLaunchTemplateSpecification
669
+
670
+ FastLaunchSnapshotConfiguration.add_member(:target_resource_count, Shapes::ShapeRef.new(shape: TargetResourceCount, location_name: "targetResourceCount"))
671
+ FastLaunchSnapshotConfiguration.struct_class = Types::FastLaunchSnapshotConfiguration
672
+
649
673
  Filter.add_member(:name, Shapes::ShapeRef.new(shape: FilterName, location_name: "name"))
650
674
  Filter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, location_name: "values"))
651
675
  Filter.struct_class = Types::Filter
@@ -36,12 +36,22 @@ module Aws::Imagebuilder
36
36
  # Use this property to provide commands or a command script to run
37
37
  # when you launch your build instance.
38
38
  #
39
- # <note markdown="1"> The userDataOverride property replaces any commands that Image
39
+ # The userDataOverride property replaces any commands that Image
40
40
  # Builder might have added to ensure that Systems Manager is installed
41
41
  # on your Linux build instance. If you override the user data, make
42
42
  # sure that you add commands to install Systems Manager, if it is not
43
43
  # pre-installed on your base image.
44
44
  #
45
+ # <note markdown="1"> The user data is always base 64 encoded. For example, the following
46
+ # commands are encoded as
47
+ # `IyEvYmluL2Jhc2gKbWtkaXIgLXAgL3Zhci9iYi8KdG91Y2ggL3Zhci$`\:
48
+ #
49
+ # *#!/bin/bash*
50
+ #
51
+ # mkdir -p /var/bb/
52
+ #
53
+ # touch /var
54
+ #
45
55
  # </note>
46
56
  # @return [String]
47
57
  #
@@ -294,7 +304,7 @@ module Aws::Imagebuilder
294
304
  # @return [String]
295
305
  #
296
306
  # @!attribute [rw] data
297
- # The data of the component.
307
+ # Component data contains the YAML document content for the component.
298
308
  # @return [String]
299
309
  #
300
310
  # @!attribute [rw] kms_key_id
@@ -925,17 +935,20 @@ module Aws::Imagebuilder
925
935
  # @return [Array<String>]
926
936
  #
927
937
  # @!attribute [rw] data
928
- # The data of the component. Used to specify the data inline. Either
929
- # `data` or `uri` can be used to specify the data within the
930
- # component.
938
+ # Component `data` contains inline YAML document content for the
939
+ # component. Alternatively, you can specify the `uri` of a YAML
940
+ # document file stored in Amazon S3. However, you cannot specify both
941
+ # properties.
931
942
  # @return [String]
932
943
  #
933
944
  # @!attribute [rw] uri
934
- # The uri of the component. Must be an Amazon S3 URL and the requester
935
- # must have permission to access the Amazon S3 bucket. If you use
936
- # Amazon S3, you can specify component content up to your service
937
- # quota. Either `data` or `uri` can be used to specify the data within
938
- # the component.
945
+ # The `uri` of a YAML component document file. This must be an S3 URL
946
+ # (`s3://bucket/key`), and the requester must have permission to
947
+ # access the S3 bucket it points to. If you use Amazon S3, you can
948
+ # specify component content up to your service quota.
949
+ #
950
+ # Alternatively, you can specify the YAML document inline, using the
951
+ # component `data` property. You cannot specify both properties.
939
952
  # @return [String]
940
953
  #
941
954
  # @!attribute [rw] kms_key_id
@@ -1231,6 +1244,21 @@ module Aws::Imagebuilder
1231
1244
  # s3_bucket: "NonEmptyString", # required
1232
1245
  # s3_prefix: "NonEmptyString",
1233
1246
  # },
1247
+ # fast_launch_configurations: [
1248
+ # {
1249
+ # enabled: false, # required
1250
+ # snapshot_configuration: {
1251
+ # target_resource_count: 1,
1252
+ # },
1253
+ # max_parallel_launches: 1,
1254
+ # launch_template: {
1255
+ # launch_template_id: "LaunchTemplateId",
1256
+ # launch_template_name: "NonEmptyString",
1257
+ # launch_template_version: "NonEmptyString",
1258
+ # },
1259
+ # account_id: "AccountId",
1260
+ # },
1261
+ # ],
1234
1262
  # },
1235
1263
  # ],
1236
1264
  # tags: {
@@ -2141,6 +2169,21 @@ module Aws::Imagebuilder
2141
2169
  # s3_bucket: "NonEmptyString", # required
2142
2170
  # s3_prefix: "NonEmptyString",
2143
2171
  # },
2172
+ # fast_launch_configurations: [
2173
+ # {
2174
+ # enabled: false, # required
2175
+ # snapshot_configuration: {
2176
+ # target_resource_count: 1,
2177
+ # },
2178
+ # max_parallel_launches: 1,
2179
+ # launch_template: {
2180
+ # launch_template_id: "LaunchTemplateId",
2181
+ # launch_template_name: "NonEmptyString",
2182
+ # launch_template_version: "NonEmptyString",
2183
+ # },
2184
+ # account_id: "AccountId",
2185
+ # },
2186
+ # ],
2144
2187
  # }
2145
2188
  #
2146
2189
  # @!attribute [rw] region
@@ -2173,6 +2216,11 @@ module Aws::Imagebuilder
2173
2216
  # that Region.
2174
2217
  # @return [Types::S3ExportConfiguration]
2175
2218
  #
2219
+ # @!attribute [rw] fast_launch_configurations
2220
+ # The Windows faster-launching configurations to use for AMI
2221
+ # distribution.
2222
+ # @return [Array<Types::FastLaunchConfiguration>]
2223
+ #
2176
2224
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/Distribution AWS API Documentation
2177
2225
  #
2178
2226
  class Distribution < Struct.new(
@@ -2181,7 +2229,8 @@ module Aws::Imagebuilder
2181
2229
  :container_distribution_configuration,
2182
2230
  :license_configuration_arns,
2183
2231
  :launch_template_configurations,
2184
- :s3_export_configuration)
2232
+ :s3_export_configuration,
2233
+ :fast_launch_configurations)
2185
2234
  SENSITIVE = []
2186
2235
  include Aws::Structure
2187
2236
  end
@@ -2344,6 +2393,129 @@ module Aws::Imagebuilder
2344
2393
  include Aws::Structure
2345
2394
  end
2346
2395
 
2396
+ # Define and configure faster launching for output Windows AMIs.
2397
+ #
2398
+ # @note When making an API call, you may pass FastLaunchConfiguration
2399
+ # data as a hash:
2400
+ #
2401
+ # {
2402
+ # enabled: false, # required
2403
+ # snapshot_configuration: {
2404
+ # target_resource_count: 1,
2405
+ # },
2406
+ # max_parallel_launches: 1,
2407
+ # launch_template: {
2408
+ # launch_template_id: "LaunchTemplateId",
2409
+ # launch_template_name: "NonEmptyString",
2410
+ # launch_template_version: "NonEmptyString",
2411
+ # },
2412
+ # account_id: "AccountId",
2413
+ # }
2414
+ #
2415
+ # @!attribute [rw] enabled
2416
+ # A Boolean that represents the current state of faster launching for
2417
+ # the Windows AMI. Set to `true` to start using Windows faster
2418
+ # launching, or `false` to stop using it.
2419
+ # @return [Boolean]
2420
+ #
2421
+ # @!attribute [rw] snapshot_configuration
2422
+ # Configuration settings for managing the number of snapshots that are
2423
+ # created from pre-provisioned instances for the Windows AMI when
2424
+ # faster launching is enabled.
2425
+ # @return [Types::FastLaunchSnapshotConfiguration]
2426
+ #
2427
+ # @!attribute [rw] max_parallel_launches
2428
+ # The maximum number of parallel instances that are launched for
2429
+ # creating resources.
2430
+ # @return [Integer]
2431
+ #
2432
+ # @!attribute [rw] launch_template
2433
+ # The launch template that the fast-launch enabled Windows AMI uses
2434
+ # when it launches Windows instances to create pre-provisioned
2435
+ # snapshots.
2436
+ # @return [Types::FastLaunchLaunchTemplateSpecification]
2437
+ #
2438
+ # @!attribute [rw] account_id
2439
+ # The owner account ID for the fast-launch enabled Windows AMI.
2440
+ # @return [String]
2441
+ #
2442
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/FastLaunchConfiguration AWS API Documentation
2443
+ #
2444
+ class FastLaunchConfiguration < Struct.new(
2445
+ :enabled,
2446
+ :snapshot_configuration,
2447
+ :max_parallel_launches,
2448
+ :launch_template,
2449
+ :account_id)
2450
+ SENSITIVE = []
2451
+ include Aws::Structure
2452
+ end
2453
+
2454
+ # Identifies the launch template that the associated Windows AMI uses
2455
+ # for launching an instance when faster launching is enabled.
2456
+ #
2457
+ # <note markdown="1"> You can specify either the `launchTemplateName` or the
2458
+ # `launchTemplateId`, but not both.
2459
+ #
2460
+ # </note>
2461
+ #
2462
+ # @note When making an API call, you may pass FastLaunchLaunchTemplateSpecification
2463
+ # data as a hash:
2464
+ #
2465
+ # {
2466
+ # launch_template_id: "LaunchTemplateId",
2467
+ # launch_template_name: "NonEmptyString",
2468
+ # launch_template_version: "NonEmptyString",
2469
+ # }
2470
+ #
2471
+ # @!attribute [rw] launch_template_id
2472
+ # The ID of the launch template to use for faster launching for a
2473
+ # Windows AMI.
2474
+ # @return [String]
2475
+ #
2476
+ # @!attribute [rw] launch_template_name
2477
+ # The name of the launch template to use for faster launching for a
2478
+ # Windows AMI.
2479
+ # @return [String]
2480
+ #
2481
+ # @!attribute [rw] launch_template_version
2482
+ # The version of the launch template to use for faster launching for a
2483
+ # Windows AMI.
2484
+ # @return [String]
2485
+ #
2486
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/FastLaunchLaunchTemplateSpecification AWS API Documentation
2487
+ #
2488
+ class FastLaunchLaunchTemplateSpecification < Struct.new(
2489
+ :launch_template_id,
2490
+ :launch_template_name,
2491
+ :launch_template_version)
2492
+ SENSITIVE = []
2493
+ include Aws::Structure
2494
+ end
2495
+
2496
+ # Configuration settings for creating and managing pre-provisioned
2497
+ # snapshots for a fast-launch enabled Windows AMI.
2498
+ #
2499
+ # @note When making an API call, you may pass FastLaunchSnapshotConfiguration
2500
+ # data as a hash:
2501
+ #
2502
+ # {
2503
+ # target_resource_count: 1,
2504
+ # }
2505
+ #
2506
+ # @!attribute [rw] target_resource_count
2507
+ # The number of pre-provisioned snapshots to keep on hand for a
2508
+ # fast-launch enabled Windows AMI.
2509
+ # @return [Integer]
2510
+ #
2511
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/FastLaunchSnapshotConfiguration AWS API Documentation
2512
+ #
2513
+ class FastLaunchSnapshotConfiguration < Struct.new(
2514
+ :target_resource_count)
2515
+ SENSITIVE = []
2516
+ include Aws::Structure
2517
+ end
2518
+
2347
2519
  # A filter name and value pair that is used to return a more specific
2348
2520
  # list of results from a list operation. Filters can be used to match a
2349
2521
  # set of resources by specific criteria, such as tags, attributes, or
@@ -5717,6 +5889,21 @@ module Aws::Imagebuilder
5717
5889
  # s3_bucket: "NonEmptyString", # required
5718
5890
  # s3_prefix: "NonEmptyString",
5719
5891
  # },
5892
+ # fast_launch_configurations: [
5893
+ # {
5894
+ # enabled: false, # required
5895
+ # snapshot_configuration: {
5896
+ # target_resource_count: 1,
5897
+ # },
5898
+ # max_parallel_launches: 1,
5899
+ # launch_template: {
5900
+ # launch_template_id: "LaunchTemplateId",
5901
+ # launch_template_name: "NonEmptyString",
5902
+ # launch_template_version: "NonEmptyString",
5903
+ # },
5904
+ # account_id: "AccountId",
5905
+ # },
5906
+ # ],
5720
5907
  # },
5721
5908
  # ],
5722
5909
  # client_token: "ClientToken", # required
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-imagebuilder/customizations'
48
48
  # @!group service
49
49
  module Aws::Imagebuilder
50
50
 
51
- GEM_VERSION = '1.38.0'
51
+ GEM_VERSION = '1.39.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-imagebuilder
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.38.0
4
+ version: 1.39.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: 2022-02-03 00:00:00.000000000 Z
11
+ date: 2022-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core