aws-sdk-imagebuilder 1.113.0 → 1.114.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-imagebuilder/client.rb +61 -1
- data/lib/aws-sdk-imagebuilder/client_api.rb +16 -0
- data/lib/aws-sdk-imagebuilder/types.rb +104 -1
- data/lib/aws-sdk-imagebuilder.rb +1 -1
- data/sig/client.rbs +14 -0
- data/sig/types.rbs +17 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0ef750efb132d731a44d898006afb683adadf736e3e1f8fcf0f82cd5b5affc8a
|
|
4
|
+
data.tar.gz: 4602f0d40768a0e1f9906d1034899470cf692e2ce7f310ccbd0291db1dd31a8c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cec45eb22f511c1d2bf0c68d91b3078f61dbe8c626cf17f49970cd01f1c42b7fd8a59e3afb9ace628daeb3f2584f7d99a9af68d5e86288899adf5d92838abf29
|
|
7
|
+
data.tar.gz: e32dc1ca5b38b47ab7a027187c36e091b75163dfd22e3d75c1c750e6f07f2ef66dca2f07d7031820d747455a648d795e20a1c11e88904f95db0e0e7c9915fe66
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.114.0 (2026-10-14)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds parentInstance to infrastructure configurations, so builds can use an already-running instance from an Amazon EC2 Auto Scaling group. It also adds terminateInstanceOnCompletion, which keeps build and test instances running after image creation ends.
|
|
8
|
+
|
|
4
9
|
1.113.0 (2026-09-23)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.114.0
|
|
@@ -2102,6 +2102,11 @@ module Aws::Imagebuilder
|
|
|
2102
2102
|
# your AMI if the build or test phase of your workflow fails. Defaults
|
|
2103
2103
|
# to `true`.
|
|
2104
2104
|
#
|
|
2105
|
+
# @option params [Boolean] :terminate_instance_on_completion
|
|
2106
|
+
# Specifies whether Image Builder terminates build and test instances
|
|
2107
|
+
# when image creation ends without a failure (success, cancellation, or
|
|
2108
|
+
# expiration). Defaults to `true`.
|
|
2109
|
+
#
|
|
2105
2110
|
# @option params [String] :sns_topic_arn
|
|
2106
2111
|
# The Amazon Resource Name (ARN) of the SNS topic to which Image Builder
|
|
2107
2112
|
# sends image build event notifications. Specify a standard topic. Image
|
|
@@ -2152,6 +2157,21 @@ module Aws::Imagebuilder
|
|
|
2152
2157
|
# settings don't affect instances that you launch from the output
|
|
2153
2158
|
# image.
|
|
2154
2159
|
#
|
|
2160
|
+
# @option params [Types::ParentInstanceConfiguration] :parent_instance
|
|
2161
|
+
# The Amazon EC2 Auto Scaling group that Image Builder takes the build
|
|
2162
|
+
# instance from, instead of launching a new instance. This applies only
|
|
2163
|
+
# to the build phase.
|
|
2164
|
+
#
|
|
2165
|
+
# To use this feature, the execution role for the build must have
|
|
2166
|
+
# permissions to describe the Auto Scaling group, tag the instance while
|
|
2167
|
+
# it's still in the group, and detach it from the group. For more
|
|
2168
|
+
# information, see [Build on an instance from an Auto Scaling group][1]
|
|
2169
|
+
# in the *EC2 Image Builder User Guide*.
|
|
2170
|
+
#
|
|
2171
|
+
#
|
|
2172
|
+
#
|
|
2173
|
+
# [1]: https://docs.aws.amazon.com/imagebuilder/latest/userguide/infra-config-parent-instance.html
|
|
2174
|
+
#
|
|
2155
2175
|
# @option params [required, String] :client_token
|
|
2156
2176
|
# A unique, case-sensitive identifier you provide to ensure that the
|
|
2157
2177
|
# operation runs no more than one time. If you retry a request with the
|
|
@@ -2251,6 +2271,7 @@ module Aws::Imagebuilder
|
|
|
2251
2271
|
# },
|
|
2252
2272
|
# key_pair: "NonEmptyString",
|
|
2253
2273
|
# terminate_instance_on_failure: false,
|
|
2274
|
+
# terminate_instance_on_completion: false,
|
|
2254
2275
|
# sns_topic_arn: "SnsTopicArn",
|
|
2255
2276
|
# resource_tags: {
|
|
2256
2277
|
# "TagKey" => "TagValue",
|
|
@@ -2268,6 +2289,12 @@ module Aws::Imagebuilder
|
|
|
2268
2289
|
# host_id: "NonEmptyString",
|
|
2269
2290
|
# host_resource_group_arn: "NonEmptyString",
|
|
2270
2291
|
# },
|
|
2292
|
+
# parent_instance: {
|
|
2293
|
+
# auto_scaling_group: { # required
|
|
2294
|
+
# name: "NonEmptyString", # required
|
|
2295
|
+
# capacity_wait_timeout_seconds: 1,
|
|
2296
|
+
# },
|
|
2297
|
+
# },
|
|
2271
2298
|
# client_token: "ClientToken", # required
|
|
2272
2299
|
# dry_run: false,
|
|
2273
2300
|
# })
|
|
@@ -3844,6 +3871,9 @@ module Aws::Imagebuilder
|
|
|
3844
3871
|
# resp.image.infrastructure_configuration.placement.tenancy #=> String, one of "default", "dedicated", "host"
|
|
3845
3872
|
# resp.image.infrastructure_configuration.placement.host_id #=> String
|
|
3846
3873
|
# resp.image.infrastructure_configuration.placement.host_resource_group_arn #=> String
|
|
3874
|
+
# resp.image.infrastructure_configuration.terminate_instance_on_completion #=> Boolean
|
|
3875
|
+
# resp.image.infrastructure_configuration.parent_instance.auto_scaling_group.name #=> String
|
|
3876
|
+
# resp.image.infrastructure_configuration.parent_instance.auto_scaling_group.capacity_wait_timeout_seconds #=> Integer
|
|
3847
3877
|
# resp.image.distribution_configuration.arn #=> String
|
|
3848
3878
|
# resp.image.distribution_configuration.name #=> String
|
|
3849
3879
|
# resp.image.distribution_configuration.description #=> String
|
|
@@ -4356,6 +4386,9 @@ module Aws::Imagebuilder
|
|
|
4356
4386
|
# resp.infrastructure_configuration.placement.tenancy #=> String, one of "default", "dedicated", "host"
|
|
4357
4387
|
# resp.infrastructure_configuration.placement.host_id #=> String
|
|
4358
4388
|
# resp.infrastructure_configuration.placement.host_resource_group_arn #=> String
|
|
4389
|
+
# resp.infrastructure_configuration.terminate_instance_on_completion #=> Boolean
|
|
4390
|
+
# resp.infrastructure_configuration.parent_instance.auto_scaling_group.name #=> String
|
|
4391
|
+
# resp.infrastructure_configuration.parent_instance.auto_scaling_group.capacity_wait_timeout_seconds #=> Integer
|
|
4359
4392
|
#
|
|
4360
4393
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetInfrastructureConfiguration AWS API Documentation
|
|
4361
4394
|
#
|
|
@@ -8963,6 +8996,11 @@ module Aws::Imagebuilder
|
|
|
8963
8996
|
# your AMI if the build or test phase of your workflow fails. Defaults
|
|
8964
8997
|
# to `true`.
|
|
8965
8998
|
#
|
|
8999
|
+
# @option params [Boolean] :terminate_instance_on_completion
|
|
9000
|
+
# Specifies whether Image Builder terminates build and test instances
|
|
9001
|
+
# when image creation ends without a failure (success, cancellation, or
|
|
9002
|
+
# expiration). Defaults to `true`.
|
|
9003
|
+
#
|
|
8966
9004
|
# @option params [String] :sns_topic_arn
|
|
8967
9005
|
# The Amazon Resource Name (ARN) of the SNS topic to which Image Builder
|
|
8968
9006
|
# sends image build event notifications. Specify a standard topic. Image
|
|
@@ -9008,6 +9046,21 @@ module Aws::Imagebuilder
|
|
|
9008
9046
|
# settings don't affect instances that you launch from the output
|
|
9009
9047
|
# image.
|
|
9010
9048
|
#
|
|
9049
|
+
# @option params [Types::ParentInstanceConfiguration] :parent_instance
|
|
9050
|
+
# The Amazon EC2 Auto Scaling group that Image Builder takes the build
|
|
9051
|
+
# instance from, instead of launching a new instance. This applies only
|
|
9052
|
+
# to the build phase.
|
|
9053
|
+
#
|
|
9054
|
+
# To use this feature, the execution role for the build must have
|
|
9055
|
+
# permissions to describe the Auto Scaling group, tag the instance while
|
|
9056
|
+
# it's still in the group, and detach it from the group. For more
|
|
9057
|
+
# information, see [Build on an instance from an Auto Scaling group][1]
|
|
9058
|
+
# in the *EC2 Image Builder User Guide*.
|
|
9059
|
+
#
|
|
9060
|
+
#
|
|
9061
|
+
#
|
|
9062
|
+
# [1]: https://docs.aws.amazon.com/imagebuilder/latest/userguide/infra-config-parent-instance.html
|
|
9063
|
+
#
|
|
9011
9064
|
# @option params [required, String] :client_token
|
|
9012
9065
|
# A unique, case-sensitive identifier you provide to ensure that the
|
|
9013
9066
|
# operation runs no more than one time. If you retry a request with the
|
|
@@ -9069,6 +9122,7 @@ module Aws::Imagebuilder
|
|
|
9069
9122
|
# },
|
|
9070
9123
|
# key_pair: "NonEmptyString",
|
|
9071
9124
|
# terminate_instance_on_failure: false,
|
|
9125
|
+
# terminate_instance_on_completion: false,
|
|
9072
9126
|
# sns_topic_arn: "SnsTopicArn",
|
|
9073
9127
|
# resource_tags: {
|
|
9074
9128
|
# "TagKey" => "TagValue",
|
|
@@ -9083,6 +9137,12 @@ module Aws::Imagebuilder
|
|
|
9083
9137
|
# host_id: "NonEmptyString",
|
|
9084
9138
|
# host_resource_group_arn: "NonEmptyString",
|
|
9085
9139
|
# },
|
|
9140
|
+
# parent_instance: {
|
|
9141
|
+
# auto_scaling_group: { # required
|
|
9142
|
+
# name: "NonEmptyString", # required
|
|
9143
|
+
# capacity_wait_timeout_seconds: 1,
|
|
9144
|
+
# },
|
|
9145
|
+
# },
|
|
9086
9146
|
# client_token: "ClientToken", # required
|
|
9087
9147
|
# })
|
|
9088
9148
|
#
|
|
@@ -9284,7 +9344,7 @@ module Aws::Imagebuilder
|
|
|
9284
9344
|
tracer: tracer
|
|
9285
9345
|
)
|
|
9286
9346
|
context[:gem_name] = 'aws-sdk-imagebuilder'
|
|
9287
|
-
context[:gem_version] = '1.
|
|
9347
|
+
context[:gem_version] = '1.114.0'
|
|
9288
9348
|
Seahorse::Client::Request.new(handlers, context)
|
|
9289
9349
|
end
|
|
9290
9350
|
|
|
@@ -28,6 +28,7 @@ module Aws::Imagebuilder
|
|
|
28
28
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
|
29
29
|
AutoDisableFailureCount = Shapes::IntegerShape.new(name: 'AutoDisableFailureCount')
|
|
30
30
|
AutoDisablePolicy = Shapes::StructureShape.new(name: 'AutoDisablePolicy')
|
|
31
|
+
AutoScalingGroupConfiguration = Shapes::StructureShape.new(name: 'AutoScalingGroupConfiguration')
|
|
31
32
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
32
33
|
BuildType = Shapes::StringShape.new(name: 'BuildType')
|
|
33
34
|
CallRateLimitExceededException = Shapes::StructureShape.new(name: 'CallRateLimitExceededException')
|
|
@@ -35,6 +36,7 @@ module Aws::Imagebuilder
|
|
|
35
36
|
CancelImageCreationResponse = Shapes::StructureShape.new(name: 'CancelImageCreationResponse')
|
|
36
37
|
CancelLifecycleExecutionRequest = Shapes::StructureShape.new(name: 'CancelLifecycleExecutionRequest')
|
|
37
38
|
CancelLifecycleExecutionResponse = Shapes::StructureShape.new(name: 'CancelLifecycleExecutionResponse')
|
|
39
|
+
CapacityWaitTimeoutSeconds = Shapes::IntegerShape.new(name: 'CapacityWaitTimeoutSeconds')
|
|
38
40
|
ClientException = Shapes::StructureShape.new(name: 'ClientException')
|
|
39
41
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
|
40
42
|
Component = Shapes::StructureShape.new(name: 'Component')
|
|
@@ -362,6 +364,7 @@ module Aws::Imagebuilder
|
|
|
362
364
|
PackageVulnerabilityDetails = Shapes::StructureShape.new(name: 'PackageVulnerabilityDetails')
|
|
363
365
|
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
|
364
366
|
ParallelGroup = Shapes::StringShape.new(name: 'ParallelGroup')
|
|
367
|
+
ParentInstanceConfiguration = Shapes::StructureShape.new(name: 'ParentInstanceConfiguration')
|
|
365
368
|
PipelineExecutionStartCondition = Shapes::StringShape.new(name: 'PipelineExecutionStartCondition')
|
|
366
369
|
PipelineLoggingConfiguration = Shapes::StructureShape.new(name: 'PipelineLoggingConfiguration')
|
|
367
370
|
PipelineStatus = Shapes::StringShape.new(name: 'PipelineStatus')
|
|
@@ -540,6 +543,10 @@ module Aws::Imagebuilder
|
|
|
540
543
|
AutoDisablePolicy.add_member(:failure_count, Shapes::ShapeRef.new(shape: AutoDisableFailureCount, required: true, location_name: "failureCount"))
|
|
541
544
|
AutoDisablePolicy.struct_class = Types::AutoDisablePolicy
|
|
542
545
|
|
|
546
|
+
AutoScalingGroupConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "name"))
|
|
547
|
+
AutoScalingGroupConfiguration.add_member(:capacity_wait_timeout_seconds, Shapes::ShapeRef.new(shape: CapacityWaitTimeoutSeconds, location_name: "capacityWaitTimeoutSeconds"))
|
|
548
|
+
AutoScalingGroupConfiguration.struct_class = Types::AutoScalingGroupConfiguration
|
|
549
|
+
|
|
543
550
|
CallRateLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
|
544
551
|
CallRateLimitExceededException.struct_class = Types::CallRateLimitExceededException
|
|
545
552
|
|
|
@@ -825,11 +832,13 @@ module Aws::Imagebuilder
|
|
|
825
832
|
CreateInfrastructureConfigurationRequest.add_member(:logging, Shapes::ShapeRef.new(shape: Logging, location_name: "logging"))
|
|
826
833
|
CreateInfrastructureConfigurationRequest.add_member(:key_pair, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "keyPair"))
|
|
827
834
|
CreateInfrastructureConfigurationRequest.add_member(:terminate_instance_on_failure, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "terminateInstanceOnFailure"))
|
|
835
|
+
CreateInfrastructureConfigurationRequest.add_member(:terminate_instance_on_completion, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "terminateInstanceOnCompletion"))
|
|
828
836
|
CreateInfrastructureConfigurationRequest.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: SnsTopicArn, location_name: "snsTopicArn"))
|
|
829
837
|
CreateInfrastructureConfigurationRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagMap, location_name: "resourceTags"))
|
|
830
838
|
CreateInfrastructureConfigurationRequest.add_member(:instance_metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptions, location_name: "instanceMetadataOptions"))
|
|
831
839
|
CreateInfrastructureConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
|
832
840
|
CreateInfrastructureConfigurationRequest.add_member(:placement, Shapes::ShapeRef.new(shape: Placement, location_name: "placement"))
|
|
841
|
+
CreateInfrastructureConfigurationRequest.add_member(:parent_instance, Shapes::ShapeRef.new(shape: ParentInstanceConfiguration, location_name: "parentInstance"))
|
|
833
842
|
CreateInfrastructureConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
834
843
|
CreateInfrastructureConfigurationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
|
835
844
|
CreateInfrastructureConfigurationRequest.struct_class = Types::CreateInfrastructureConfigurationRequest
|
|
@@ -1474,6 +1483,8 @@ module Aws::Imagebuilder
|
|
|
1474
1483
|
InfrastructureConfiguration.add_member(:instance_metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptions, location_name: "instanceMetadataOptions"))
|
|
1475
1484
|
InfrastructureConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
|
1476
1485
|
InfrastructureConfiguration.add_member(:placement, Shapes::ShapeRef.new(shape: Placement, location_name: "placement"))
|
|
1486
|
+
InfrastructureConfiguration.add_member(:terminate_instance_on_completion, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "terminateInstanceOnCompletion"))
|
|
1487
|
+
InfrastructureConfiguration.add_member(:parent_instance, Shapes::ShapeRef.new(shape: ParentInstanceConfiguration, location_name: "parentInstance"))
|
|
1477
1488
|
InfrastructureConfiguration.struct_class = Types::InfrastructureConfiguration
|
|
1478
1489
|
|
|
1479
1490
|
InfrastructureConfigurationSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, location_name: "arn"))
|
|
@@ -1925,6 +1936,9 @@ module Aws::Imagebuilder
|
|
|
1925
1936
|
PackageVulnerabilityDetails.add_member(:reference_urls, Shapes::ShapeRef.new(shape: NonEmptyStringList, location_name: "referenceUrls"))
|
|
1926
1937
|
PackageVulnerabilityDetails.struct_class = Types::PackageVulnerabilityDetails
|
|
1927
1938
|
|
|
1939
|
+
ParentInstanceConfiguration.add_member(:auto_scaling_group, Shapes::ShapeRef.new(shape: AutoScalingGroupConfiguration, required: true, location_name: "autoScalingGroup"))
|
|
1940
|
+
ParentInstanceConfiguration.struct_class = Types::ParentInstanceConfiguration
|
|
1941
|
+
|
|
1928
1942
|
PipelineLoggingConfiguration.add_member(:image_log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "imageLogGroupName"))
|
|
1929
1943
|
PipelineLoggingConfiguration.add_member(:pipeline_log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "pipelineLogGroupName"))
|
|
1930
1944
|
PipelineLoggingConfiguration.struct_class = Types::PipelineLoggingConfiguration
|
|
@@ -2176,10 +2190,12 @@ module Aws::Imagebuilder
|
|
|
2176
2190
|
UpdateInfrastructureConfigurationRequest.add_member(:logging, Shapes::ShapeRef.new(shape: Logging, location_name: "logging"))
|
|
2177
2191
|
UpdateInfrastructureConfigurationRequest.add_member(:key_pair, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "keyPair"))
|
|
2178
2192
|
UpdateInfrastructureConfigurationRequest.add_member(:terminate_instance_on_failure, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "terminateInstanceOnFailure"))
|
|
2193
|
+
UpdateInfrastructureConfigurationRequest.add_member(:terminate_instance_on_completion, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "terminateInstanceOnCompletion"))
|
|
2179
2194
|
UpdateInfrastructureConfigurationRequest.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: SnsTopicArn, location_name: "snsTopicArn"))
|
|
2180
2195
|
UpdateInfrastructureConfigurationRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagMap, location_name: "resourceTags"))
|
|
2181
2196
|
UpdateInfrastructureConfigurationRequest.add_member(:instance_metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptions, location_name: "instanceMetadataOptions"))
|
|
2182
2197
|
UpdateInfrastructureConfigurationRequest.add_member(:placement, Shapes::ShapeRef.new(shape: Placement, location_name: "placement"))
|
|
2198
|
+
UpdateInfrastructureConfigurationRequest.add_member(:parent_instance, Shapes::ShapeRef.new(shape: ParentInstanceConfiguration, location_name: "parentInstance"))
|
|
2183
2199
|
UpdateInfrastructureConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
2184
2200
|
UpdateInfrastructureConfigurationRequest.struct_class = Types::UpdateInfrastructureConfigurationRequest
|
|
2185
2201
|
|
|
@@ -216,6 +216,32 @@ module Aws::Imagebuilder
|
|
|
216
216
|
include Aws::Structure
|
|
217
217
|
end
|
|
218
218
|
|
|
219
|
+
# Identifies the Amazon EC2 Auto Scaling group that Image Builder takes
|
|
220
|
+
# the build instance from, and how long Image Builder waits when the
|
|
221
|
+
# group has no instance available.
|
|
222
|
+
#
|
|
223
|
+
# @!attribute [rw] name
|
|
224
|
+
# The name of the Auto Scaling group, in the same account and Amazon
|
|
225
|
+
# Web Services Region as the infrastructure configuration. To specify
|
|
226
|
+
# a group, you must have permissions to describe it.
|
|
227
|
+
# @return [String]
|
|
228
|
+
#
|
|
229
|
+
# @!attribute [rw] capacity_wait_timeout_seconds
|
|
230
|
+
# The number of seconds that Image Builder waits for an instance to
|
|
231
|
+
# become available in the group before the build fails. If you set
|
|
232
|
+
# this value to 0 or omit it, the build fails as soon as the group has
|
|
233
|
+
# no instance available.
|
|
234
|
+
# @return [Integer]
|
|
235
|
+
#
|
|
236
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/AutoScalingGroupConfiguration AWS API Documentation
|
|
237
|
+
#
|
|
238
|
+
class AutoScalingGroupConfiguration < Struct.new(
|
|
239
|
+
:name,
|
|
240
|
+
:capacity_wait_timeout_seconds)
|
|
241
|
+
SENSITIVE = []
|
|
242
|
+
include Aws::Structure
|
|
243
|
+
end
|
|
244
|
+
|
|
219
245
|
# You have exceeded the permitted request rate for the Amazon EC2 APIs
|
|
220
246
|
# that Image Builder calls on your behalf. Retry with an increasing or
|
|
221
247
|
# variable delay between requests.
|
|
@@ -2030,6 +2056,12 @@ module Aws::Imagebuilder
|
|
|
2030
2056
|
# to `true`.
|
|
2031
2057
|
# @return [Boolean]
|
|
2032
2058
|
#
|
|
2059
|
+
# @!attribute [rw] terminate_instance_on_completion
|
|
2060
|
+
# Specifies whether Image Builder terminates build and test instances
|
|
2061
|
+
# when image creation ends without a failure (success, cancellation,
|
|
2062
|
+
# or expiration). Defaults to `true`.
|
|
2063
|
+
# @return [Boolean]
|
|
2064
|
+
#
|
|
2033
2065
|
# @!attribute [rw] sns_topic_arn
|
|
2034
2066
|
# The Amazon Resource Name (ARN) of the SNS topic to which Image
|
|
2035
2067
|
# Builder sends image build event notifications. Specify a standard
|
|
@@ -2085,6 +2117,22 @@ module Aws::Imagebuilder
|
|
|
2085
2117
|
# output image.
|
|
2086
2118
|
# @return [Types::Placement]
|
|
2087
2119
|
#
|
|
2120
|
+
# @!attribute [rw] parent_instance
|
|
2121
|
+
# The Amazon EC2 Auto Scaling group that Image Builder takes the build
|
|
2122
|
+
# instance from, instead of launching a new instance. This applies
|
|
2123
|
+
# only to the build phase.
|
|
2124
|
+
#
|
|
2125
|
+
# To use this feature, the execution role for the build must have
|
|
2126
|
+
# permissions to describe the Auto Scaling group, tag the instance
|
|
2127
|
+
# while it's still in the group, and detach it from the group. For
|
|
2128
|
+
# more information, see [Build on an instance from an Auto Scaling
|
|
2129
|
+
# group][1] in the *EC2 Image Builder User Guide*.
|
|
2130
|
+
#
|
|
2131
|
+
#
|
|
2132
|
+
#
|
|
2133
|
+
# [1]: https://docs.aws.amazon.com/imagebuilder/latest/userguide/infra-config-parent-instance.html
|
|
2134
|
+
# @return [Types::ParentInstanceConfiguration]
|
|
2135
|
+
#
|
|
2088
2136
|
# @!attribute [rw] client_token
|
|
2089
2137
|
# A unique, case-sensitive identifier you provide to ensure that the
|
|
2090
2138
|
# operation runs no more than one time. If you retry a request with
|
|
@@ -2118,11 +2166,13 @@ module Aws::Imagebuilder
|
|
|
2118
2166
|
:logging,
|
|
2119
2167
|
:key_pair,
|
|
2120
2168
|
:terminate_instance_on_failure,
|
|
2169
|
+
:terminate_instance_on_completion,
|
|
2121
2170
|
:sns_topic_arn,
|
|
2122
2171
|
:resource_tags,
|
|
2123
2172
|
:instance_metadata_options,
|
|
2124
2173
|
:tags,
|
|
2125
2174
|
:placement,
|
|
2175
|
+
:parent_instance,
|
|
2126
2176
|
:client_token,
|
|
2127
2177
|
:dry_run)
|
|
2128
2178
|
SENSITIVE = []
|
|
@@ -5713,6 +5763,17 @@ module Aws::Imagebuilder
|
|
|
5713
5763
|
# output image.
|
|
5714
5764
|
# @return [Types::Placement]
|
|
5715
5765
|
#
|
|
5766
|
+
# @!attribute [rw] terminate_instance_on_completion
|
|
5767
|
+
# Specifies whether Image Builder terminates build and test instances
|
|
5768
|
+
# when image creation ends without a failure.
|
|
5769
|
+
# @return [Boolean]
|
|
5770
|
+
#
|
|
5771
|
+
# @!attribute [rw] parent_instance
|
|
5772
|
+
# The Amazon EC2 Auto Scaling group that Image Builder takes the build
|
|
5773
|
+
# instance from, instead of launching a new instance. This applies
|
|
5774
|
+
# only to the build phase.
|
|
5775
|
+
# @return [Types::ParentInstanceConfiguration]
|
|
5776
|
+
#
|
|
5716
5777
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/InfrastructureConfiguration AWS API Documentation
|
|
5717
5778
|
#
|
|
5718
5779
|
class InfrastructureConfiguration < Struct.new(
|
|
@@ -5732,7 +5793,9 @@ module Aws::Imagebuilder
|
|
|
5732
5793
|
:resource_tags,
|
|
5733
5794
|
:instance_metadata_options,
|
|
5734
5795
|
:tags,
|
|
5735
|
-
:placement
|
|
5796
|
+
:placement,
|
|
5797
|
+
:terminate_instance_on_completion,
|
|
5798
|
+
:parent_instance)
|
|
5736
5799
|
SENSITIVE = []
|
|
5737
5800
|
include Aws::Structure
|
|
5738
5801
|
end
|
|
@@ -8135,6 +8198,22 @@ module Aws::Imagebuilder
|
|
|
8135
8198
|
include Aws::Structure
|
|
8136
8199
|
end
|
|
8137
8200
|
|
|
8201
|
+
# Settings for building on an instance that is already running, instead
|
|
8202
|
+
# of an instance that Image Builder launches for the build.
|
|
8203
|
+
#
|
|
8204
|
+
# @!attribute [rw] auto_scaling_group
|
|
8205
|
+
# The Amazon EC2 Auto Scaling group that Image Builder takes the build
|
|
8206
|
+
# instance from. This is required when you specify `parentInstance`.
|
|
8207
|
+
# @return [Types::AutoScalingGroupConfiguration]
|
|
8208
|
+
#
|
|
8209
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ParentInstanceConfiguration AWS API Documentation
|
|
8210
|
+
#
|
|
8211
|
+
class ParentInstanceConfiguration < Struct.new(
|
|
8212
|
+
:auto_scaling_group)
|
|
8213
|
+
SENSITIVE = []
|
|
8214
|
+
include Aws::Structure
|
|
8215
|
+
end
|
|
8216
|
+
|
|
8138
8217
|
# The logging configuration that's defined for pipeline execution.
|
|
8139
8218
|
#
|
|
8140
8219
|
# @!attribute [rw] image_log_group_name
|
|
@@ -9516,6 +9595,12 @@ module Aws::Imagebuilder
|
|
|
9516
9595
|
# to `true`.
|
|
9517
9596
|
# @return [Boolean]
|
|
9518
9597
|
#
|
|
9598
|
+
# @!attribute [rw] terminate_instance_on_completion
|
|
9599
|
+
# Specifies whether Image Builder terminates build and test instances
|
|
9600
|
+
# when image creation ends without a failure (success, cancellation,
|
|
9601
|
+
# or expiration). Defaults to `true`.
|
|
9602
|
+
# @return [Boolean]
|
|
9603
|
+
#
|
|
9519
9604
|
# @!attribute [rw] sns_topic_arn
|
|
9520
9605
|
# The Amazon Resource Name (ARN) of the SNS topic to which Image
|
|
9521
9606
|
# Builder sends image build event notifications. Specify a standard
|
|
@@ -9565,6 +9650,22 @@ module Aws::Imagebuilder
|
|
|
9565
9650
|
# output image.
|
|
9566
9651
|
# @return [Types::Placement]
|
|
9567
9652
|
#
|
|
9653
|
+
# @!attribute [rw] parent_instance
|
|
9654
|
+
# The Amazon EC2 Auto Scaling group that Image Builder takes the build
|
|
9655
|
+
# instance from, instead of launching a new instance. This applies
|
|
9656
|
+
# only to the build phase.
|
|
9657
|
+
#
|
|
9658
|
+
# To use this feature, the execution role for the build must have
|
|
9659
|
+
# permissions to describe the Auto Scaling group, tag the instance
|
|
9660
|
+
# while it's still in the group, and detach it from the group. For
|
|
9661
|
+
# more information, see [Build on an instance from an Auto Scaling
|
|
9662
|
+
# group][1] in the *EC2 Image Builder User Guide*.
|
|
9663
|
+
#
|
|
9664
|
+
#
|
|
9665
|
+
#
|
|
9666
|
+
# [1]: https://docs.aws.amazon.com/imagebuilder/latest/userguide/infra-config-parent-instance.html
|
|
9667
|
+
# @return [Types::ParentInstanceConfiguration]
|
|
9668
|
+
#
|
|
9568
9669
|
# @!attribute [rw] client_token
|
|
9569
9670
|
# A unique, case-sensitive identifier you provide to ensure that the
|
|
9570
9671
|
# operation runs no more than one time. If you retry a request with
|
|
@@ -9592,10 +9693,12 @@ module Aws::Imagebuilder
|
|
|
9592
9693
|
:logging,
|
|
9593
9694
|
:key_pair,
|
|
9594
9695
|
:terminate_instance_on_failure,
|
|
9696
|
+
:terminate_instance_on_completion,
|
|
9595
9697
|
:sns_topic_arn,
|
|
9596
9698
|
:resource_tags,
|
|
9597
9699
|
:instance_metadata_options,
|
|
9598
9700
|
:placement,
|
|
9701
|
+
:parent_instance,
|
|
9599
9702
|
:client_token)
|
|
9600
9703
|
SENSITIVE = []
|
|
9601
9704
|
include Aws::Structure
|
data/lib/aws-sdk-imagebuilder.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -336,6 +336,7 @@ module Aws
|
|
|
336
336
|
},
|
|
337
337
|
?key_pair: ::String,
|
|
338
338
|
?terminate_instance_on_failure: bool,
|
|
339
|
+
?terminate_instance_on_completion: bool,
|
|
339
340
|
?sns_topic_arn: ::String,
|
|
340
341
|
?resource_tags: Hash[::String, ::String],
|
|
341
342
|
?instance_metadata_options: {
|
|
@@ -349,6 +350,12 @@ module Aws
|
|
|
349
350
|
host_id: ::String?,
|
|
350
351
|
host_resource_group_arn: ::String?
|
|
351
352
|
},
|
|
353
|
+
?parent_instance: {
|
|
354
|
+
auto_scaling_group: {
|
|
355
|
+
name: ::String,
|
|
356
|
+
capacity_wait_timeout_seconds: ::Integer?
|
|
357
|
+
}
|
|
358
|
+
},
|
|
352
359
|
client_token: ::String,
|
|
353
360
|
?dry_run: bool
|
|
354
361
|
) -> _CreateInfrastructureConfigurationResponseSuccess
|
|
@@ -1411,6 +1418,7 @@ module Aws
|
|
|
1411
1418
|
},
|
|
1412
1419
|
?key_pair: ::String,
|
|
1413
1420
|
?terminate_instance_on_failure: bool,
|
|
1421
|
+
?terminate_instance_on_completion: bool,
|
|
1414
1422
|
?sns_topic_arn: ::String,
|
|
1415
1423
|
?resource_tags: Hash[::String, ::String],
|
|
1416
1424
|
?instance_metadata_options: {
|
|
@@ -1423,6 +1431,12 @@ module Aws
|
|
|
1423
1431
|
host_id: ::String?,
|
|
1424
1432
|
host_resource_group_arn: ::String?
|
|
1425
1433
|
},
|
|
1434
|
+
?parent_instance: {
|
|
1435
|
+
auto_scaling_group: {
|
|
1436
|
+
name: ::String,
|
|
1437
|
+
capacity_wait_timeout_seconds: ::Integer?
|
|
1438
|
+
}
|
|
1439
|
+
},
|
|
1426
1440
|
client_token: ::String
|
|
1427
1441
|
) -> _UpdateInfrastructureConfigurationResponseSuccess
|
|
1428
1442
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateInfrastructureConfigurationResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -50,6 +50,12 @@ module Aws::Imagebuilder
|
|
|
50
50
|
SENSITIVE: []
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
+
class AutoScalingGroupConfiguration
|
|
54
|
+
attr_accessor name: ::String
|
|
55
|
+
attr_accessor capacity_wait_timeout_seconds: ::Integer
|
|
56
|
+
SENSITIVE: []
|
|
57
|
+
end
|
|
58
|
+
|
|
53
59
|
class CallRateLimitExceededException
|
|
54
60
|
attr_accessor message: ::String
|
|
55
61
|
SENSITIVE: []
|
|
@@ -380,11 +386,13 @@ module Aws::Imagebuilder
|
|
|
380
386
|
attr_accessor logging: Types::Logging
|
|
381
387
|
attr_accessor key_pair: ::String
|
|
382
388
|
attr_accessor terminate_instance_on_failure: bool
|
|
389
|
+
attr_accessor terminate_instance_on_completion: bool
|
|
383
390
|
attr_accessor sns_topic_arn: ::String
|
|
384
391
|
attr_accessor resource_tags: ::Hash[::String, ::String]
|
|
385
392
|
attr_accessor instance_metadata_options: Types::InstanceMetadataOptions
|
|
386
393
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
387
394
|
attr_accessor placement: Types::Placement
|
|
395
|
+
attr_accessor parent_instance: Types::ParentInstanceConfiguration
|
|
388
396
|
attr_accessor client_token: ::String
|
|
389
397
|
attr_accessor dry_run: bool
|
|
390
398
|
SENSITIVE: []
|
|
@@ -1197,6 +1205,8 @@ module Aws::Imagebuilder
|
|
|
1197
1205
|
attr_accessor instance_metadata_options: Types::InstanceMetadataOptions
|
|
1198
1206
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
1199
1207
|
attr_accessor placement: Types::Placement
|
|
1208
|
+
attr_accessor terminate_instance_on_completion: bool
|
|
1209
|
+
attr_accessor parent_instance: Types::ParentInstanceConfiguration
|
|
1200
1210
|
SENSITIVE: []
|
|
1201
1211
|
end
|
|
1202
1212
|
|
|
@@ -1777,6 +1787,11 @@ module Aws::Imagebuilder
|
|
|
1777
1787
|
SENSITIVE: []
|
|
1778
1788
|
end
|
|
1779
1789
|
|
|
1790
|
+
class ParentInstanceConfiguration
|
|
1791
|
+
attr_accessor auto_scaling_group: Types::AutoScalingGroupConfiguration
|
|
1792
|
+
SENSITIVE: []
|
|
1793
|
+
end
|
|
1794
|
+
|
|
1780
1795
|
class PipelineLoggingConfiguration
|
|
1781
1796
|
attr_accessor image_log_group_name: ::String
|
|
1782
1797
|
attr_accessor pipeline_log_group_name: ::String
|
|
@@ -2105,10 +2120,12 @@ module Aws::Imagebuilder
|
|
|
2105
2120
|
attr_accessor logging: Types::Logging
|
|
2106
2121
|
attr_accessor key_pair: ::String
|
|
2107
2122
|
attr_accessor terminate_instance_on_failure: bool
|
|
2123
|
+
attr_accessor terminate_instance_on_completion: bool
|
|
2108
2124
|
attr_accessor sns_topic_arn: ::String
|
|
2109
2125
|
attr_accessor resource_tags: ::Hash[::String, ::String]
|
|
2110
2126
|
attr_accessor instance_metadata_options: Types::InstanceMetadataOptions
|
|
2111
2127
|
attr_accessor placement: Types::Placement
|
|
2128
|
+
attr_accessor parent_instance: Types::ParentInstanceConfiguration
|
|
2112
2129
|
attr_accessor client_token: ::String
|
|
2113
2130
|
SENSITIVE: []
|
|
2114
2131
|
end
|