aws-sdk-imagebuilder 1.37.0 → 1.40.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 +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-imagebuilder/client.rb +68 -8
- data/lib/aws-sdk-imagebuilder/client_api.rb +24 -0
- data/lib/aws-sdk-imagebuilder/types.rb +198 -11
- data/lib/aws-sdk-imagebuilder.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7634d4d36c07c0924309690fd79e5135542f4ba0bd2ab246041d14622889bade
|
4
|
+
data.tar.gz: 5ea9b44c9c31066a9d5a1e466d58c7f67b1b859879384be1fd440eb73333d4ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc530d617e122ad6197aca61e06178e0c14825d6bd0e2a2f9ee27188850a306c8b5125c67a160c33fc3e47254ee9f43a7b31c829cd741f99fe6f059fcb9e307b
|
7
|
+
data.tar.gz: 6b8cadcb8d572105e497e43892d309785d5a4e7d957f976a29d50fec8d47dcd32a59b1ff48e947af1d185cbb6ddea81d4ce75f04bb6c7d5f014f6ab77cf67275
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.40.0 (2022-02-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.39.0 (2022-02-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support to enable faster launching for Windows AMIs created by EC2 Image Builder.
|
13
|
+
|
14
|
+
1.38.0 (2022-02-03)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.37.0 (2021-12-21)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.40.0
|
@@ -27,7 +27,9 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
33
35
|
|
@@ -74,7 +76,9 @@ module Aws::Imagebuilder
|
|
74
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
75
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
77
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
78
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
79
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
80
84
|
|
@@ -395,7 +399,13 @@ module Aws::Imagebuilder
|
|
395
399
|
end
|
396
400
|
|
397
401
|
# Creates a new component that can be used to build, validate, test, and
|
398
|
-
# assess your image.
|
402
|
+
# assess your image. The component is based on a YAML document that you
|
403
|
+
# specify using exactly one of the following methods:
|
404
|
+
#
|
405
|
+
# * Inline, using the `data` property in the request body.
|
406
|
+
#
|
407
|
+
# * A URL that points to a YAML document file stored in Amazon S3, using
|
408
|
+
# the `uri` property in the request body.
|
399
409
|
#
|
400
410
|
# @option params [required, String] :name
|
401
411
|
# The name of the component.
|
@@ -438,14 +448,18 @@ module Aws::Imagebuilder
|
|
438
448
|
# base image OS version during image recipe creation.
|
439
449
|
#
|
440
450
|
# @option params [String] :data
|
441
|
-
#
|
442
|
-
#
|
451
|
+
# Component `data` contains inline YAML document content for the
|
452
|
+
# component. Alternatively, you can specify the `uri` of a YAML document
|
453
|
+
# file stored in Amazon S3. However, you cannot specify both properties.
|
443
454
|
#
|
444
455
|
# @option params [String] :uri
|
445
|
-
# The uri of
|
446
|
-
# must have permission to access
|
447
|
-
# S3
|
448
|
-
#
|
456
|
+
# The `uri` of a YAML component document file. This must be an S3 URL
|
457
|
+
# (`s3://bucket/key`), and the requester must have permission to access
|
458
|
+
# the S3 bucket it points to. If you use Amazon S3, you can specify
|
459
|
+
# component content up to your service quota.
|
460
|
+
#
|
461
|
+
# Alternatively, you can specify the YAML document inline, using the
|
462
|
+
# component `data` property. You cannot specify both properties.
|
449
463
|
#
|
450
464
|
# @option params [String] :kms_key_id
|
451
465
|
# The ID of the KMS key that should be used to encrypt this component.
|
@@ -722,6 +736,21 @@ module Aws::Imagebuilder
|
|
722
736
|
# s3_bucket: "NonEmptyString", # required
|
723
737
|
# s3_prefix: "NonEmptyString",
|
724
738
|
# },
|
739
|
+
# fast_launch_configurations: [
|
740
|
+
# {
|
741
|
+
# enabled: false, # required
|
742
|
+
# snapshot_configuration: {
|
743
|
+
# target_resource_count: 1,
|
744
|
+
# },
|
745
|
+
# max_parallel_launches: 1,
|
746
|
+
# launch_template: {
|
747
|
+
# launch_template_id: "LaunchTemplateId",
|
748
|
+
# launch_template_name: "NonEmptyString",
|
749
|
+
# launch_template_version: "NonEmptyString",
|
750
|
+
# },
|
751
|
+
# account_id: "AccountId",
|
752
|
+
# },
|
753
|
+
# ],
|
725
754
|
# },
|
726
755
|
# ],
|
727
756
|
# tags: {
|
@@ -1638,6 +1667,14 @@ module Aws::Imagebuilder
|
|
1638
1667
|
# resp.distribution_configuration.distributions[0].s3_export_configuration.disk_image_format #=> String, one of "VMDK", "RAW", "VHD"
|
1639
1668
|
# resp.distribution_configuration.distributions[0].s3_export_configuration.s3_bucket #=> String
|
1640
1669
|
# resp.distribution_configuration.distributions[0].s3_export_configuration.s3_prefix #=> String
|
1670
|
+
# resp.distribution_configuration.distributions[0].fast_launch_configurations #=> Array
|
1671
|
+
# resp.distribution_configuration.distributions[0].fast_launch_configurations[0].enabled #=> Boolean
|
1672
|
+
# resp.distribution_configuration.distributions[0].fast_launch_configurations[0].snapshot_configuration.target_resource_count #=> Integer
|
1673
|
+
# resp.distribution_configuration.distributions[0].fast_launch_configurations[0].max_parallel_launches #=> Integer
|
1674
|
+
# resp.distribution_configuration.distributions[0].fast_launch_configurations[0].launch_template.launch_template_id #=> String
|
1675
|
+
# resp.distribution_configuration.distributions[0].fast_launch_configurations[0].launch_template.launch_template_name #=> String
|
1676
|
+
# resp.distribution_configuration.distributions[0].fast_launch_configurations[0].launch_template.launch_template_version #=> String
|
1677
|
+
# resp.distribution_configuration.distributions[0].fast_launch_configurations[0].account_id #=> String
|
1641
1678
|
# resp.distribution_configuration.timeout_minutes #=> Integer
|
1642
1679
|
# resp.distribution_configuration.date_created #=> String
|
1643
1680
|
# resp.distribution_configuration.date_updated #=> String
|
@@ -1808,6 +1845,14 @@ module Aws::Imagebuilder
|
|
1808
1845
|
# resp.image.distribution_configuration.distributions[0].s3_export_configuration.disk_image_format #=> String, one of "VMDK", "RAW", "VHD"
|
1809
1846
|
# resp.image.distribution_configuration.distributions[0].s3_export_configuration.s3_bucket #=> String
|
1810
1847
|
# resp.image.distribution_configuration.distributions[0].s3_export_configuration.s3_prefix #=> String
|
1848
|
+
# resp.image.distribution_configuration.distributions[0].fast_launch_configurations #=> Array
|
1849
|
+
# resp.image.distribution_configuration.distributions[0].fast_launch_configurations[0].enabled #=> Boolean
|
1850
|
+
# resp.image.distribution_configuration.distributions[0].fast_launch_configurations[0].snapshot_configuration.target_resource_count #=> Integer
|
1851
|
+
# resp.image.distribution_configuration.distributions[0].fast_launch_configurations[0].max_parallel_launches #=> Integer
|
1852
|
+
# resp.image.distribution_configuration.distributions[0].fast_launch_configurations[0].launch_template.launch_template_id #=> String
|
1853
|
+
# resp.image.distribution_configuration.distributions[0].fast_launch_configurations[0].launch_template.launch_template_name #=> String
|
1854
|
+
# resp.image.distribution_configuration.distributions[0].fast_launch_configurations[0].launch_template.launch_template_version #=> String
|
1855
|
+
# resp.image.distribution_configuration.distributions[0].fast_launch_configurations[0].account_id #=> String
|
1811
1856
|
# resp.image.distribution_configuration.timeout_minutes #=> Integer
|
1812
1857
|
# resp.image.distribution_configuration.date_created #=> String
|
1813
1858
|
# resp.image.distribution_configuration.date_updated #=> String
|
@@ -3456,6 +3501,21 @@ module Aws::Imagebuilder
|
|
3456
3501
|
# s3_bucket: "NonEmptyString", # required
|
3457
3502
|
# s3_prefix: "NonEmptyString",
|
3458
3503
|
# },
|
3504
|
+
# fast_launch_configurations: [
|
3505
|
+
# {
|
3506
|
+
# enabled: false, # required
|
3507
|
+
# snapshot_configuration: {
|
3508
|
+
# target_resource_count: 1,
|
3509
|
+
# },
|
3510
|
+
# max_parallel_launches: 1,
|
3511
|
+
# launch_template: {
|
3512
|
+
# launch_template_id: "LaunchTemplateId",
|
3513
|
+
# launch_template_name: "NonEmptyString",
|
3514
|
+
# launch_template_version: "NonEmptyString",
|
3515
|
+
# },
|
3516
|
+
# account_id: "AccountId",
|
3517
|
+
# },
|
3518
|
+
# ],
|
3459
3519
|
# },
|
3460
3520
|
# ],
|
3461
3521
|
# client_token: "ClientToken", # required
|
@@ -3713,7 +3773,7 @@ module Aws::Imagebuilder
|
|
3713
3773
|
params: params,
|
3714
3774
|
config: config)
|
3715
3775
|
context[:gem_name] = 'aws-sdk-imagebuilder'
|
3716
|
-
context[:gem_version] = '1.
|
3776
|
+
context[:gem_version] = '1.40.0'
|
3717
3777
|
Seahorse::Client::Request.new(handlers, context)
|
3718
3778
|
end
|
3719
3779
|
|
@@ -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
|
-
#
|
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
|
-
#
|
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
|
-
#
|
929
|
-
#
|
930
|
-
#
|
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
|
935
|
-
#
|
936
|
-
#
|
937
|
-
#
|
938
|
-
#
|
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
|
data/lib/aws-sdk-imagebuilder.rb
CHANGED
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.
|
4
|
+
version: 1.40.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:
|
11
|
+
date: 2022-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.127.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|