aws-sdk-imagebuilder 1.18.0 → 1.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +125 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-imagebuilder.rb +2 -2
- data/lib/aws-sdk-imagebuilder/client.rb +209 -29
- data/lib/aws-sdk-imagebuilder/client_api.rb +109 -5
- data/lib/aws-sdk-imagebuilder/errors.rb +1 -1
- data/lib/aws-sdk-imagebuilder/resource.rb +1 -1
- data/lib/aws-sdk-imagebuilder/types.rb +466 -47
- metadata +9 -7
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -15,6 +15,7 @@ module Aws::Imagebuilder
|
|
15
15
|
|
16
16
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
17
17
|
AccountList = Shapes::ListShape.new(name: 'AccountList')
|
18
|
+
AdditionalInstanceConfiguration = Shapes::StructureShape.new(name: 'AdditionalInstanceConfiguration')
|
18
19
|
Ami = Shapes::StructureShape.new(name: 'Ami')
|
19
20
|
AmiDistributionConfiguration = Shapes::StructureShape.new(name: 'AmiDistributionConfiguration')
|
20
21
|
AmiList = Shapes::ListShape.new(name: 'AmiList')
|
@@ -32,6 +33,15 @@ module Aws::Imagebuilder
|
|
32
33
|
ComponentConfigurationList = Shapes::ListShape.new(name: 'ComponentConfigurationList')
|
33
34
|
ComponentData = Shapes::StringShape.new(name: 'ComponentData')
|
34
35
|
ComponentFormat = Shapes::StringShape.new(name: 'ComponentFormat')
|
36
|
+
ComponentParameter = Shapes::StructureShape.new(name: 'ComponentParameter')
|
37
|
+
ComponentParameterDescription = Shapes::StringShape.new(name: 'ComponentParameterDescription')
|
38
|
+
ComponentParameterDetail = Shapes::StructureShape.new(name: 'ComponentParameterDetail')
|
39
|
+
ComponentParameterDetailList = Shapes::ListShape.new(name: 'ComponentParameterDetailList')
|
40
|
+
ComponentParameterList = Shapes::ListShape.new(name: 'ComponentParameterList')
|
41
|
+
ComponentParameterName = Shapes::StringShape.new(name: 'ComponentParameterName')
|
42
|
+
ComponentParameterType = Shapes::StringShape.new(name: 'ComponentParameterType')
|
43
|
+
ComponentParameterValue = Shapes::StringShape.new(name: 'ComponentParameterValue')
|
44
|
+
ComponentParameterValueList = Shapes::ListShape.new(name: 'ComponentParameterValueList')
|
35
45
|
ComponentSummary = Shapes::StructureShape.new(name: 'ComponentSummary')
|
36
46
|
ComponentSummaryList = Shapes::ListShape.new(name: 'ComponentSummaryList')
|
37
47
|
ComponentType = Shapes::StringShape.new(name: 'ComponentType')
|
@@ -123,6 +133,8 @@ module Aws::Imagebuilder
|
|
123
133
|
Image = Shapes::StructureShape.new(name: 'Image')
|
124
134
|
ImageBuildVersionArn = Shapes::StringShape.new(name: 'ImageBuildVersionArn')
|
125
135
|
ImageBuilderArn = Shapes::StringShape.new(name: 'ImageBuilderArn')
|
136
|
+
ImagePackage = Shapes::StructureShape.new(name: 'ImagePackage')
|
137
|
+
ImagePackageList = Shapes::ListShape.new(name: 'ImagePackageList')
|
126
138
|
ImagePipeline = Shapes::StructureShape.new(name: 'ImagePipeline')
|
127
139
|
ImagePipelineArn = Shapes::StringShape.new(name: 'ImagePipelineArn')
|
128
140
|
ImagePipelineList = Shapes::ListShape.new(name: 'ImagePipelineList')
|
@@ -151,6 +163,8 @@ module Aws::Imagebuilder
|
|
151
163
|
InlineDockerFileTemplate = Shapes::StringShape.new(name: 'InlineDockerFileTemplate')
|
152
164
|
InstanceBlockDeviceMapping = Shapes::StructureShape.new(name: 'InstanceBlockDeviceMapping')
|
153
165
|
InstanceBlockDeviceMappings = Shapes::ListShape.new(name: 'InstanceBlockDeviceMappings')
|
166
|
+
InstanceConfiguration = Shapes::StructureShape.new(name: 'InstanceConfiguration')
|
167
|
+
InstanceProfileNameType = Shapes::StringShape.new(name: 'InstanceProfileNameType')
|
154
168
|
InstanceType = Shapes::StringShape.new(name: 'InstanceType')
|
155
169
|
InstanceTypeList = Shapes::ListShape.new(name: 'InstanceTypeList')
|
156
170
|
InvalidPaginationTokenException = Shapes::StructureShape.new(name: 'InvalidPaginationTokenException')
|
@@ -160,6 +174,9 @@ module Aws::Imagebuilder
|
|
160
174
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
161
175
|
InvalidVersionNumberException = Shapes::StructureShape.new(name: 'InvalidVersionNumberException')
|
162
176
|
LaunchPermissionConfiguration = Shapes::StructureShape.new(name: 'LaunchPermissionConfiguration')
|
177
|
+
LaunchTemplateConfiguration = Shapes::StructureShape.new(name: 'LaunchTemplateConfiguration')
|
178
|
+
LaunchTemplateConfigurationList = Shapes::ListShape.new(name: 'LaunchTemplateConfigurationList')
|
179
|
+
LaunchTemplateId = Shapes::StringShape.new(name: 'LaunchTemplateId')
|
163
180
|
LicenseConfigurationArn = Shapes::StringShape.new(name: 'LicenseConfigurationArn')
|
164
181
|
LicenseConfigurationArnList = Shapes::ListShape.new(name: 'LicenseConfigurationArnList')
|
165
182
|
ListComponentBuildVersionsRequest = Shapes::StructureShape.new(name: 'ListComponentBuildVersionsRequest')
|
@@ -172,6 +189,8 @@ module Aws::Imagebuilder
|
|
172
189
|
ListDistributionConfigurationsResponse = Shapes::StructureShape.new(name: 'ListDistributionConfigurationsResponse')
|
173
190
|
ListImageBuildVersionsRequest = Shapes::StructureShape.new(name: 'ListImageBuildVersionsRequest')
|
174
191
|
ListImageBuildVersionsResponse = Shapes::StructureShape.new(name: 'ListImageBuildVersionsResponse')
|
192
|
+
ListImagePackagesRequest = Shapes::StructureShape.new(name: 'ListImagePackagesRequest')
|
193
|
+
ListImagePackagesResponse = Shapes::StructureShape.new(name: 'ListImagePackagesResponse')
|
175
194
|
ListImagePipelineImagesRequest = Shapes::StructureShape.new(name: 'ListImagePipelineImagesRequest')
|
176
195
|
ListImagePipelineImagesResponse = Shapes::StructureShape.new(name: 'ListImagePipelineImagesResponse')
|
177
196
|
ListImagePipelinesRequest = Shapes::StructureShape.new(name: 'ListImagePipelinesRequest')
|
@@ -222,6 +241,7 @@ module Aws::Imagebuilder
|
|
222
241
|
StartImagePipelineExecutionRequest = Shapes::StructureShape.new(name: 'StartImagePipelineExecutionRequest')
|
223
242
|
StartImagePipelineExecutionResponse = Shapes::StructureShape.new(name: 'StartImagePipelineExecutionResponse')
|
224
243
|
StringList = Shapes::ListShape.new(name: 'StringList')
|
244
|
+
SystemsManagerAgent = Shapes::StructureShape.new(name: 'SystemsManagerAgent')
|
225
245
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
226
246
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
227
247
|
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
@@ -229,6 +249,7 @@ module Aws::Imagebuilder
|
|
229
249
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
230
250
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
231
251
|
TargetContainerRepository = Shapes::StructureShape.new(name: 'TargetContainerRepository')
|
252
|
+
Timezone = Shapes::StringShape.new(name: 'Timezone')
|
232
253
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
233
254
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
234
255
|
UpdateDistributionConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateDistributionConfigurationRequest')
|
@@ -238,10 +259,15 @@ module Aws::Imagebuilder
|
|
238
259
|
UpdateInfrastructureConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateInfrastructureConfigurationRequest')
|
239
260
|
UpdateInfrastructureConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateInfrastructureConfigurationResponse')
|
240
261
|
Uri = Shapes::StringShape.new(name: 'Uri')
|
262
|
+
UserDataOverride = Shapes::StringShape.new(name: 'UserDataOverride')
|
241
263
|
VersionNumber = Shapes::StringShape.new(name: 'VersionNumber')
|
242
264
|
|
243
265
|
AccountList.member = Shapes::ShapeRef.new(shape: AccountId)
|
244
266
|
|
267
|
+
AdditionalInstanceConfiguration.add_member(:systems_manager_agent, Shapes::ShapeRef.new(shape: SystemsManagerAgent, location_name: "systemsManagerAgent"))
|
268
|
+
AdditionalInstanceConfiguration.add_member(:user_data_override, Shapes::ShapeRef.new(shape: UserDataOverride, location_name: "userDataOverride"))
|
269
|
+
AdditionalInstanceConfiguration.struct_class = Types::AdditionalInstanceConfiguration
|
270
|
+
|
245
271
|
Ami.add_member(:region, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "region"))
|
246
272
|
Ami.add_member(:image, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "image"))
|
247
273
|
Ami.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "name"))
|
@@ -283,6 +309,7 @@ module Aws::Imagebuilder
|
|
283
309
|
Component.add_member(:type, Shapes::ShapeRef.new(shape: ComponentType, location_name: "type"))
|
284
310
|
Component.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
|
285
311
|
Component.add_member(:supported_os_versions, Shapes::ShapeRef.new(shape: OsVersionList, location_name: "supportedOsVersions"))
|
312
|
+
Component.add_member(:parameters, Shapes::ShapeRef.new(shape: ComponentParameterDetailList, location_name: "parameters"))
|
286
313
|
Component.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
|
287
314
|
Component.add_member(:data, Shapes::ShapeRef.new(shape: ComponentData, location_name: "data"))
|
288
315
|
Component.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "kmsKeyId"))
|
@@ -292,10 +319,27 @@ module Aws::Imagebuilder
|
|
292
319
|
Component.struct_class = Types::Component
|
293
320
|
|
294
321
|
ComponentConfiguration.add_member(:component_arn, Shapes::ShapeRef.new(shape: ComponentVersionArnOrBuildVersionArn, required: true, location_name: "componentArn"))
|
322
|
+
ComponentConfiguration.add_member(:parameters, Shapes::ShapeRef.new(shape: ComponentParameterList, location_name: "parameters"))
|
295
323
|
ComponentConfiguration.struct_class = Types::ComponentConfiguration
|
296
324
|
|
297
325
|
ComponentConfigurationList.member = Shapes::ShapeRef.new(shape: ComponentConfiguration)
|
298
326
|
|
327
|
+
ComponentParameter.add_member(:name, Shapes::ShapeRef.new(shape: ComponentParameterName, required: true, location_name: "name"))
|
328
|
+
ComponentParameter.add_member(:value, Shapes::ShapeRef.new(shape: ComponentParameterValueList, required: true, location_name: "value"))
|
329
|
+
ComponentParameter.struct_class = Types::ComponentParameter
|
330
|
+
|
331
|
+
ComponentParameterDetail.add_member(:name, Shapes::ShapeRef.new(shape: ComponentParameterName, required: true, location_name: "name"))
|
332
|
+
ComponentParameterDetail.add_member(:type, Shapes::ShapeRef.new(shape: ComponentParameterType, required: true, location_name: "type"))
|
333
|
+
ComponentParameterDetail.add_member(:default_value, Shapes::ShapeRef.new(shape: ComponentParameterValueList, location_name: "defaultValue"))
|
334
|
+
ComponentParameterDetail.add_member(:description, Shapes::ShapeRef.new(shape: ComponentParameterDescription, location_name: "description"))
|
335
|
+
ComponentParameterDetail.struct_class = Types::ComponentParameterDetail
|
336
|
+
|
337
|
+
ComponentParameterDetailList.member = Shapes::ShapeRef.new(shape: ComponentParameterDetail)
|
338
|
+
|
339
|
+
ComponentParameterList.member = Shapes::ShapeRef.new(shape: ComponentParameter)
|
340
|
+
|
341
|
+
ComponentParameterValueList.member = Shapes::ShapeRef.new(shape: ComponentParameterValue)
|
342
|
+
|
299
343
|
ComponentSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, location_name: "arn"))
|
300
344
|
ComponentSummary.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
301
345
|
ComponentSummary.add_member(:version, Shapes::ShapeRef.new(shape: VersionNumber, location_name: "version"))
|
@@ -343,6 +387,7 @@ module Aws::Imagebuilder
|
|
343
387
|
ContainerRecipe.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
|
344
388
|
ContainerRecipe.add_member(:version, Shapes::ShapeRef.new(shape: VersionNumber, location_name: "version"))
|
345
389
|
ContainerRecipe.add_member(:components, Shapes::ShapeRef.new(shape: ComponentConfigurationList, location_name: "components"))
|
390
|
+
ContainerRecipe.add_member(:instance_configuration, Shapes::ShapeRef.new(shape: InstanceConfiguration, location_name: "instanceConfiguration"))
|
346
391
|
ContainerRecipe.add_member(:dockerfile_template_data, Shapes::ShapeRef.new(shape: DockerFileTemplate, location_name: "dockerfileTemplateData"))
|
347
392
|
ContainerRecipe.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "kmsKeyId"))
|
348
393
|
ContainerRecipe.add_member(:encrypted, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "encrypted"))
|
@@ -388,7 +433,8 @@ module Aws::Imagebuilder
|
|
388
433
|
CreateContainerRecipeRequest.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
389
434
|
CreateContainerRecipeRequest.add_member(:semantic_version, Shapes::ShapeRef.new(shape: VersionNumber, required: true, location_name: "semanticVersion"))
|
390
435
|
CreateContainerRecipeRequest.add_member(:components, Shapes::ShapeRef.new(shape: ComponentConfigurationList, required: true, location_name: "components"))
|
391
|
-
CreateContainerRecipeRequest.add_member(:
|
436
|
+
CreateContainerRecipeRequest.add_member(:instance_configuration, Shapes::ShapeRef.new(shape: InstanceConfiguration, location_name: "instanceConfiguration"))
|
437
|
+
CreateContainerRecipeRequest.add_member(:dockerfile_template_data, Shapes::ShapeRef.new(shape: InlineDockerFileTemplate, location_name: "dockerfileTemplateData"))
|
392
438
|
CreateContainerRecipeRequest.add_member(:dockerfile_template_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "dockerfileTemplateUri"))
|
393
439
|
CreateContainerRecipeRequest.add_member(:platform_override, Shapes::ShapeRef.new(shape: Platform, location_name: "platformOverride"))
|
394
440
|
CreateContainerRecipeRequest.add_member(:image_os_version_override, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "imageOsVersionOverride"))
|
@@ -444,6 +490,7 @@ module Aws::Imagebuilder
|
|
444
490
|
CreateImageRecipeRequest.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: InstanceBlockDeviceMappings, location_name: "blockDeviceMappings"))
|
445
491
|
CreateImageRecipeRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
446
492
|
CreateImageRecipeRequest.add_member(:working_directory, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "workingDirectory"))
|
493
|
+
CreateImageRecipeRequest.add_member(:additional_instance_configuration, Shapes::ShapeRef.new(shape: AdditionalInstanceConfiguration, location_name: "additionalInstanceConfiguration"))
|
447
494
|
CreateImageRecipeRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
448
495
|
CreateImageRecipeRequest.struct_class = Types::CreateImageRecipeRequest
|
449
496
|
|
@@ -470,7 +517,7 @@ module Aws::Imagebuilder
|
|
470
517
|
CreateInfrastructureConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
471
518
|
CreateInfrastructureConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
472
519
|
CreateInfrastructureConfigurationRequest.add_member(:instance_types, Shapes::ShapeRef.new(shape: InstanceTypeList, location_name: "instanceTypes"))
|
473
|
-
CreateInfrastructureConfigurationRequest.add_member(:instance_profile_name, Shapes::ShapeRef.new(shape:
|
520
|
+
CreateInfrastructureConfigurationRequest.add_member(:instance_profile_name, Shapes::ShapeRef.new(shape: InstanceProfileNameType, required: true, location_name: "instanceProfileName"))
|
474
521
|
CreateInfrastructureConfigurationRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "securityGroupIds"))
|
475
522
|
CreateInfrastructureConfigurationRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "subnetId"))
|
476
523
|
CreateInfrastructureConfigurationRequest.add_member(:logging, Shapes::ShapeRef.new(shape: Logging, location_name: "logging"))
|
@@ -540,6 +587,7 @@ module Aws::Imagebuilder
|
|
540
587
|
Distribution.add_member(:ami_distribution_configuration, Shapes::ShapeRef.new(shape: AmiDistributionConfiguration, location_name: "amiDistributionConfiguration"))
|
541
588
|
Distribution.add_member(:container_distribution_configuration, Shapes::ShapeRef.new(shape: ContainerDistributionConfiguration, location_name: "containerDistributionConfiguration"))
|
542
589
|
Distribution.add_member(:license_configuration_arns, Shapes::ShapeRef.new(shape: LicenseConfigurationArnList, location_name: "licenseConfigurationArns"))
|
590
|
+
Distribution.add_member(:launch_template_configurations, Shapes::ShapeRef.new(shape: LaunchTemplateConfigurationList, location_name: "launchTemplateConfigurations"))
|
543
591
|
Distribution.struct_class = Types::Distribution
|
544
592
|
|
545
593
|
DistributionConfiguration.add_member(:arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, location_name: "arn"))
|
@@ -685,6 +733,12 @@ module Aws::Imagebuilder
|
|
685
733
|
Image.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
686
734
|
Image.struct_class = Types::Image
|
687
735
|
|
736
|
+
ImagePackage.add_member(:package_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "packageName"))
|
737
|
+
ImagePackage.add_member(:package_version, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "packageVersion"))
|
738
|
+
ImagePackage.struct_class = Types::ImagePackage
|
739
|
+
|
740
|
+
ImagePackageList.member = Shapes::ShapeRef.new(shape: ImagePackage)
|
741
|
+
|
688
742
|
ImagePipeline.add_member(:arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, location_name: "arn"))
|
689
743
|
ImagePipeline.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
690
744
|
ImagePipeline.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
@@ -719,6 +773,7 @@ module Aws::Imagebuilder
|
|
719
773
|
ImageRecipe.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
|
720
774
|
ImageRecipe.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
721
775
|
ImageRecipe.add_member(:working_directory, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "workingDirectory"))
|
776
|
+
ImageRecipe.add_member(:additional_instance_configuration, Shapes::ShapeRef.new(shape: AdditionalInstanceConfiguration, location_name: "additionalInstanceConfiguration"))
|
722
777
|
ImageRecipe.struct_class = Types::ImageRecipe
|
723
778
|
|
724
779
|
ImageRecipeSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, location_name: "arn"))
|
@@ -790,7 +845,7 @@ module Aws::Imagebuilder
|
|
790
845
|
InfrastructureConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
791
846
|
InfrastructureConfiguration.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
792
847
|
InfrastructureConfiguration.add_member(:instance_types, Shapes::ShapeRef.new(shape: InstanceTypeList, location_name: "instanceTypes"))
|
793
|
-
InfrastructureConfiguration.add_member(:instance_profile_name, Shapes::ShapeRef.new(shape:
|
848
|
+
InfrastructureConfiguration.add_member(:instance_profile_name, Shapes::ShapeRef.new(shape: InstanceProfileNameType, location_name: "instanceProfileName"))
|
794
849
|
InfrastructureConfiguration.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "securityGroupIds"))
|
795
850
|
InfrastructureConfiguration.add_member(:subnet_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "subnetId"))
|
796
851
|
InfrastructureConfiguration.add_member(:logging, Shapes::ShapeRef.new(shape: Logging, location_name: "logging"))
|
@@ -810,6 +865,8 @@ module Aws::Imagebuilder
|
|
810
865
|
InfrastructureConfigurationSummary.add_member(:date_updated, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateUpdated"))
|
811
866
|
InfrastructureConfigurationSummary.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagMap, location_name: "resourceTags"))
|
812
867
|
InfrastructureConfigurationSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
868
|
+
InfrastructureConfigurationSummary.add_member(:instance_types, Shapes::ShapeRef.new(shape: InstanceTypeList, location_name: "instanceTypes"))
|
869
|
+
InfrastructureConfigurationSummary.add_member(:instance_profile_name, Shapes::ShapeRef.new(shape: InstanceProfileNameType, location_name: "instanceProfileName"))
|
813
870
|
InfrastructureConfigurationSummary.struct_class = Types::InfrastructureConfigurationSummary
|
814
871
|
|
815
872
|
InfrastructureConfigurationSummaryList.member = Shapes::ShapeRef.new(shape: InfrastructureConfigurationSummary)
|
@@ -822,6 +879,10 @@ module Aws::Imagebuilder
|
|
822
879
|
|
823
880
|
InstanceBlockDeviceMappings.member = Shapes::ShapeRef.new(shape: InstanceBlockDeviceMapping)
|
824
881
|
|
882
|
+
InstanceConfiguration.add_member(:image, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "image"))
|
883
|
+
InstanceConfiguration.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: InstanceBlockDeviceMappings, location_name: "blockDeviceMappings"))
|
884
|
+
InstanceConfiguration.struct_class = Types::InstanceConfiguration
|
885
|
+
|
825
886
|
InstanceTypeList.member = Shapes::ShapeRef.new(shape: InstanceType)
|
826
887
|
|
827
888
|
InvalidPaginationTokenException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
@@ -846,6 +907,13 @@ module Aws::Imagebuilder
|
|
846
907
|
LaunchPermissionConfiguration.add_member(:user_groups, Shapes::ShapeRef.new(shape: StringList, location_name: "userGroups"))
|
847
908
|
LaunchPermissionConfiguration.struct_class = Types::LaunchPermissionConfiguration
|
848
909
|
|
910
|
+
LaunchTemplateConfiguration.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: LaunchTemplateId, required: true, location_name: "launchTemplateId"))
|
911
|
+
LaunchTemplateConfiguration.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
912
|
+
LaunchTemplateConfiguration.add_member(:set_default_version, Shapes::ShapeRef.new(shape: Boolean, location_name: "setDefaultVersion"))
|
913
|
+
LaunchTemplateConfiguration.struct_class = Types::LaunchTemplateConfiguration
|
914
|
+
|
915
|
+
LaunchTemplateConfigurationList.member = Shapes::ShapeRef.new(shape: LaunchTemplateConfiguration)
|
916
|
+
|
849
917
|
LicenseConfigurationArnList.member = Shapes::ShapeRef.new(shape: LicenseConfigurationArn)
|
850
918
|
|
851
919
|
ListComponentBuildVersionsRequest.add_member(:component_version_arn, Shapes::ShapeRef.new(shape: ComponentVersionArn, required: true, location_name: "componentVersionArn"))
|
@@ -902,6 +970,16 @@ module Aws::Imagebuilder
|
|
902
970
|
ListImageBuildVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
903
971
|
ListImageBuildVersionsResponse.struct_class = Types::ListImageBuildVersionsResponse
|
904
972
|
|
973
|
+
ListImagePackagesRequest.add_member(:image_build_version_arn, Shapes::ShapeRef.new(shape: ImageBuildVersionArn, required: true, location_name: "imageBuildVersionArn"))
|
974
|
+
ListImagePackagesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: RestrictedInteger, location_name: "maxResults", metadata: {"box"=>true}))
|
975
|
+
ListImagePackagesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
976
|
+
ListImagePackagesRequest.struct_class = Types::ListImagePackagesRequest
|
977
|
+
|
978
|
+
ListImagePackagesResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
|
979
|
+
ListImagePackagesResponse.add_member(:image_package_list, Shapes::ShapeRef.new(shape: ImagePackageList, location_name: "imagePackageList"))
|
980
|
+
ListImagePackagesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
981
|
+
ListImagePackagesResponse.struct_class = Types::ListImagePackagesResponse
|
982
|
+
|
905
983
|
ListImagePipelineImagesRequest.add_member(:image_pipeline_arn, Shapes::ShapeRef.new(shape: ImagePipelineArn, required: true, location_name: "imagePipelineArn"))
|
906
984
|
ListImagePipelineImagesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "filters"))
|
907
985
|
ListImagePipelineImagesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: RestrictedInteger, location_name: "maxResults", metadata: {"box"=>true}))
|
@@ -1026,6 +1104,7 @@ module Aws::Imagebuilder
|
|
1026
1104
|
S3Logs.struct_class = Types::S3Logs
|
1027
1105
|
|
1028
1106
|
Schedule.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "scheduleExpression"))
|
1107
|
+
Schedule.add_member(:timezone, Shapes::ShapeRef.new(shape: Timezone, location_name: "timezone"))
|
1029
1108
|
Schedule.add_member(:pipeline_execution_start_condition, Shapes::ShapeRef.new(shape: PipelineExecutionStartCondition, location_name: "pipelineExecutionStartCondition"))
|
1030
1109
|
Schedule.struct_class = Types::Schedule
|
1031
1110
|
|
@@ -1051,6 +1130,9 @@ module Aws::Imagebuilder
|
|
1051
1130
|
|
1052
1131
|
StringList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
1053
1132
|
|
1133
|
+
SystemsManagerAgent.add_member(:uninstall_after_build, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "uninstallAfterBuild"))
|
1134
|
+
SystemsManagerAgent.struct_class = Types::SystemsManagerAgent
|
1135
|
+
|
1054
1136
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
1055
1137
|
|
1056
1138
|
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
@@ -1104,7 +1186,7 @@ module Aws::Imagebuilder
|
|
1104
1186
|
UpdateInfrastructureConfigurationRequest.add_member(:infrastructure_configuration_arn, Shapes::ShapeRef.new(shape: InfrastructureConfigurationArn, required: true, location_name: "infrastructureConfigurationArn"))
|
1105
1187
|
UpdateInfrastructureConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
1106
1188
|
UpdateInfrastructureConfigurationRequest.add_member(:instance_types, Shapes::ShapeRef.new(shape: InstanceTypeList, location_name: "instanceTypes"))
|
1107
|
-
UpdateInfrastructureConfigurationRequest.add_member(:instance_profile_name, Shapes::ShapeRef.new(shape:
|
1189
|
+
UpdateInfrastructureConfigurationRequest.add_member(:instance_profile_name, Shapes::ShapeRef.new(shape: InstanceProfileNameType, required: true, location_name: "instanceProfileName"))
|
1108
1190
|
UpdateInfrastructureConfigurationRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "securityGroupIds"))
|
1109
1191
|
UpdateInfrastructureConfigurationRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "subnetId"))
|
1110
1192
|
UpdateInfrastructureConfigurationRequest.add_member(:logging, Shapes::ShapeRef.new(shape: Logging, location_name: "logging"))
|
@@ -1666,6 +1748,28 @@ module Aws::Imagebuilder
|
|
1666
1748
|
)
|
1667
1749
|
end)
|
1668
1750
|
|
1751
|
+
api.add_operation(:list_image_packages, Seahorse::Model::Operation.new.tap do |o|
|
1752
|
+
o.name = "ListImagePackages"
|
1753
|
+
o.http_method = "POST"
|
1754
|
+
o.http_request_uri = "/ListImagePackages"
|
1755
|
+
o.input = Shapes::ShapeRef.new(shape: ListImagePackagesRequest)
|
1756
|
+
o.output = Shapes::ShapeRef.new(shape: ListImagePackagesResponse)
|
1757
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1758
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1759
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1760
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1761
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
|
1762
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1763
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1764
|
+
o.errors << Shapes::ShapeRef.new(shape: CallRateLimitExceededException)
|
1765
|
+
o[:pager] = Aws::Pager.new(
|
1766
|
+
limit_key: "max_results",
|
1767
|
+
tokens: {
|
1768
|
+
"next_token" => "next_token"
|
1769
|
+
}
|
1770
|
+
)
|
1771
|
+
end)
|
1772
|
+
|
1669
1773
|
api.add_operation(:list_image_pipeline_images, Seahorse::Model::Operation.new.tap do |o|
|
1670
1774
|
o.name = "ListImagePipelineImages"
|
1671
1775
|
o.http_method = "POST"
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,30 +3,72 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
10
|
module Aws::Imagebuilder
|
11
11
|
module Types
|
12
12
|
|
13
|
-
#
|
13
|
+
# In addition to your infrastruction configuration, these settings
|
14
|
+
# provide an extra layer of control over your build instances. For
|
15
|
+
# instances where Image Builder installs the SSM agent, you can choose
|
16
|
+
# whether to keep it for the AMI that you create. You can also specify
|
17
|
+
# commands to run on launch for all of your build instances.
|
18
|
+
#
|
19
|
+
# @note When making an API call, you may pass AdditionalInstanceConfiguration
|
20
|
+
# data as a hash:
|
21
|
+
#
|
22
|
+
# {
|
23
|
+
# systems_manager_agent: {
|
24
|
+
# uninstall_after_build: false,
|
25
|
+
# },
|
26
|
+
# user_data_override: "UserDataOverride",
|
27
|
+
# }
|
28
|
+
#
|
29
|
+
# @!attribute [rw] systems_manager_agent
|
30
|
+
# Contains settings for the SSM agent on your build instance.
|
31
|
+
# @return [Types::SystemsManagerAgent]
|
32
|
+
#
|
33
|
+
# @!attribute [rw] user_data_override
|
34
|
+
# Use this property to provide commands or a command script to run
|
35
|
+
# when you launch your build instance.
|
36
|
+
#
|
37
|
+
# <note markdown="1"> The userDataOverride property replaces any commands that Image
|
38
|
+
# Builder might have added to ensure that SSM is installed on your
|
39
|
+
# Linux build instance. If you override the user data, make sure that
|
40
|
+
# you add commands to install SSM, if it is not pre-installed on your
|
41
|
+
# source image.
|
42
|
+
#
|
43
|
+
# </note>
|
44
|
+
# @return [String]
|
45
|
+
#
|
46
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/AdditionalInstanceConfiguration AWS API Documentation
|
47
|
+
#
|
48
|
+
class AdditionalInstanceConfiguration < Struct.new(
|
49
|
+
:systems_manager_agent,
|
50
|
+
:user_data_override)
|
51
|
+
SENSITIVE = []
|
52
|
+
include Aws::Structure
|
53
|
+
end
|
54
|
+
|
55
|
+
# Details of an Amazon EC2 AMI.
|
14
56
|
#
|
15
57
|
# @!attribute [rw] region
|
16
|
-
# The
|
58
|
+
# The Region of the Amazon EC2 AMI.
|
17
59
|
# @return [String]
|
18
60
|
#
|
19
61
|
# @!attribute [rw] image
|
20
|
-
# The AMI ID of the EC2 AMI.
|
62
|
+
# The AMI ID of the Amazon EC2 AMI.
|
21
63
|
# @return [String]
|
22
64
|
#
|
23
65
|
# @!attribute [rw] name
|
24
|
-
# The name of the EC2 AMI.
|
66
|
+
# The name of the Amazon EC2 AMI.
|
25
67
|
# @return [String]
|
26
68
|
#
|
27
69
|
# @!attribute [rw] description
|
28
|
-
# The description of the EC2 AMI. Minimum and maximum length
|
29
|
-
# characters.
|
70
|
+
# The description of the Amazon EC2 AMI. Minimum and maximum length
|
71
|
+
# are in characters.
|
30
72
|
# @return [String]
|
31
73
|
#
|
32
74
|
# @!attribute [rw] state
|
@@ -91,8 +133,8 @@ module Aws::Imagebuilder
|
|
91
133
|
# @return [String]
|
92
134
|
#
|
93
135
|
# @!attribute [rw] launch_permission
|
94
|
-
# Launch permissions can be used to configure which
|
95
|
-
#
|
136
|
+
# Launch permissions can be used to configure which accounts can use
|
137
|
+
# the AMI to launch instances.
|
96
138
|
# @return [Types::LaunchPermissionConfiguration]
|
97
139
|
#
|
98
140
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/AmiDistributionConfiguration AWS API Documentation
|
@@ -227,6 +269,11 @@ module Aws::Imagebuilder
|
|
227
269
|
# parent image OS version during image recipe creation.
|
228
270
|
# @return [Array<String>]
|
229
271
|
#
|
272
|
+
# @!attribute [rw] parameters
|
273
|
+
# Contains parameter details for each of the parameters that are
|
274
|
+
# defined for the component.
|
275
|
+
# @return [Array<Types::ComponentParameterDetail>]
|
276
|
+
#
|
230
277
|
# @!attribute [rw] owner
|
231
278
|
# The owner of the component.
|
232
279
|
# @return [String]
|
@@ -262,6 +309,7 @@ module Aws::Imagebuilder
|
|
262
309
|
:type,
|
263
310
|
:platform,
|
264
311
|
:supported_os_versions,
|
312
|
+
:parameters,
|
265
313
|
:owner,
|
266
314
|
:data,
|
267
315
|
:kms_key_id,
|
@@ -279,16 +327,86 @@ module Aws::Imagebuilder
|
|
279
327
|
#
|
280
328
|
# {
|
281
329
|
# component_arn: "ComponentVersionArnOrBuildVersionArn", # required
|
330
|
+
# parameters: [
|
331
|
+
# {
|
332
|
+
# name: "ComponentParameterName", # required
|
333
|
+
# value: ["ComponentParameterValue"], # required
|
334
|
+
# },
|
335
|
+
# ],
|
282
336
|
# }
|
283
337
|
#
|
284
338
|
# @!attribute [rw] component_arn
|
285
339
|
# The Amazon Resource Name (ARN) of the component.
|
286
340
|
# @return [String]
|
287
341
|
#
|
342
|
+
# @!attribute [rw] parameters
|
343
|
+
# A group of parameter settings that are used to configure the
|
344
|
+
# component for a specific recipe.
|
345
|
+
# @return [Array<Types::ComponentParameter>]
|
346
|
+
#
|
288
347
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ComponentConfiguration AWS API Documentation
|
289
348
|
#
|
290
349
|
class ComponentConfiguration < Struct.new(
|
291
|
-
:component_arn
|
350
|
+
:component_arn,
|
351
|
+
:parameters)
|
352
|
+
SENSITIVE = []
|
353
|
+
include Aws::Structure
|
354
|
+
end
|
355
|
+
|
356
|
+
# Contains a key/value pair that sets the named component parameter.
|
357
|
+
#
|
358
|
+
# @note When making an API call, you may pass ComponentParameter
|
359
|
+
# data as a hash:
|
360
|
+
#
|
361
|
+
# {
|
362
|
+
# name: "ComponentParameterName", # required
|
363
|
+
# value: ["ComponentParameterValue"], # required
|
364
|
+
# }
|
365
|
+
#
|
366
|
+
# @!attribute [rw] name
|
367
|
+
# The name of the component parameter to set.
|
368
|
+
# @return [String]
|
369
|
+
#
|
370
|
+
# @!attribute [rw] value
|
371
|
+
# Sets the value for the named component parameter.
|
372
|
+
# @return [Array<String>]
|
373
|
+
#
|
374
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ComponentParameter AWS API Documentation
|
375
|
+
#
|
376
|
+
class ComponentParameter < Struct.new(
|
377
|
+
:name,
|
378
|
+
:value)
|
379
|
+
SENSITIVE = []
|
380
|
+
include Aws::Structure
|
381
|
+
end
|
382
|
+
|
383
|
+
# Defines a parameter that is used to provide configuration details for
|
384
|
+
# the component.
|
385
|
+
#
|
386
|
+
# @!attribute [rw] name
|
387
|
+
# The name of this input parameter.
|
388
|
+
# @return [String]
|
389
|
+
#
|
390
|
+
# @!attribute [rw] type
|
391
|
+
# The type of input this parameter provides. The currently supported
|
392
|
+
# value is "string".
|
393
|
+
# @return [String]
|
394
|
+
#
|
395
|
+
# @!attribute [rw] default_value
|
396
|
+
# The default value of this parameter if no input is provided.
|
397
|
+
# @return [Array<String>]
|
398
|
+
#
|
399
|
+
# @!attribute [rw] description
|
400
|
+
# Describes this parameter.
|
401
|
+
# @return [String]
|
402
|
+
#
|
403
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ComponentParameterDetail AWS API Documentation
|
404
|
+
#
|
405
|
+
class ComponentParameterDetail < Struct.new(
|
406
|
+
:name,
|
407
|
+
:type,
|
408
|
+
:default_value,
|
409
|
+
:description)
|
292
410
|
SENSITIVE = []
|
293
411
|
include Aws::Structure
|
294
412
|
end
|
@@ -383,7 +501,7 @@ module Aws::Imagebuilder
|
|
383
501
|
# @return [String]
|
384
502
|
#
|
385
503
|
# @!attribute [rw] supported_os_versions
|
386
|
-
#
|
504
|
+
# he operating system (OS) version supported by the component. If the
|
387
505
|
# OS information is available, a prefix match is performed against the
|
388
506
|
# parent image OS version during image recipe creation.
|
389
507
|
# @return [Array<String>]
|
@@ -511,6 +629,11 @@ module Aws::Imagebuilder
|
|
511
629
|
# recipe.
|
512
630
|
# @return [Array<Types::ComponentConfiguration>]
|
513
631
|
#
|
632
|
+
# @!attribute [rw] instance_configuration
|
633
|
+
# A group of options that can be used to configure an instance for
|
634
|
+
# building and testing container images.
|
635
|
+
# @return [Types::InstanceConfiguration]
|
636
|
+
#
|
514
637
|
# @!attribute [rw] dockerfile_template_data
|
515
638
|
# Dockerfiles are text documents that are used to build Docker
|
516
639
|
# containers, and ensure that they contain all of the elements
|
@@ -559,6 +682,7 @@ module Aws::Imagebuilder
|
|
559
682
|
:owner,
|
560
683
|
:version,
|
561
684
|
:components,
|
685
|
+
:instance_configuration,
|
562
686
|
:dockerfile_template_data,
|
563
687
|
:kms_key_id,
|
564
688
|
:encrypted,
|
@@ -677,10 +801,11 @@ module Aws::Imagebuilder
|
|
677
801
|
# @return [String]
|
678
802
|
#
|
679
803
|
# @!attribute [rw] uri
|
680
|
-
# The uri of the component. Must be an S3 URL and the requester
|
681
|
-
# have permission to access the S3 bucket. If you use
|
682
|
-
# specify component content up to your service
|
683
|
-
# `uri` can be used to specify the data within
|
804
|
+
# The uri of the component. Must be an Amazon S3 URL and the requester
|
805
|
+
# must have permission to access the Amazon S3 bucket. If you use
|
806
|
+
# Amazon S3, you can specify component content up to your service
|
807
|
+
# quota. Either `data` or `uri` can be used to specify the data within
|
808
|
+
# the component.
|
684
809
|
# @return [String]
|
685
810
|
#
|
686
811
|
# @!attribute [rw] kms_key_id
|
@@ -750,9 +875,34 @@ module Aws::Imagebuilder
|
|
750
875
|
# components: [ # required
|
751
876
|
# {
|
752
877
|
# component_arn: "ComponentVersionArnOrBuildVersionArn", # required
|
878
|
+
# parameters: [
|
879
|
+
# {
|
880
|
+
# name: "ComponentParameterName", # required
|
881
|
+
# value: ["ComponentParameterValue"], # required
|
882
|
+
# },
|
883
|
+
# ],
|
753
884
|
# },
|
754
885
|
# ],
|
755
|
-
#
|
886
|
+
# instance_configuration: {
|
887
|
+
# image: "NonEmptyString",
|
888
|
+
# block_device_mappings: [
|
889
|
+
# {
|
890
|
+
# device_name: "NonEmptyString",
|
891
|
+
# ebs: {
|
892
|
+
# encrypted: false,
|
893
|
+
# delete_on_termination: false,
|
894
|
+
# iops: 1,
|
895
|
+
# kms_key_id: "NonEmptyString",
|
896
|
+
# snapshot_id: "NonEmptyString",
|
897
|
+
# volume_size: 1,
|
898
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, gp3, sc1, st1
|
899
|
+
# },
|
900
|
+
# virtual_name: "NonEmptyString",
|
901
|
+
# no_device: "EmptyString",
|
902
|
+
# },
|
903
|
+
# ],
|
904
|
+
# },
|
905
|
+
# dockerfile_template_data: "InlineDockerFileTemplate",
|
756
906
|
# dockerfile_template_uri: "Uri",
|
757
907
|
# platform_override: "Windows", # accepts Windows, Linux
|
758
908
|
# image_os_version_override: "NonEmptyString",
|
@@ -791,13 +941,18 @@ module Aws::Imagebuilder
|
|
791
941
|
# recipe.
|
792
942
|
# @return [Array<Types::ComponentConfiguration>]
|
793
943
|
#
|
944
|
+
# @!attribute [rw] instance_configuration
|
945
|
+
# A group of options that can be used to configure an instance for
|
946
|
+
# building and testing container images.
|
947
|
+
# @return [Types::InstanceConfiguration]
|
948
|
+
#
|
794
949
|
# @!attribute [rw] dockerfile_template_data
|
795
950
|
# The Dockerfile template used to build your image as an inline data
|
796
951
|
# blob.
|
797
952
|
# @return [String]
|
798
953
|
#
|
799
954
|
# @!attribute [rw] dockerfile_template_uri
|
800
|
-
# The S3 URI for the Dockerfile that will be used to build your
|
955
|
+
# The Amazon S3 URI for the Dockerfile that will be used to build your
|
801
956
|
# container image.
|
802
957
|
# @return [String]
|
803
958
|
#
|
@@ -845,6 +1000,7 @@ module Aws::Imagebuilder
|
|
845
1000
|
:description,
|
846
1001
|
:semantic_version,
|
847
1002
|
:components,
|
1003
|
+
:instance_configuration,
|
848
1004
|
:dockerfile_template_data,
|
849
1005
|
:dockerfile_template_uri,
|
850
1006
|
:platform_override,
|
@@ -913,6 +1069,13 @@ module Aws::Imagebuilder
|
|
913
1069
|
# },
|
914
1070
|
# },
|
915
1071
|
# license_configuration_arns: ["LicenseConfigurationArn"],
|
1072
|
+
# launch_template_configurations: [
|
1073
|
+
# {
|
1074
|
+
# launch_template_id: "LaunchTemplateId", # required
|
1075
|
+
# account_id: "AccountId",
|
1076
|
+
# set_default_version: false,
|
1077
|
+
# },
|
1078
|
+
# ],
|
916
1079
|
# },
|
917
1080
|
# ],
|
918
1081
|
# tags: {
|
@@ -996,6 +1159,7 @@ module Aws::Imagebuilder
|
|
996
1159
|
# enhanced_image_metadata_enabled: false,
|
997
1160
|
# schedule: {
|
998
1161
|
# schedule_expression: "NonEmptyString",
|
1162
|
+
# timezone: "Timezone",
|
999
1163
|
# pipeline_execution_start_condition: "EXPRESSION_MATCH_ONLY", # accepts EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
|
1000
1164
|
# },
|
1001
1165
|
# status: "DISABLED", # accepts DISABLED, ENABLED
|
@@ -1116,6 +1280,12 @@ module Aws::Imagebuilder
|
|
1116
1280
|
# components: [ # required
|
1117
1281
|
# {
|
1118
1282
|
# component_arn: "ComponentVersionArnOrBuildVersionArn", # required
|
1283
|
+
# parameters: [
|
1284
|
+
# {
|
1285
|
+
# name: "ComponentParameterName", # required
|
1286
|
+
# value: ["ComponentParameterValue"], # required
|
1287
|
+
# },
|
1288
|
+
# ],
|
1119
1289
|
# },
|
1120
1290
|
# ],
|
1121
1291
|
# parent_image: "NonEmptyString", # required
|
@@ -1129,7 +1299,7 @@ module Aws::Imagebuilder
|
|
1129
1299
|
# kms_key_id: "NonEmptyString",
|
1130
1300
|
# snapshot_id: "NonEmptyString",
|
1131
1301
|
# volume_size: 1,
|
1132
|
-
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
|
1302
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, gp3, sc1, st1
|
1133
1303
|
# },
|
1134
1304
|
# virtual_name: "NonEmptyString",
|
1135
1305
|
# no_device: "EmptyString",
|
@@ -1139,6 +1309,12 @@ module Aws::Imagebuilder
|
|
1139
1309
|
# "TagKey" => "TagValue",
|
1140
1310
|
# },
|
1141
1311
|
# working_directory: "NonEmptyString",
|
1312
|
+
# additional_instance_configuration: {
|
1313
|
+
# systems_manager_agent: {
|
1314
|
+
# uninstall_after_build: false,
|
1315
|
+
# },
|
1316
|
+
# user_data_override: "UserDataOverride",
|
1317
|
+
# },
|
1142
1318
|
# client_token: "ClientToken", # required
|
1143
1319
|
# }
|
1144
1320
|
#
|
@@ -1162,7 +1338,7 @@ module Aws::Imagebuilder
|
|
1162
1338
|
# The parent image of the image recipe. The value of the string can be
|
1163
1339
|
# the ARN of the parent image or an AMI ID. The format for the ARN
|
1164
1340
|
# follows this example:
|
1165
|
-
# `arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/
|
1341
|
+
# `arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/x.x.x`.
|
1166
1342
|
# You can provide the specific version that you want to use, or you
|
1167
1343
|
# can use a wildcard in all of the fields. If you enter an AMI ID for
|
1168
1344
|
# the string value, you must have access to the AMI, and the AMI must
|
@@ -1178,9 +1354,14 @@ module Aws::Imagebuilder
|
|
1178
1354
|
# @return [Hash<String,String>]
|
1179
1355
|
#
|
1180
1356
|
# @!attribute [rw] working_directory
|
1181
|
-
# The working directory
|
1357
|
+
# The working directory used during build and test workflows.
|
1182
1358
|
# @return [String]
|
1183
1359
|
#
|
1360
|
+
# @!attribute [rw] additional_instance_configuration
|
1361
|
+
# Specify additional settings and launch scripts for your build
|
1362
|
+
# instances.
|
1363
|
+
# @return [Types::AdditionalInstanceConfiguration]
|
1364
|
+
#
|
1184
1365
|
# @!attribute [rw] client_token
|
1185
1366
|
# The idempotency token used to make this request idempotent.
|
1186
1367
|
#
|
@@ -1199,6 +1380,7 @@ module Aws::Imagebuilder
|
|
1199
1380
|
:block_device_mappings,
|
1200
1381
|
:tags,
|
1201
1382
|
:working_directory,
|
1383
|
+
:additional_instance_configuration,
|
1202
1384
|
:client_token)
|
1203
1385
|
SENSITIVE = []
|
1204
1386
|
include Aws::Structure
|
@@ -1334,7 +1516,7 @@ module Aws::Imagebuilder
|
|
1334
1516
|
# name: "ResourceName", # required
|
1335
1517
|
# description: "NonEmptyString",
|
1336
1518
|
# instance_types: ["InstanceType"],
|
1337
|
-
# instance_profile_name: "
|
1519
|
+
# instance_profile_name: "InstanceProfileNameType", # required
|
1338
1520
|
# security_group_ids: ["NonEmptyString"],
|
1339
1521
|
# subnet_id: "NonEmptyString",
|
1340
1522
|
# logging: {
|
@@ -1371,17 +1553,17 @@ module Aws::Imagebuilder
|
|
1371
1553
|
#
|
1372
1554
|
# @!attribute [rw] instance_profile_name
|
1373
1555
|
# The instance profile to associate with the instance used to
|
1374
|
-
# customize your EC2 AMI.
|
1556
|
+
# customize your Amazon EC2 AMI.
|
1375
1557
|
# @return [String]
|
1376
1558
|
#
|
1377
1559
|
# @!attribute [rw] security_group_ids
|
1378
1560
|
# The security group IDs to associate with the instance used to
|
1379
|
-
# customize your EC2 AMI.
|
1561
|
+
# customize your Amazon EC2 AMI.
|
1380
1562
|
# @return [Array<String>]
|
1381
1563
|
#
|
1382
1564
|
# @!attribute [rw] subnet_id
|
1383
1565
|
# The subnet ID in which to place the instance used to customize your
|
1384
|
-
# EC2 AMI.
|
1566
|
+
# Amazon EC2 AMI.
|
1385
1567
|
# @return [String]
|
1386
1568
|
#
|
1387
1569
|
# @!attribute [rw] logging
|
@@ -1751,6 +1933,13 @@ module Aws::Imagebuilder
|
|
1751
1933
|
# },
|
1752
1934
|
# },
|
1753
1935
|
# license_configuration_arns: ["LicenseConfigurationArn"],
|
1936
|
+
# launch_template_configurations: [
|
1937
|
+
# {
|
1938
|
+
# launch_template_id: "LaunchTemplateId", # required
|
1939
|
+
# account_id: "AccountId",
|
1940
|
+
# set_default_version: false,
|
1941
|
+
# },
|
1942
|
+
# ],
|
1754
1943
|
# }
|
1755
1944
|
#
|
1756
1945
|
# @!attribute [rw] region
|
@@ -1758,8 +1947,8 @@ module Aws::Imagebuilder
|
|
1758
1947
|
# @return [String]
|
1759
1948
|
#
|
1760
1949
|
# @!attribute [rw] ami_distribution_configuration
|
1761
|
-
# The specific AMI settings
|
1762
|
-
# tags
|
1950
|
+
# The specific AMI settings; for example, launch permissions or AMI
|
1951
|
+
# tags.
|
1763
1952
|
# @return [Types::AmiDistributionConfiguration]
|
1764
1953
|
#
|
1765
1954
|
# @!attribute [rw] container_distribution_configuration
|
@@ -1772,13 +1961,19 @@ module Aws::Imagebuilder
|
|
1772
1961
|
# specified Region.
|
1773
1962
|
# @return [Array<String>]
|
1774
1963
|
#
|
1964
|
+
# @!attribute [rw] launch_template_configurations
|
1965
|
+
# A group of launchTemplateConfiguration settings that apply to image
|
1966
|
+
# distribution for specified accounts.
|
1967
|
+
# @return [Array<Types::LaunchTemplateConfiguration>]
|
1968
|
+
#
|
1775
1969
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/Distribution AWS API Documentation
|
1776
1970
|
#
|
1777
1971
|
class Distribution < Struct.new(
|
1778
1972
|
:region,
|
1779
1973
|
:ami_distribution_configuration,
|
1780
1974
|
:container_distribution_configuration,
|
1781
|
-
:license_configuration_arns
|
1975
|
+
:license_configuration_arns,
|
1976
|
+
:launch_template_configurations)
|
1782
1977
|
SENSITIVE = []
|
1783
1978
|
include Aws::Structure
|
1784
1979
|
end
|
@@ -1798,7 +1993,8 @@ module Aws::Imagebuilder
|
|
1798
1993
|
# @return [String]
|
1799
1994
|
#
|
1800
1995
|
# @!attribute [rw] distributions
|
1801
|
-
# The
|
1996
|
+
# The distribution objects that apply Region-specific settings for the
|
1997
|
+
# deployment of the image to targeted Regions.
|
1802
1998
|
# @return [Array<Types::Distribution>]
|
1803
1999
|
#
|
1804
2000
|
# @!attribute [rw] timeout_minutes
|
@@ -1888,7 +2084,7 @@ module Aws::Imagebuilder
|
|
1888
2084
|
# kms_key_id: "NonEmptyString",
|
1889
2085
|
# snapshot_id: "NonEmptyString",
|
1890
2086
|
# volume_size: 1,
|
1891
|
-
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
|
2087
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, gp3, sc1, st1
|
1892
2088
|
# }
|
1893
2089
|
#
|
1894
2090
|
# @!attribute [rw] encrypted
|
@@ -2505,6 +2701,27 @@ module Aws::Imagebuilder
|
|
2505
2701
|
include Aws::Structure
|
2506
2702
|
end
|
2507
2703
|
|
2704
|
+
# Represents a package installed on an Image Builder image.
|
2705
|
+
#
|
2706
|
+
# @!attribute [rw] package_name
|
2707
|
+
# The name of the package as reported to the operating system package
|
2708
|
+
# manager.
|
2709
|
+
# @return [String]
|
2710
|
+
#
|
2711
|
+
# @!attribute [rw] package_version
|
2712
|
+
# The version of the package as reported to the operating system
|
2713
|
+
# package manager.
|
2714
|
+
# @return [String]
|
2715
|
+
#
|
2716
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImagePackage AWS API Documentation
|
2717
|
+
#
|
2718
|
+
class ImagePackage < Struct.new(
|
2719
|
+
:package_name,
|
2720
|
+
:package_version)
|
2721
|
+
SENSITIVE = []
|
2722
|
+
include Aws::Structure
|
2723
|
+
end
|
2724
|
+
|
2508
2725
|
# Details of an image pipeline.
|
2509
2726
|
#
|
2510
2727
|
# @!attribute [rw] arn
|
@@ -2662,6 +2879,14 @@ module Aws::Imagebuilder
|
|
2662
2879
|
# The working directory to be used during build and test workflows.
|
2663
2880
|
# @return [String]
|
2664
2881
|
#
|
2882
|
+
# @!attribute [rw] additional_instance_configuration
|
2883
|
+
# Before you create a new AMI, Image Builder launches temporary Amazon
|
2884
|
+
# EC2 instances to build and test your image configuration. Instance
|
2885
|
+
# configuration adds a layer of control over those instances. You can
|
2886
|
+
# define settings and add scripts to run when an instance is launched
|
2887
|
+
# from your AMI.
|
2888
|
+
# @return [Types::AdditionalInstanceConfiguration]
|
2889
|
+
#
|
2665
2890
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImageRecipe AWS API Documentation
|
2666
2891
|
#
|
2667
2892
|
class ImageRecipe < Struct.new(
|
@@ -2677,7 +2902,8 @@ module Aws::Imagebuilder
|
|
2677
2902
|
:block_device_mappings,
|
2678
2903
|
:date_created,
|
2679
2904
|
:tags,
|
2680
|
-
:working_directory
|
2905
|
+
:working_directory,
|
2906
|
+
:additional_instance_configuration)
|
2681
2907
|
SENSITIVE = []
|
2682
2908
|
include Aws::Structure
|
2683
2909
|
end
|
@@ -2948,10 +3174,11 @@ module Aws::Imagebuilder
|
|
2948
3174
|
# @return [String]
|
2949
3175
|
#
|
2950
3176
|
# @!attribute [rw] uri
|
2951
|
-
# The uri of the component. Must be an S3 URL and the requester
|
2952
|
-
# have permission to access the S3 bucket. If you use
|
2953
|
-
# specify component content up to your service
|
2954
|
-
# `uri` can be used to specify the data within
|
3177
|
+
# The uri of the component. Must be an Amazon S3 URL and the requester
|
3178
|
+
# must have permission to access the Amazon S3 bucket. If you use
|
3179
|
+
# Amazon S3, you can specify component content up to your service
|
3180
|
+
# quota. Either `data` or `uri` can be used to specify the data within
|
3181
|
+
# the component.
|
2955
3182
|
# @return [String]
|
2956
3183
|
#
|
2957
3184
|
# @!attribute [rw] kms_key_id
|
@@ -3045,7 +3272,7 @@ module Aws::Imagebuilder
|
|
3045
3272
|
# @return [Types::Logging]
|
3046
3273
|
#
|
3047
3274
|
# @!attribute [rw] key_pair
|
3048
|
-
# The EC2 key pair of the infrastructure configuration.
|
3275
|
+
# The Amazon EC2 key pair of the infrastructure configuration.
|
3049
3276
|
# @return [String]
|
3050
3277
|
#
|
3051
3278
|
# @!attribute [rw] terminate_instance_on_failure
|
@@ -3096,7 +3323,7 @@ module Aws::Imagebuilder
|
|
3096
3323
|
include Aws::Structure
|
3097
3324
|
end
|
3098
3325
|
|
3099
|
-
# The infrastructure used when building EC2 AMIs.
|
3326
|
+
# The infrastructure used when building Amazon EC2 AMIs.
|
3100
3327
|
#
|
3101
3328
|
# @!attribute [rw] arn
|
3102
3329
|
# The Amazon Resource Name (ARN) of the infrastructure configuration.
|
@@ -3126,6 +3353,14 @@ module Aws::Imagebuilder
|
|
3126
3353
|
# The tags of the infrastructure configuration.
|
3127
3354
|
# @return [Hash<String,String>]
|
3128
3355
|
#
|
3356
|
+
# @!attribute [rw] instance_types
|
3357
|
+
# The instance types of the infrastructure configuration.
|
3358
|
+
# @return [Array<String>]
|
3359
|
+
#
|
3360
|
+
# @!attribute [rw] instance_profile_name
|
3361
|
+
# The instance profile of the infrastructure configuration.
|
3362
|
+
# @return [String]
|
3363
|
+
#
|
3129
3364
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/InfrastructureConfigurationSummary AWS API Documentation
|
3130
3365
|
#
|
3131
3366
|
class InfrastructureConfigurationSummary < Struct.new(
|
@@ -3135,7 +3370,9 @@ module Aws::Imagebuilder
|
|
3135
3370
|
:date_created,
|
3136
3371
|
:date_updated,
|
3137
3372
|
:resource_tags,
|
3138
|
-
:tags
|
3373
|
+
:tags,
|
3374
|
+
:instance_types,
|
3375
|
+
:instance_profile_name)
|
3139
3376
|
SENSITIVE = []
|
3140
3377
|
include Aws::Structure
|
3141
3378
|
end
|
@@ -3155,7 +3392,7 @@ module Aws::Imagebuilder
|
|
3155
3392
|
# kms_key_id: "NonEmptyString",
|
3156
3393
|
# snapshot_id: "NonEmptyString",
|
3157
3394
|
# volume_size: 1,
|
3158
|
-
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
|
3395
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, gp3, sc1, st1
|
3159
3396
|
# },
|
3160
3397
|
# virtual_name: "NonEmptyString",
|
3161
3398
|
# no_device: "EmptyString",
|
@@ -3188,6 +3425,52 @@ module Aws::Imagebuilder
|
|
3188
3425
|
include Aws::Structure
|
3189
3426
|
end
|
3190
3427
|
|
3428
|
+
# Defines a custom source AMI and block device mapping configurations of
|
3429
|
+
# an instance used for building and testing container images.
|
3430
|
+
#
|
3431
|
+
# @note When making an API call, you may pass InstanceConfiguration
|
3432
|
+
# data as a hash:
|
3433
|
+
#
|
3434
|
+
# {
|
3435
|
+
# image: "NonEmptyString",
|
3436
|
+
# block_device_mappings: [
|
3437
|
+
# {
|
3438
|
+
# device_name: "NonEmptyString",
|
3439
|
+
# ebs: {
|
3440
|
+
# encrypted: false,
|
3441
|
+
# delete_on_termination: false,
|
3442
|
+
# iops: 1,
|
3443
|
+
# kms_key_id: "NonEmptyString",
|
3444
|
+
# snapshot_id: "NonEmptyString",
|
3445
|
+
# volume_size: 1,
|
3446
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, gp3, sc1, st1
|
3447
|
+
# },
|
3448
|
+
# virtual_name: "NonEmptyString",
|
3449
|
+
# no_device: "EmptyString",
|
3450
|
+
# },
|
3451
|
+
# ],
|
3452
|
+
# }
|
3453
|
+
#
|
3454
|
+
# @!attribute [rw] image
|
3455
|
+
# The AMI ID to use as the base image for a container build and test
|
3456
|
+
# instance. If not specified, Image Builder will use the appropriate
|
3457
|
+
# ECS-optimized AMI as a base image.
|
3458
|
+
# @return [String]
|
3459
|
+
#
|
3460
|
+
# @!attribute [rw] block_device_mappings
|
3461
|
+
# Defines the block devices to attach for building an instance from
|
3462
|
+
# this Image Builder AMI.
|
3463
|
+
# @return [Array<Types::InstanceBlockDeviceMapping>]
|
3464
|
+
#
|
3465
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/InstanceConfiguration AWS API Documentation
|
3466
|
+
#
|
3467
|
+
class InstanceConfiguration < Struct.new(
|
3468
|
+
:image,
|
3469
|
+
:block_device_mappings)
|
3470
|
+
SENSITIVE = []
|
3471
|
+
include Aws::Structure
|
3472
|
+
end
|
3473
|
+
|
3191
3474
|
# You have provided an invalid pagination token in your request.
|
3192
3475
|
#
|
3193
3476
|
# @!attribute [rw] message
|
@@ -3271,11 +3554,11 @@ module Aws::Imagebuilder
|
|
3271
3554
|
end
|
3272
3555
|
|
3273
3556
|
# Describes the configuration for a launch permission. The launch
|
3274
|
-
# permission modification request is sent to the [EC2
|
3557
|
+
# permission modification request is sent to the [Amazon EC2
|
3275
3558
|
# ModifyImageAttribute][1] API on behalf of the user for each Region
|
3276
3559
|
# they have selected to distribute the AMI. To make an AMI public, set
|
3277
3560
|
# the launch permission authorized accounts to `all`. See the examples
|
3278
|
-
# for making an AMI public at [EC2 ModifyImageAttribute][1].
|
3561
|
+
# for making an AMI public at [Amazon EC2 ModifyImageAttribute][1].
|
3279
3562
|
#
|
3280
3563
|
#
|
3281
3564
|
#
|
@@ -3290,7 +3573,7 @@ module Aws::Imagebuilder
|
|
3290
3573
|
# }
|
3291
3574
|
#
|
3292
3575
|
# @!attribute [rw] user_ids
|
3293
|
-
# The
|
3576
|
+
# The account ID.
|
3294
3577
|
# @return [Array<String>]
|
3295
3578
|
#
|
3296
3579
|
# @!attribute [rw] user_groups
|
@@ -3306,6 +3589,41 @@ module Aws::Imagebuilder
|
|
3306
3589
|
include Aws::Structure
|
3307
3590
|
end
|
3308
3591
|
|
3592
|
+
# Identifies an Amazon EC2 launch template to use for a specific
|
3593
|
+
# account.
|
3594
|
+
#
|
3595
|
+
# @note When making an API call, you may pass LaunchTemplateConfiguration
|
3596
|
+
# data as a hash:
|
3597
|
+
#
|
3598
|
+
# {
|
3599
|
+
# launch_template_id: "LaunchTemplateId", # required
|
3600
|
+
# account_id: "AccountId",
|
3601
|
+
# set_default_version: false,
|
3602
|
+
# }
|
3603
|
+
#
|
3604
|
+
# @!attribute [rw] launch_template_id
|
3605
|
+
# Identifies the Amazon EC2 launch template to use.
|
3606
|
+
# @return [String]
|
3607
|
+
#
|
3608
|
+
# @!attribute [rw] account_id
|
3609
|
+
# The account ID that this configuration applies to.
|
3610
|
+
# @return [String]
|
3611
|
+
#
|
3612
|
+
# @!attribute [rw] set_default_version
|
3613
|
+
# Set the specified Amazon EC2 launch template as the default launch
|
3614
|
+
# template for the specified account.
|
3615
|
+
# @return [Boolean]
|
3616
|
+
#
|
3617
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/LaunchTemplateConfiguration AWS API Documentation
|
3618
|
+
#
|
3619
|
+
class LaunchTemplateConfiguration < Struct.new(
|
3620
|
+
:launch_template_id,
|
3621
|
+
:account_id,
|
3622
|
+
:set_default_version)
|
3623
|
+
SENSITIVE = []
|
3624
|
+
include Aws::Structure
|
3625
|
+
end
|
3626
|
+
|
3309
3627
|
# @note When making an API call, you may pass ListComponentBuildVersionsRequest
|
3310
3628
|
# data as a hash:
|
3311
3629
|
#
|
@@ -3650,6 +3968,63 @@ module Aws::Imagebuilder
|
|
3650
3968
|
include Aws::Structure
|
3651
3969
|
end
|
3652
3970
|
|
3971
|
+
# @note When making an API call, you may pass ListImagePackagesRequest
|
3972
|
+
# data as a hash:
|
3973
|
+
#
|
3974
|
+
# {
|
3975
|
+
# image_build_version_arn: "ImageBuildVersionArn", # required
|
3976
|
+
# max_results: 1,
|
3977
|
+
# next_token: "PaginationToken",
|
3978
|
+
# }
|
3979
|
+
#
|
3980
|
+
# @!attribute [rw] image_build_version_arn
|
3981
|
+
# Filter results for the ListImagePackages request by the Image Build
|
3982
|
+
# Version ARN
|
3983
|
+
# @return [String]
|
3984
|
+
#
|
3985
|
+
# @!attribute [rw] max_results
|
3986
|
+
# The maxiumum number of results to return from the ListImagePackages
|
3987
|
+
# request.
|
3988
|
+
# @return [Integer]
|
3989
|
+
#
|
3990
|
+
# @!attribute [rw] next_token
|
3991
|
+
# A token to specify where to start paginating. This is the NextToken
|
3992
|
+
# from a previously truncated response.
|
3993
|
+
# @return [String]
|
3994
|
+
#
|
3995
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImagePackagesRequest AWS API Documentation
|
3996
|
+
#
|
3997
|
+
class ListImagePackagesRequest < Struct.new(
|
3998
|
+
:image_build_version_arn,
|
3999
|
+
:max_results,
|
4000
|
+
:next_token)
|
4001
|
+
SENSITIVE = []
|
4002
|
+
include Aws::Structure
|
4003
|
+
end
|
4004
|
+
|
4005
|
+
# @!attribute [rw] request_id
|
4006
|
+
# The request ID that uniquely identifies this request.
|
4007
|
+
# @return [String]
|
4008
|
+
#
|
4009
|
+
# @!attribute [rw] image_package_list
|
4010
|
+
# The list of Image Packages returned in the response.
|
4011
|
+
# @return [Array<Types::ImagePackage>]
|
4012
|
+
#
|
4013
|
+
# @!attribute [rw] next_token
|
4014
|
+
# A token to specify where to start paginating. This is the NextToken
|
4015
|
+
# from a previously truncated response.
|
4016
|
+
# @return [String]
|
4017
|
+
#
|
4018
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImagePackagesResponse AWS API Documentation
|
4019
|
+
#
|
4020
|
+
class ListImagePackagesResponse < Struct.new(
|
4021
|
+
:request_id,
|
4022
|
+
:image_package_list,
|
4023
|
+
:next_token)
|
4024
|
+
SENSITIVE = []
|
4025
|
+
include Aws::Structure
|
4026
|
+
end
|
4027
|
+
|
3653
4028
|
# @note When making an API call, you may pass ListImagePipelineImagesRequest
|
3654
4029
|
# data as a hash:
|
3655
4030
|
#
|
@@ -4058,7 +4433,7 @@ module Aws::Imagebuilder
|
|
4058
4433
|
# The resources produced by this image.
|
4059
4434
|
#
|
4060
4435
|
# @!attribute [rw] amis
|
4061
|
-
# The EC2 AMIs created by this image.
|
4436
|
+
# The Amazon EC2 AMIs created by this image.
|
4062
4437
|
# @return [Array<Types::Ami>]
|
4063
4438
|
#
|
4064
4439
|
# @!attribute [rw] containers
|
@@ -4341,6 +4716,7 @@ module Aws::Imagebuilder
|
|
4341
4716
|
#
|
4342
4717
|
# {
|
4343
4718
|
# schedule_expression: "NonEmptyString",
|
4719
|
+
# timezone: "Timezone",
|
4344
4720
|
# pipeline_execution_start_condition: "EXPRESSION_MATCH_ONLY", # accepts EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
|
4345
4721
|
# }
|
4346
4722
|
#
|
@@ -4356,6 +4732,16 @@ module Aws::Imagebuilder
|
|
4356
4732
|
# [1]: https://docs.aws.amazon.com/imagebuilder/latest/userguide/image-builder-cron.html
|
4357
4733
|
# @return [String]
|
4358
4734
|
#
|
4735
|
+
# @!attribute [rw] timezone
|
4736
|
+
# The timezone that applies to the scheduling expression. For example,
|
4737
|
+
# "Etc/UTC", "America/Los\_Angeles" in the [IANA timezone
|
4738
|
+
# format][1]. If not specified this defaults to UTC.
|
4739
|
+
#
|
4740
|
+
#
|
4741
|
+
#
|
4742
|
+
# [1]: https://www.joda.org/joda-time/timezones.html
|
4743
|
+
# @return [String]
|
4744
|
+
#
|
4359
4745
|
# @!attribute [rw] pipeline_execution_start_condition
|
4360
4746
|
# The condition configures when the pipeline should trigger a new
|
4361
4747
|
# image build. When the `pipelineExecutionStartCondition` is set to
|
@@ -4378,6 +4764,7 @@ module Aws::Imagebuilder
|
|
4378
4764
|
#
|
4379
4765
|
class Schedule < Struct.new(
|
4380
4766
|
:schedule_expression,
|
4767
|
+
:timezone,
|
4381
4768
|
:pipeline_execution_start_condition)
|
4382
4769
|
SENSITIVE = []
|
4383
4770
|
include Aws::Structure
|
@@ -4481,6 +4868,30 @@ module Aws::Imagebuilder
|
|
4481
4868
|
include Aws::Structure
|
4482
4869
|
end
|
4483
4870
|
|
4871
|
+
# Contains settings for the SSM agent on your build instance.
|
4872
|
+
#
|
4873
|
+
# @note When making an API call, you may pass SystemsManagerAgent
|
4874
|
+
# data as a hash:
|
4875
|
+
#
|
4876
|
+
# {
|
4877
|
+
# uninstall_after_build: false,
|
4878
|
+
# }
|
4879
|
+
#
|
4880
|
+
# @!attribute [rw] uninstall_after_build
|
4881
|
+
# This property defaults to true. If Image Builder installs the SSM
|
4882
|
+
# agent on a build instance, it removes the agent before creating a
|
4883
|
+
# snapshot for the AMI. To ensure that the AMI you create includes the
|
4884
|
+
# SSM agent, set this property to false.
|
4885
|
+
# @return [Boolean]
|
4886
|
+
#
|
4887
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/SystemsManagerAgent AWS API Documentation
|
4888
|
+
#
|
4889
|
+
class SystemsManagerAgent < Struct.new(
|
4890
|
+
:uninstall_after_build)
|
4891
|
+
SENSITIVE = []
|
4892
|
+
include Aws::Structure
|
4893
|
+
end
|
4894
|
+
|
4484
4895
|
# @note When making an API call, you may pass TagResourceRequest
|
4485
4896
|
# data as a hash:
|
4486
4897
|
#
|
@@ -4601,6 +5012,13 @@ module Aws::Imagebuilder
|
|
4601
5012
|
# },
|
4602
5013
|
# },
|
4603
5014
|
# license_configuration_arns: ["LicenseConfigurationArn"],
|
5015
|
+
# launch_template_configurations: [
|
5016
|
+
# {
|
5017
|
+
# launch_template_id: "LaunchTemplateId", # required
|
5018
|
+
# account_id: "AccountId",
|
5019
|
+
# set_default_version: false,
|
5020
|
+
# },
|
5021
|
+
# ],
|
4604
5022
|
# },
|
4605
5023
|
# ],
|
4606
5024
|
# client_token: "ClientToken", # required
|
@@ -4677,6 +5095,7 @@ module Aws::Imagebuilder
|
|
4677
5095
|
# enhanced_image_metadata_enabled: false,
|
4678
5096
|
# schedule: {
|
4679
5097
|
# schedule_expression: "NonEmptyString",
|
5098
|
+
# timezone: "Timezone",
|
4680
5099
|
# pipeline_execution_start_condition: "EXPRESSION_MATCH_ONLY", # accepts EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
|
4681
5100
|
# },
|
4682
5101
|
# status: "DISABLED", # accepts DISABLED, ENABLED
|
@@ -4786,7 +5205,7 @@ module Aws::Imagebuilder
|
|
4786
5205
|
# infrastructure_configuration_arn: "InfrastructureConfigurationArn", # required
|
4787
5206
|
# description: "NonEmptyString",
|
4788
5207
|
# instance_types: ["InstanceType"],
|
4789
|
-
# instance_profile_name: "
|
5208
|
+
# instance_profile_name: "InstanceProfileNameType", # required
|
4790
5209
|
# security_group_ids: ["NonEmptyString"],
|
4791
5210
|
# subnet_id: "NonEmptyString",
|
4792
5211
|
# logging: {
|
@@ -4821,17 +5240,17 @@ module Aws::Imagebuilder
|
|
4821
5240
|
#
|
4822
5241
|
# @!attribute [rw] instance_profile_name
|
4823
5242
|
# The instance profile to associate with the instance used to
|
4824
|
-
# customize your EC2 AMI.
|
5243
|
+
# customize your Amazon EC2 AMI.
|
4825
5244
|
# @return [String]
|
4826
5245
|
#
|
4827
5246
|
# @!attribute [rw] security_group_ids
|
4828
5247
|
# The security group IDs to associate with the instance used to
|
4829
|
-
# customize your EC2 AMI.
|
5248
|
+
# customize your Amazon EC2 AMI.
|
4830
5249
|
# @return [Array<String>]
|
4831
5250
|
#
|
4832
5251
|
# @!attribute [rw] subnet_id
|
4833
|
-
# The subnet ID to place the instance used to customize your
|
4834
|
-
# in.
|
5252
|
+
# The subnet ID to place the instance used to customize your Amazon
|
5253
|
+
# EC2 AMI in.
|
4835
5254
|
# @return [String]
|
4836
5255
|
#
|
4837
5256
|
# @!attribute [rw] logging
|