aws-sdk-imagebuilder 1.29.0 → 1.30.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-imagebuilder/client.rb +102 -36
- data/lib/aws-sdk-imagebuilder/client_api.rb +20 -0
- data/lib/aws-sdk-imagebuilder/types.rb +209 -78
- data/lib/aws-sdk-imagebuilder.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 865fc09b128de33560a102f94667f6d67c1fcb273f3b197d18d949007223e3f1
|
4
|
+
data.tar.gz: 88db384f35dc0eee846d2c5351e843fcbc8154e36a0ce45cec11bad0d7e087d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c12a35adcc3d1f4f83ff9bc8bd7083246f9c4d56e72701acce09acbe7144797f1c8083ea6641ccf0859b9a9650342c6638e72e91e52c42b060bdb71a0341a004
|
7
|
+
data.tar.gz: bb488c1d49d580ddc878c0ea7e07aaf405a400cdf16d64d41a4338e49bcc55952a6a906baf17ff9521c4057d94c1f8ab364541e785dcdbc37fa6c7b8dde4b3f5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.30.0 (2021-09-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This feature adds support for specifying GP3 volume throughput and configuring instance metadata options for instances launched by EC2 Image Builder.
|
8
|
+
|
4
9
|
1.29.0 (2021-09-01)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.30.0
|
@@ -385,7 +385,7 @@ module Aws::Imagebuilder
|
|
385
385
|
# **Assignment:** For the first three nodes you can assign any positive
|
386
386
|
# integer value, including zero, with an upper limit of 2^30-1, or
|
387
387
|
# 1073741823 for each node. Image Builder automatically assigns the
|
388
|
-
# build number
|
388
|
+
# build number to the fourth node.
|
389
389
|
#
|
390
390
|
# **Patterns:** You can use any numeric pattern that adheres to the
|
391
391
|
# assignment requirements for the nodes that you can assign. For
|
@@ -495,7 +495,7 @@ module Aws::Imagebuilder
|
|
495
495
|
# **Assignment:** For the first three nodes you can assign any positive
|
496
496
|
# integer value, including zero, with an upper limit of 2^30-1, or
|
497
497
|
# 1073741823 for each node. Image Builder automatically assigns the
|
498
|
-
# build number
|
498
|
+
# build number to the fourth node.
|
499
499
|
#
|
500
500
|
# **Patterns:** You can use any numeric pattern that adheres to the
|
501
501
|
# assignment requirements for the nodes that you can assign. For
|
@@ -585,6 +585,7 @@ module Aws::Imagebuilder
|
|
585
585
|
# snapshot_id: "NonEmptyString",
|
586
586
|
# volume_size: 1,
|
587
587
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, gp3, sc1, st1
|
588
|
+
# throughput: 1,
|
588
589
|
# },
|
589
590
|
# virtual_name: "NonEmptyString",
|
590
591
|
# no_device: "EmptyString",
|
@@ -906,7 +907,7 @@ module Aws::Imagebuilder
|
|
906
907
|
# **Assignment:** For the first three nodes you can assign any positive
|
907
908
|
# integer value, including zero, with an upper limit of 2^30-1, or
|
908
909
|
# 1073741823 for each node. Image Builder automatically assigns the
|
909
|
-
# build number
|
910
|
+
# build number to the fourth node.
|
910
911
|
#
|
911
912
|
# **Patterns:** You can use any numeric pattern that adheres to the
|
912
913
|
# assignment requirements for the nodes that you can assign. For
|
@@ -982,6 +983,7 @@ module Aws::Imagebuilder
|
|
982
983
|
# snapshot_id: "NonEmptyString",
|
983
984
|
# volume_size: 1,
|
984
985
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, gp3, sc1, st1
|
986
|
+
# throughput: 1,
|
985
987
|
# },
|
986
988
|
# virtual_name: "NonEmptyString",
|
987
989
|
# no_device: "EmptyString",
|
@@ -1026,9 +1028,21 @@ module Aws::Imagebuilder
|
|
1026
1028
|
# The description of the infrastructure configuration.
|
1027
1029
|
#
|
1028
1030
|
# @option params [Array<String>] :instance_types
|
1029
|
-
# The instance
|
1030
|
-
#
|
1031
|
-
#
|
1031
|
+
# The instance metadata options that you can set for the HTTP requests
|
1032
|
+
# that pipeline builds use to launch EC2 build and test instances. For
|
1033
|
+
# more information about instance metadata options, see one of the
|
1034
|
+
# following links:
|
1035
|
+
#
|
1036
|
+
# * [Configure the instance metadata options][1] in the <i> <i>Amazon
|
1037
|
+
# EC2 User Guide</i> </i> for Linux instances.
|
1038
|
+
#
|
1039
|
+
# * [Configure the instance metadata options][2] in the <i> <i>Amazon
|
1040
|
+
# EC2 Windows Guide</i> </i> for Windows instances.
|
1041
|
+
#
|
1042
|
+
#
|
1043
|
+
#
|
1044
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html
|
1045
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/configuring-instance-metadata-options.html
|
1032
1046
|
#
|
1033
1047
|
# @option params [required, String] :instance_profile_name
|
1034
1048
|
# The instance profile to associate with the instance used to customize
|
@@ -1046,7 +1060,7 @@ module Aws::Imagebuilder
|
|
1046
1060
|
# The logging configuration of the infrastructure configuration.
|
1047
1061
|
#
|
1048
1062
|
# @option params [String] :key_pair
|
1049
|
-
# The key pair of the infrastructure configuration.
|
1063
|
+
# The key pair of the infrastructure configuration. You can use this to
|
1050
1064
|
# log on to and debug the instance used to create your image.
|
1051
1065
|
#
|
1052
1066
|
# @option params [Boolean] :terminate_instance_on_failure
|
@@ -1061,6 +1075,10 @@ module Aws::Imagebuilder
|
|
1061
1075
|
# @option params [Hash<String,String>] :resource_tags
|
1062
1076
|
# The tags attached to the resource created by Image Builder.
|
1063
1077
|
#
|
1078
|
+
# @option params [Types::InstanceMetadataOptions] :instance_metadata_options
|
1079
|
+
# The instance metadata options that you can set for the HTTP requests
|
1080
|
+
# that pipeline builds use to launch EC2 build and test instances.
|
1081
|
+
#
|
1064
1082
|
# @option params [Hash<String,String>] :tags
|
1065
1083
|
# The tags of the infrastructure configuration.
|
1066
1084
|
#
|
@@ -1097,6 +1115,10 @@ module Aws::Imagebuilder
|
|
1097
1115
|
# resource_tags: {
|
1098
1116
|
# "TagKey" => "TagValue",
|
1099
1117
|
# },
|
1118
|
+
# instance_metadata_options: {
|
1119
|
+
# http_tokens: "HttpTokens",
|
1120
|
+
# http_put_response_hop_limit: 1,
|
1121
|
+
# },
|
1100
1122
|
# tags: {
|
1101
1123
|
# "TagKey" => "TagValue",
|
1102
1124
|
# },
|
@@ -1210,10 +1232,29 @@ module Aws::Imagebuilder
|
|
1210
1232
|
req.send_request(options)
|
1211
1233
|
end
|
1212
1234
|
|
1213
|
-
# Deletes an image.
|
1235
|
+
# Deletes an Image Builder image resource. This does not delete any EC2
|
1236
|
+
# AMIs or ECR container images that are created during the image build
|
1237
|
+
# process. You must clean those up separately, using the appropriate
|
1238
|
+
# Amazon EC2 or Amazon ECR console actions, or API or CLI commands.
|
1239
|
+
#
|
1240
|
+
# * To deregister an EC2 Linux AMI, see [Deregister your Linux AMI][1]
|
1241
|
+
# in the <i> <i>Amazon EC2 User Guide</i> </i>.
|
1242
|
+
#
|
1243
|
+
# * To deregister an EC2 Windows AMI, see [Deregister your Windows
|
1244
|
+
# AMI][2] in the <i> <i>Amazon EC2 Windows Guide</i> </i>.
|
1245
|
+
#
|
1246
|
+
# * To delete a container image from Amazon ECR, see [Deleting an
|
1247
|
+
# image][3] in the *Amazon ECR User Guide*.
|
1248
|
+
#
|
1249
|
+
#
|
1250
|
+
#
|
1251
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/deregister-ami.html
|
1252
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/deregister-ami.html
|
1253
|
+
# [3]: https://docs.aws.amazon.com/https:/docs.aws.amazon.comAmazonECR/latest/userguide/delete_image.html
|
1214
1254
|
#
|
1215
1255
|
# @option params [required, String] :image_build_version_arn
|
1216
|
-
# The Amazon Resource Name (ARN) of the image to
|
1256
|
+
# The Amazon Resource Name (ARN) of the Image Builder image resource to
|
1257
|
+
# delete.
|
1217
1258
|
#
|
1218
1259
|
# @return [Types::DeleteImageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1219
1260
|
#
|
@@ -1360,6 +1401,8 @@ module Aws::Imagebuilder
|
|
1360
1401
|
# resp.component.platform #=> String, one of "Windows", "Linux"
|
1361
1402
|
# resp.component.supported_os_versions #=> Array
|
1362
1403
|
# resp.component.supported_os_versions[0] #=> String
|
1404
|
+
# resp.component.state.status #=> String, one of "DEPRECATED"
|
1405
|
+
# resp.component.state.reason #=> String
|
1363
1406
|
# resp.component.parameters #=> Array
|
1364
1407
|
# resp.component.parameters[0].name #=> String
|
1365
1408
|
# resp.component.parameters[0].type #=> String
|
@@ -1456,6 +1499,7 @@ module Aws::Imagebuilder
|
|
1456
1499
|
# resp.container_recipe.instance_configuration.block_device_mappings[0].ebs.snapshot_id #=> String
|
1457
1500
|
# resp.container_recipe.instance_configuration.block_device_mappings[0].ebs.volume_size #=> Integer
|
1458
1501
|
# resp.container_recipe.instance_configuration.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "gp3", "sc1", "st1"
|
1502
|
+
# resp.container_recipe.instance_configuration.block_device_mappings[0].ebs.throughput #=> Integer
|
1459
1503
|
# resp.container_recipe.instance_configuration.block_device_mappings[0].virtual_name #=> String
|
1460
1504
|
# resp.container_recipe.instance_configuration.block_device_mappings[0].no_device #=> String
|
1461
1505
|
# resp.container_recipe.dockerfile_template_data #=> String
|
@@ -1622,6 +1666,7 @@ module Aws::Imagebuilder
|
|
1622
1666
|
# resp.image.image_recipe.block_device_mappings[0].ebs.snapshot_id #=> String
|
1623
1667
|
# resp.image.image_recipe.block_device_mappings[0].ebs.volume_size #=> Integer
|
1624
1668
|
# resp.image.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "gp3", "sc1", "st1"
|
1669
|
+
# resp.image.image_recipe.block_device_mappings[0].ebs.throughput #=> Integer
|
1625
1670
|
# resp.image.image_recipe.block_device_mappings[0].virtual_name #=> String
|
1626
1671
|
# resp.image.image_recipe.block_device_mappings[0].no_device #=> String
|
1627
1672
|
# resp.image.image_recipe.date_created #=> String
|
@@ -1653,6 +1698,7 @@ module Aws::Imagebuilder
|
|
1653
1698
|
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].ebs.snapshot_id #=> String
|
1654
1699
|
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].ebs.volume_size #=> Integer
|
1655
1700
|
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "gp3", "sc1", "st1"
|
1701
|
+
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].ebs.throughput #=> Integer
|
1656
1702
|
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].virtual_name #=> String
|
1657
1703
|
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].no_device #=> String
|
1658
1704
|
# resp.image.container_recipe.dockerfile_template_data #=> String
|
@@ -1685,6 +1731,8 @@ module Aws::Imagebuilder
|
|
1685
1731
|
# resp.image.infrastructure_configuration.date_updated #=> String
|
1686
1732
|
# resp.image.infrastructure_configuration.resource_tags #=> Hash
|
1687
1733
|
# resp.image.infrastructure_configuration.resource_tags["TagKey"] #=> String
|
1734
|
+
# resp.image.infrastructure_configuration.instance_metadata_options.http_tokens #=> String
|
1735
|
+
# resp.image.infrastructure_configuration.instance_metadata_options.http_put_response_hop_limit #=> Integer
|
1688
1736
|
# resp.image.infrastructure_configuration.tags #=> Hash
|
1689
1737
|
# resp.image.infrastructure_configuration.tags["TagKey"] #=> String
|
1690
1738
|
# resp.image.distribution_configuration.arn #=> String
|
@@ -1871,6 +1919,7 @@ module Aws::Imagebuilder
|
|
1871
1919
|
# resp.image_recipe.block_device_mappings[0].ebs.snapshot_id #=> String
|
1872
1920
|
# resp.image_recipe.block_device_mappings[0].ebs.volume_size #=> Integer
|
1873
1921
|
# resp.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "gp3", "sc1", "st1"
|
1922
|
+
# resp.image_recipe.block_device_mappings[0].ebs.throughput #=> Integer
|
1874
1923
|
# resp.image_recipe.block_device_mappings[0].virtual_name #=> String
|
1875
1924
|
# resp.image_recipe.block_device_mappings[0].no_device #=> String
|
1876
1925
|
# resp.image_recipe.date_created #=> String
|
@@ -1958,6 +2007,8 @@ module Aws::Imagebuilder
|
|
1958
2007
|
# resp.infrastructure_configuration.date_updated #=> String
|
1959
2008
|
# resp.infrastructure_configuration.resource_tags #=> Hash
|
1960
2009
|
# resp.infrastructure_configuration.resource_tags["TagKey"] #=> String
|
2010
|
+
# resp.infrastructure_configuration.instance_metadata_options.http_tokens #=> String
|
2011
|
+
# resp.infrastructure_configuration.instance_metadata_options.http_put_response_hop_limit #=> Integer
|
1961
2012
|
# resp.infrastructure_configuration.tags #=> Hash
|
1962
2013
|
# resp.infrastructure_configuration.tags["TagKey"] #=> String
|
1963
2014
|
#
|
@@ -1983,14 +2034,11 @@ module Aws::Imagebuilder
|
|
1983
2034
|
# <major>.<minor>.<patch>/<build>. You can
|
1984
2035
|
# assign values for the first three, and can filter on all of them.
|
1985
2036
|
#
|
1986
|
-
# **Filtering:**
|
1987
|
-
#
|
1988
|
-
#
|
1989
|
-
#
|
1990
|
-
#
|
1991
|
-
# "1.x.2", nor "x.2.x" will work. You do not have to specify the
|
1992
|
-
# build - Image Builder automatically uses a wildcard for that, if
|
1993
|
-
# applicable.
|
2037
|
+
# **Filtering:** With semantic versioning, you have the flexibility to
|
2038
|
+
# use wildcards (x) to specify the most recent versions or nodes when
|
2039
|
+
# selecting the source image or components for your recipe. When you use
|
2040
|
+
# a wildcard in any node, all nodes to the right of the first wildcard
|
2041
|
+
# must also be wildcards.
|
1994
2042
|
#
|
1995
2043
|
# </note>
|
1996
2044
|
#
|
@@ -2082,14 +2130,11 @@ module Aws::Imagebuilder
|
|
2082
2130
|
# <major>.<minor>.<patch>/<build>. You can
|
2083
2131
|
# assign values for the first three, and can filter on all of them.
|
2084
2132
|
#
|
2085
|
-
# **Filtering:**
|
2086
|
-
#
|
2087
|
-
#
|
2088
|
-
#
|
2089
|
-
#
|
2090
|
-
# "1.x.2", nor "x.2.x" will work. You do not have to specify the
|
2091
|
-
# build - Image Builder automatically uses a wildcard for that, if
|
2092
|
-
# applicable.
|
2133
|
+
# **Filtering:** With semantic versioning, you have the flexibility to
|
2134
|
+
# use wildcards (x) to specify the most recent versions or nodes when
|
2135
|
+
# selecting the source image or components for your recipe. When you use
|
2136
|
+
# a wildcard in any node, all nodes to the right of the first wildcard
|
2137
|
+
# must also be wildcards.
|
2093
2138
|
#
|
2094
2139
|
# </note>
|
2095
2140
|
#
|
@@ -2130,6 +2175,8 @@ module Aws::Imagebuilder
|
|
2130
2175
|
# resp.component_summary_list[0].platform #=> String, one of "Windows", "Linux"
|
2131
2176
|
# resp.component_summary_list[0].supported_os_versions #=> Array
|
2132
2177
|
# resp.component_summary_list[0].supported_os_versions[0] #=> String
|
2178
|
+
# resp.component_summary_list[0].state.status #=> String, one of "DEPRECATED"
|
2179
|
+
# resp.component_summary_list[0].state.reason #=> String
|
2133
2180
|
# resp.component_summary_list[0].type #=> String, one of "BUILD", "TEST"
|
2134
2181
|
# resp.component_summary_list[0].owner #=> String
|
2135
2182
|
# resp.component_summary_list[0].description #=> String
|
@@ -2155,14 +2202,11 @@ module Aws::Imagebuilder
|
|
2155
2202
|
# <major>.<minor>.<patch>/<build>. You can
|
2156
2203
|
# assign values for the first three, and can filter on all of them.
|
2157
2204
|
#
|
2158
|
-
# **Filtering:**
|
2159
|
-
#
|
2160
|
-
#
|
2161
|
-
#
|
2162
|
-
#
|
2163
|
-
# "1.x.2", nor "x.2.x" will work. You do not have to specify the
|
2164
|
-
# build - Image Builder automatically uses a wildcard for that, if
|
2165
|
-
# applicable.
|
2205
|
+
# **Filtering:** With semantic versioning, you have the flexibility to
|
2206
|
+
# use wildcards (x) to specify the most recent versions or nodes when
|
2207
|
+
# selecting the source image or components for your recipe. When you use
|
2208
|
+
# a wildcard in any node, all nodes to the right of the first wildcard
|
2209
|
+
# must also be wildcards.
|
2166
2210
|
#
|
2167
2211
|
# </note>
|
2168
2212
|
#
|
@@ -2463,7 +2507,8 @@ module Aws::Imagebuilder
|
|
2463
2507
|
end
|
2464
2508
|
|
2465
2509
|
# List the Packages that are associated with an Image Build Version, as
|
2466
|
-
# determined by Amazon
|
2510
|
+
# determined by Amazon Web Services Systems Manager Inventory at build
|
2511
|
+
# time.
|
2467
2512
|
#
|
2468
2513
|
# @option params [required, String] :image_build_version_arn
|
2469
2514
|
# Filter results for the ListImagePackages request by the Image Build
|
@@ -3395,7 +3440,7 @@ module Aws::Imagebuilder
|
|
3395
3440
|
# The logging configuration of the infrastructure configuration.
|
3396
3441
|
#
|
3397
3442
|
# @option params [String] :key_pair
|
3398
|
-
# The key pair of the infrastructure configuration.
|
3443
|
+
# The key pair of the infrastructure configuration. You can use this to
|
3399
3444
|
# log on to and debug the instance used to create your image.
|
3400
3445
|
#
|
3401
3446
|
# @option params [Boolean] :terminate_instance_on_failure
|
@@ -3416,6 +3461,23 @@ module Aws::Imagebuilder
|
|
3416
3461
|
# @option params [Hash<String,String>] :resource_tags
|
3417
3462
|
# The tags attached to the resource created by Image Builder.
|
3418
3463
|
#
|
3464
|
+
# @option params [Types::InstanceMetadataOptions] :instance_metadata_options
|
3465
|
+
# The instance metadata options that you can set for the HTTP requests
|
3466
|
+
# that pipeline builds use to launch EC2 build and test instances. For
|
3467
|
+
# more information about instance metadata options, see one of the
|
3468
|
+
# following links:
|
3469
|
+
#
|
3470
|
+
# * [Configure the instance metadata options][1] in the <i> <i>Amazon
|
3471
|
+
# EC2 User Guide</i> </i> for Linux instances.
|
3472
|
+
#
|
3473
|
+
# * [Configure the instance metadata options][2] in the <i> <i>Amazon
|
3474
|
+
# EC2 Windows Guide</i> </i> for Windows instances.
|
3475
|
+
#
|
3476
|
+
#
|
3477
|
+
#
|
3478
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html
|
3479
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/configuring-instance-metadata-options.html
|
3480
|
+
#
|
3419
3481
|
# @return [Types::UpdateInfrastructureConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3420
3482
|
#
|
3421
3483
|
# * {Types::UpdateInfrastructureConfigurationResponse#request_id #request_id} => String
|
@@ -3444,6 +3506,10 @@ module Aws::Imagebuilder
|
|
3444
3506
|
# resource_tags: {
|
3445
3507
|
# "TagKey" => "TagValue",
|
3446
3508
|
# },
|
3509
|
+
# instance_metadata_options: {
|
3510
|
+
# http_tokens: "HttpTokens",
|
3511
|
+
# http_put_response_hop_limit: 1,
|
3512
|
+
# },
|
3447
3513
|
# })
|
3448
3514
|
#
|
3449
3515
|
# @example Response structure
|
@@ -3474,7 +3540,7 @@ module Aws::Imagebuilder
|
|
3474
3540
|
params: params,
|
3475
3541
|
config: config)
|
3476
3542
|
context[:gem_name] = 'aws-sdk-imagebuilder'
|
3477
|
-
context[:gem_version] = '1.
|
3543
|
+
context[:gem_version] = '1.30.0'
|
3478
3544
|
Seahorse::Client::Request.new(handlers, context)
|
3479
3545
|
end
|
3480
3546
|
|
@@ -42,6 +42,8 @@ module Aws::Imagebuilder
|
|
42
42
|
ComponentParameterType = Shapes::StringShape.new(name: 'ComponentParameterType')
|
43
43
|
ComponentParameterValue = Shapes::StringShape.new(name: 'ComponentParameterValue')
|
44
44
|
ComponentParameterValueList = Shapes::ListShape.new(name: 'ComponentParameterValueList')
|
45
|
+
ComponentState = Shapes::StructureShape.new(name: 'ComponentState')
|
46
|
+
ComponentStatus = Shapes::StringShape.new(name: 'ComponentStatus')
|
45
47
|
ComponentSummary = Shapes::StructureShape.new(name: 'ComponentSummary')
|
46
48
|
ComponentSummaryList = Shapes::ListShape.new(name: 'ComponentSummaryList')
|
47
49
|
ComponentType = Shapes::StringShape.new(name: 'ComponentType')
|
@@ -98,6 +100,7 @@ module Aws::Imagebuilder
|
|
98
100
|
EbsInstanceBlockDeviceSpecification = Shapes::StructureShape.new(name: 'EbsInstanceBlockDeviceSpecification')
|
99
101
|
EbsIopsInteger = Shapes::IntegerShape.new(name: 'EbsIopsInteger')
|
100
102
|
EbsVolumeSizeInteger = Shapes::IntegerShape.new(name: 'EbsVolumeSizeInteger')
|
103
|
+
EbsVolumeThroughput = Shapes::IntegerShape.new(name: 'EbsVolumeThroughput')
|
101
104
|
EbsVolumeType = Shapes::StringShape.new(name: 'EbsVolumeType')
|
102
105
|
EmptyString = Shapes::StringShape.new(name: 'EmptyString')
|
103
106
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
@@ -129,6 +132,8 @@ module Aws::Imagebuilder
|
|
129
132
|
GetImageResponse = Shapes::StructureShape.new(name: 'GetImageResponse')
|
130
133
|
GetInfrastructureConfigurationRequest = Shapes::StructureShape.new(name: 'GetInfrastructureConfigurationRequest')
|
131
134
|
GetInfrastructureConfigurationResponse = Shapes::StructureShape.new(name: 'GetInfrastructureConfigurationResponse')
|
135
|
+
HttpPutResponseHopLimit = Shapes::IntegerShape.new(name: 'HttpPutResponseHopLimit')
|
136
|
+
HttpTokens = Shapes::StringShape.new(name: 'HttpTokens')
|
132
137
|
IdempotentParameterMismatchException = Shapes::StructureShape.new(name: 'IdempotentParameterMismatchException')
|
133
138
|
Image = Shapes::StructureShape.new(name: 'Image')
|
134
139
|
ImageBuildVersionArn = Shapes::StringShape.new(name: 'ImageBuildVersionArn')
|
@@ -164,6 +169,7 @@ module Aws::Imagebuilder
|
|
164
169
|
InstanceBlockDeviceMapping = Shapes::StructureShape.new(name: 'InstanceBlockDeviceMapping')
|
165
170
|
InstanceBlockDeviceMappings = Shapes::ListShape.new(name: 'InstanceBlockDeviceMappings')
|
166
171
|
InstanceConfiguration = Shapes::StructureShape.new(name: 'InstanceConfiguration')
|
172
|
+
InstanceMetadataOptions = Shapes::StructureShape.new(name: 'InstanceMetadataOptions')
|
167
173
|
InstanceProfileNameType = Shapes::StringShape.new(name: 'InstanceProfileNameType')
|
168
174
|
InstanceType = Shapes::StringShape.new(name: 'InstanceType')
|
169
175
|
InstanceTypeList = Shapes::ListShape.new(name: 'InstanceTypeList')
|
@@ -309,6 +315,7 @@ module Aws::Imagebuilder
|
|
309
315
|
Component.add_member(:type, Shapes::ShapeRef.new(shape: ComponentType, location_name: "type"))
|
310
316
|
Component.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
|
311
317
|
Component.add_member(:supported_os_versions, Shapes::ShapeRef.new(shape: OsVersionList, location_name: "supportedOsVersions"))
|
318
|
+
Component.add_member(:state, Shapes::ShapeRef.new(shape: ComponentState, location_name: "state"))
|
312
319
|
Component.add_member(:parameters, Shapes::ShapeRef.new(shape: ComponentParameterDetailList, location_name: "parameters"))
|
313
320
|
Component.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
|
314
321
|
Component.add_member(:data, Shapes::ShapeRef.new(shape: ComponentData, location_name: "data"))
|
@@ -340,11 +347,16 @@ module Aws::Imagebuilder
|
|
340
347
|
|
341
348
|
ComponentParameterValueList.member = Shapes::ShapeRef.new(shape: ComponentParameterValue)
|
342
349
|
|
350
|
+
ComponentState.add_member(:status, Shapes::ShapeRef.new(shape: ComponentStatus, location_name: "status"))
|
351
|
+
ComponentState.add_member(:reason, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "reason"))
|
352
|
+
ComponentState.struct_class = Types::ComponentState
|
353
|
+
|
343
354
|
ComponentSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, location_name: "arn"))
|
344
355
|
ComponentSummary.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
345
356
|
ComponentSummary.add_member(:version, Shapes::ShapeRef.new(shape: VersionNumber, location_name: "version"))
|
346
357
|
ComponentSummary.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
|
347
358
|
ComponentSummary.add_member(:supported_os_versions, Shapes::ShapeRef.new(shape: OsVersionList, location_name: "supportedOsVersions"))
|
359
|
+
ComponentSummary.add_member(:state, Shapes::ShapeRef.new(shape: ComponentState, location_name: "state"))
|
348
360
|
ComponentSummary.add_member(:type, Shapes::ShapeRef.new(shape: ComponentType, location_name: "type"))
|
349
361
|
ComponentSummary.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
|
350
362
|
ComponentSummary.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
@@ -525,6 +537,7 @@ module Aws::Imagebuilder
|
|
525
537
|
CreateInfrastructureConfigurationRequest.add_member(:terminate_instance_on_failure, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "terminateInstanceOnFailure"))
|
526
538
|
CreateInfrastructureConfigurationRequest.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: SnsTopicArn, location_name: "snsTopicArn"))
|
527
539
|
CreateInfrastructureConfigurationRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagMap, location_name: "resourceTags"))
|
540
|
+
CreateInfrastructureConfigurationRequest.add_member(:instance_metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptions, location_name: "instanceMetadataOptions"))
|
528
541
|
CreateInfrastructureConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
529
542
|
CreateInfrastructureConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
530
543
|
CreateInfrastructureConfigurationRequest.struct_class = Types::CreateInfrastructureConfigurationRequest
|
@@ -620,6 +633,7 @@ module Aws::Imagebuilder
|
|
620
633
|
EbsInstanceBlockDeviceSpecification.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "snapshotId"))
|
621
634
|
EbsInstanceBlockDeviceSpecification.add_member(:volume_size, Shapes::ShapeRef.new(shape: EbsVolumeSizeInteger, location_name: "volumeSize"))
|
622
635
|
EbsInstanceBlockDeviceSpecification.add_member(:volume_type, Shapes::ShapeRef.new(shape: EbsVolumeType, location_name: "volumeType"))
|
636
|
+
EbsInstanceBlockDeviceSpecification.add_member(:throughput, Shapes::ShapeRef.new(shape: EbsVolumeThroughput, location_name: "throughput"))
|
623
637
|
EbsInstanceBlockDeviceSpecification.struct_class = Types::EbsInstanceBlockDeviceSpecification
|
624
638
|
|
625
639
|
Filter.add_member(:name, Shapes::ShapeRef.new(shape: FilterName, location_name: "name"))
|
@@ -855,6 +869,7 @@ module Aws::Imagebuilder
|
|
855
869
|
InfrastructureConfiguration.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
|
856
870
|
InfrastructureConfiguration.add_member(:date_updated, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateUpdated"))
|
857
871
|
InfrastructureConfiguration.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagMap, location_name: "resourceTags"))
|
872
|
+
InfrastructureConfiguration.add_member(:instance_metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptions, location_name: "instanceMetadataOptions"))
|
858
873
|
InfrastructureConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
859
874
|
InfrastructureConfiguration.struct_class = Types::InfrastructureConfiguration
|
860
875
|
|
@@ -883,6 +898,10 @@ module Aws::Imagebuilder
|
|
883
898
|
InstanceConfiguration.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: InstanceBlockDeviceMappings, location_name: "blockDeviceMappings"))
|
884
899
|
InstanceConfiguration.struct_class = Types::InstanceConfiguration
|
885
900
|
|
901
|
+
InstanceMetadataOptions.add_member(:http_tokens, Shapes::ShapeRef.new(shape: HttpTokens, location_name: "httpTokens"))
|
902
|
+
InstanceMetadataOptions.add_member(:http_put_response_hop_limit, Shapes::ShapeRef.new(shape: HttpPutResponseHopLimit, location_name: "httpPutResponseHopLimit"))
|
903
|
+
InstanceMetadataOptions.struct_class = Types::InstanceMetadataOptions
|
904
|
+
|
886
905
|
InstanceTypeList.member = Shapes::ShapeRef.new(shape: InstanceType)
|
887
906
|
|
888
907
|
InvalidPaginationTokenException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
@@ -1195,6 +1214,7 @@ module Aws::Imagebuilder
|
|
1195
1214
|
UpdateInfrastructureConfigurationRequest.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: SnsTopicArn, location_name: "snsTopicArn"))
|
1196
1215
|
UpdateInfrastructureConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1197
1216
|
UpdateInfrastructureConfigurationRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagMap, location_name: "resourceTags"))
|
1217
|
+
UpdateInfrastructureConfigurationRequest.add_member(:instance_metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptions, location_name: "instanceMetadataOptions"))
|
1198
1218
|
UpdateInfrastructureConfigurationRequest.struct_class = Types::UpdateInfrastructureConfigurationRequest
|
1199
1219
|
|
1200
1220
|
UpdateInfrastructureConfigurationResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
|
@@ -12,9 +12,10 @@ module Aws::Imagebuilder
|
|
12
12
|
|
13
13
|
# In addition to your infrastruction configuration, these settings
|
14
14
|
# provide an extra layer of control over your build instances. For
|
15
|
-
# instances where Image Builder installs the
|
16
|
-
# whether to keep it for the AMI that you create. You can
|
17
|
-
# commands to run on launch for all of your build
|
15
|
+
# instances where Image Builder installs the Systems Manager agent, you
|
16
|
+
# can choose whether to keep it for the AMI that you create. You can
|
17
|
+
# also specify commands to run on launch for all of your build
|
18
|
+
# instances.
|
18
19
|
#
|
19
20
|
# @note When making an API call, you may pass AdditionalInstanceConfiguration
|
20
21
|
# data as a hash:
|
@@ -27,7 +28,8 @@ module Aws::Imagebuilder
|
|
27
28
|
# }
|
28
29
|
#
|
29
30
|
# @!attribute [rw] systems_manager_agent
|
30
|
-
# Contains settings for the
|
31
|
+
# Contains settings for the Systems Manager agent on your build
|
32
|
+
# instance.
|
31
33
|
# @return [Types::SystemsManagerAgent]
|
32
34
|
#
|
33
35
|
# @!attribute [rw] user_data_override
|
@@ -35,10 +37,10 @@ module Aws::Imagebuilder
|
|
35
37
|
# when you launch your build instance.
|
36
38
|
#
|
37
39
|
# <note markdown="1"> The userDataOverride property replaces any commands that Image
|
38
|
-
# Builder might have added to ensure that
|
39
|
-
# Linux build instance. If you override the user data, make
|
40
|
-
# you add commands to install
|
41
|
-
# source image.
|
40
|
+
# Builder might have added to ensure that Systems Manager is installed
|
41
|
+
# on your Linux build instance. If you override the user data, make
|
42
|
+
# sure that you add commands to install Systems Manager, if it is not
|
43
|
+
# pre-installed on your source image.
|
42
44
|
#
|
43
45
|
# </note>
|
44
46
|
# @return [String]
|
@@ -269,6 +271,11 @@ module Aws::Imagebuilder
|
|
269
271
|
# parent image OS version during image recipe creation.
|
270
272
|
# @return [Array<String>]
|
271
273
|
#
|
274
|
+
# @!attribute [rw] state
|
275
|
+
# Describes the current status of the component. This is used for
|
276
|
+
# components that are no longer active.
|
277
|
+
# @return [Types::ComponentState]
|
278
|
+
#
|
272
279
|
# @!attribute [rw] parameters
|
273
280
|
# Contains parameter details for each of the parameters that are
|
274
281
|
# defined for the component.
|
@@ -309,6 +316,7 @@ module Aws::Imagebuilder
|
|
309
316
|
:type,
|
310
317
|
:platform,
|
311
318
|
:supported_os_versions,
|
319
|
+
:state,
|
312
320
|
:parameters,
|
313
321
|
:owner,
|
314
322
|
:data,
|
@@ -411,6 +419,26 @@ module Aws::Imagebuilder
|
|
411
419
|
include Aws::Structure
|
412
420
|
end
|
413
421
|
|
422
|
+
# A group of fields that describe the current status of components that
|
423
|
+
# are no longer active.
|
424
|
+
#
|
425
|
+
# @!attribute [rw] status
|
426
|
+
# The current state of the component.
|
427
|
+
# @return [String]
|
428
|
+
#
|
429
|
+
# @!attribute [rw] reason
|
430
|
+
# Describes how or why the component changed state.
|
431
|
+
# @return [String]
|
432
|
+
#
|
433
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ComponentState AWS API Documentation
|
434
|
+
#
|
435
|
+
class ComponentState < Struct.new(
|
436
|
+
:status,
|
437
|
+
:reason)
|
438
|
+
SENSITIVE = []
|
439
|
+
include Aws::Structure
|
440
|
+
end
|
441
|
+
|
414
442
|
# A high-level summary of a component.
|
415
443
|
#
|
416
444
|
# @!attribute [rw] arn
|
@@ -435,6 +463,10 @@ module Aws::Imagebuilder
|
|
435
463
|
# parent image OS version during image recipe creation.
|
436
464
|
# @return [Array<String>]
|
437
465
|
#
|
466
|
+
# @!attribute [rw] state
|
467
|
+
# Describes the current status of the component.
|
468
|
+
# @return [Types::ComponentState]
|
469
|
+
#
|
438
470
|
# @!attribute [rw] type
|
439
471
|
# The type of the component denotes whether the component is used to
|
440
472
|
# build the image or only to test it.
|
@@ -468,6 +500,7 @@ module Aws::Imagebuilder
|
|
468
500
|
:version,
|
469
501
|
:platform,
|
470
502
|
:supported_os_versions,
|
503
|
+
:state,
|
471
504
|
:type,
|
472
505
|
:owner,
|
473
506
|
:description,
|
@@ -514,21 +547,18 @@ module Aws::Imagebuilder
|
|
514
547
|
# **Assignment:** For the first three nodes you can assign any
|
515
548
|
# positive integer value, including zero, with an upper limit of
|
516
549
|
# 2^30-1, or 1073741823 for each node. Image Builder automatically
|
517
|
-
# assigns the build number
|
550
|
+
# assigns the build number to the fourth node.
|
518
551
|
#
|
519
552
|
# **Patterns:** You can use any numeric pattern that adheres to the
|
520
553
|
# assignment requirements for the nodes that you can assign. For
|
521
554
|
# example, you might choose a software version pattern, such as 1.0.0,
|
522
555
|
# or a date, such as 2021.01.01.
|
523
556
|
#
|
524
|
-
# **Filtering:**
|
525
|
-
#
|
526
|
-
#
|
527
|
-
#
|
528
|
-
#
|
529
|
-
# "1.x.2", nor "x.2.x" will work. You do not have to specify the
|
530
|
-
# build - Image Builder automatically uses a wildcard for that, if
|
531
|
-
# applicable.
|
557
|
+
# **Filtering:** With semantic versioning, you have the flexibility to
|
558
|
+
# use wildcards (x) to specify the most recent versions or nodes when
|
559
|
+
# selecting the source image or components for your recipe. When you
|
560
|
+
# use a wildcard in any node, all nodes to the right of the first
|
561
|
+
# wildcard must also be wildcards.
|
532
562
|
#
|
533
563
|
# </note>
|
534
564
|
# @return [String]
|
@@ -685,21 +715,18 @@ module Aws::Imagebuilder
|
|
685
715
|
# **Assignment:** For the first three nodes you can assign any
|
686
716
|
# positive integer value, including zero, with an upper limit of
|
687
717
|
# 2^30-1, or 1073741823 for each node. Image Builder automatically
|
688
|
-
# assigns the build number
|
718
|
+
# assigns the build number to the fourth node.
|
689
719
|
#
|
690
720
|
# **Patterns:** You can use any numeric pattern that adheres to the
|
691
721
|
# assignment requirements for the nodes that you can assign. For
|
692
722
|
# example, you might choose a software version pattern, such as 1.0.0,
|
693
723
|
# or a date, such as 2021.01.01.
|
694
724
|
#
|
695
|
-
# **Filtering:**
|
696
|
-
#
|
697
|
-
#
|
698
|
-
#
|
699
|
-
#
|
700
|
-
# "1.x.2", nor "x.2.x" will work. You do not have to specify the
|
701
|
-
# build - Image Builder automatically uses a wildcard for that, if
|
702
|
-
# applicable.
|
725
|
+
# **Filtering:** With semantic versioning, you have the flexibility to
|
726
|
+
# use wildcards (x) to specify the most recent versions or nodes when
|
727
|
+
# selecting the source image or components for your recipe. When you
|
728
|
+
# use a wildcard in any node, all nodes to the right of the first
|
729
|
+
# wildcard must also be wildcards.
|
703
730
|
#
|
704
731
|
# </note>
|
705
732
|
# @return [String]
|
@@ -858,7 +885,7 @@ module Aws::Imagebuilder
|
|
858
885
|
# **Assignment:** For the first three nodes you can assign any
|
859
886
|
# positive integer value, including zero, with an upper limit of
|
860
887
|
# 2^30-1, or 1073741823 for each node. Image Builder automatically
|
861
|
-
# assigns the build number
|
888
|
+
# assigns the build number to the fourth node.
|
862
889
|
#
|
863
890
|
# **Patterns:** You can use any numeric pattern that adheres to the
|
864
891
|
# assignment requirements for the nodes that you can assign. For
|
@@ -991,6 +1018,7 @@ module Aws::Imagebuilder
|
|
991
1018
|
# snapshot_id: "NonEmptyString",
|
992
1019
|
# volume_size: 1,
|
993
1020
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, gp3, sc1, st1
|
1021
|
+
# throughput: 1,
|
994
1022
|
# },
|
995
1023
|
# virtual_name: "NonEmptyString",
|
996
1024
|
# no_device: "EmptyString",
|
@@ -1037,7 +1065,7 @@ module Aws::Imagebuilder
|
|
1037
1065
|
# **Assignment:** For the first three nodes you can assign any
|
1038
1066
|
# positive integer value, including zero, with an upper limit of
|
1039
1067
|
# 2^30-1, or 1073741823 for each node. Image Builder automatically
|
1040
|
-
# assigns the build number
|
1068
|
+
# assigns the build number to the fourth node.
|
1041
1069
|
#
|
1042
1070
|
# **Patterns:** You can use any numeric pattern that adheres to the
|
1043
1071
|
# assignment requirements for the nodes that you can assign. For
|
@@ -1411,6 +1439,7 @@ module Aws::Imagebuilder
|
|
1411
1439
|
# snapshot_id: "NonEmptyString",
|
1412
1440
|
# volume_size: 1,
|
1413
1441
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, gp3, sc1, st1
|
1442
|
+
# throughput: 1,
|
1414
1443
|
# },
|
1415
1444
|
# virtual_name: "NonEmptyString",
|
1416
1445
|
# no_device: "EmptyString",
|
@@ -1448,7 +1477,7 @@ module Aws::Imagebuilder
|
|
1448
1477
|
# **Assignment:** For the first three nodes you can assign any
|
1449
1478
|
# positive integer value, including zero, with an upper limit of
|
1450
1479
|
# 2^30-1, or 1073741823 for each node. Image Builder automatically
|
1451
|
-
# assigns the build number
|
1480
|
+
# assigns the build number to the fourth node.
|
1452
1481
|
#
|
1453
1482
|
# **Patterns:** You can use any numeric pattern that adheres to the
|
1454
1483
|
# assignment requirements for the nodes that you can assign. For
|
@@ -1659,6 +1688,10 @@ module Aws::Imagebuilder
|
|
1659
1688
|
# resource_tags: {
|
1660
1689
|
# "TagKey" => "TagValue",
|
1661
1690
|
# },
|
1691
|
+
# instance_metadata_options: {
|
1692
|
+
# http_tokens: "HttpTokens",
|
1693
|
+
# http_put_response_hop_limit: 1,
|
1694
|
+
# },
|
1662
1695
|
# tags: {
|
1663
1696
|
# "TagKey" => "TagValue",
|
1664
1697
|
# },
|
@@ -1674,9 +1707,21 @@ module Aws::Imagebuilder
|
|
1674
1707
|
# @return [String]
|
1675
1708
|
#
|
1676
1709
|
# @!attribute [rw] instance_types
|
1677
|
-
# The instance
|
1678
|
-
#
|
1679
|
-
#
|
1710
|
+
# The instance metadata options that you can set for the HTTP requests
|
1711
|
+
# that pipeline builds use to launch EC2 build and test instances. For
|
1712
|
+
# more information about instance metadata options, see one of the
|
1713
|
+
# following links:
|
1714
|
+
#
|
1715
|
+
# * [Configure the instance metadata options][1] in the <i> <i>Amazon
|
1716
|
+
# EC2 User Guide</i> </i> for Linux instances.
|
1717
|
+
#
|
1718
|
+
# * [Configure the instance metadata options][2] in the <i> <i>Amazon
|
1719
|
+
# EC2 Windows Guide</i> </i> for Windows instances.
|
1720
|
+
#
|
1721
|
+
#
|
1722
|
+
#
|
1723
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html
|
1724
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/configuring-instance-metadata-options.html
|
1680
1725
|
# @return [Array<String>]
|
1681
1726
|
#
|
1682
1727
|
# @!attribute [rw] instance_profile_name
|
@@ -1699,7 +1744,7 @@ module Aws::Imagebuilder
|
|
1699
1744
|
# @return [Types::Logging]
|
1700
1745
|
#
|
1701
1746
|
# @!attribute [rw] key_pair
|
1702
|
-
# The key pair of the infrastructure configuration.
|
1747
|
+
# The key pair of the infrastructure configuration. You can use this
|
1703
1748
|
# to log on to and debug the instance used to create your image.
|
1704
1749
|
# @return [String]
|
1705
1750
|
#
|
@@ -1718,6 +1763,11 @@ module Aws::Imagebuilder
|
|
1718
1763
|
# The tags attached to the resource created by Image Builder.
|
1719
1764
|
# @return [Hash<String,String>]
|
1720
1765
|
#
|
1766
|
+
# @!attribute [rw] instance_metadata_options
|
1767
|
+
# The instance metadata options that you can set for the HTTP requests
|
1768
|
+
# that pipeline builds use to launch EC2 build and test instances.
|
1769
|
+
# @return [Types::InstanceMetadataOptions]
|
1770
|
+
#
|
1721
1771
|
# @!attribute [rw] tags
|
1722
1772
|
# The tags of the infrastructure configuration.
|
1723
1773
|
# @return [Hash<String,String>]
|
@@ -1743,6 +1793,7 @@ module Aws::Imagebuilder
|
|
1743
1793
|
:terminate_instance_on_failure,
|
1744
1794
|
:sns_topic_arn,
|
1745
1795
|
:resource_tags,
|
1796
|
+
:instance_metadata_options,
|
1746
1797
|
:tags,
|
1747
1798
|
:client_token)
|
1748
1799
|
SENSITIVE = []
|
@@ -1966,7 +2017,8 @@ module Aws::Imagebuilder
|
|
1966
2017
|
# }
|
1967
2018
|
#
|
1968
2019
|
# @!attribute [rw] image_build_version_arn
|
1969
|
-
# The Amazon Resource Name (ARN) of the image
|
2020
|
+
# The Amazon Resource Name (ARN) of the Image Builder image resource
|
2021
|
+
# to delete.
|
1970
2022
|
# @return [String]
|
1971
2023
|
#
|
1972
2024
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteImageRequest AWS API Documentation
|
@@ -1982,7 +2034,8 @@ module Aws::Imagebuilder
|
|
1982
2034
|
# @return [String]
|
1983
2035
|
#
|
1984
2036
|
# @!attribute [rw] image_build_version_arn
|
1985
|
-
# The Amazon Resource Name (ARN) of the
|
2037
|
+
# The Amazon Resource Name (ARN) of the Image Builder image resource
|
2038
|
+
# that was deleted.
|
1986
2039
|
# @return [String]
|
1987
2040
|
#
|
1988
2041
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteImageResponse AWS API Documentation
|
@@ -2213,6 +2266,7 @@ module Aws::Imagebuilder
|
|
2213
2266
|
# snapshot_id: "NonEmptyString",
|
2214
2267
|
# volume_size: 1,
|
2215
2268
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, gp3, sc1, st1
|
2269
|
+
# throughput: 1,
|
2216
2270
|
# }
|
2217
2271
|
#
|
2218
2272
|
# @!attribute [rw] encrypted
|
@@ -2243,6 +2297,11 @@ module Aws::Imagebuilder
|
|
2243
2297
|
# Use to override the device's volume type.
|
2244
2298
|
# @return [String]
|
2245
2299
|
#
|
2300
|
+
# @!attribute [rw] throughput
|
2301
|
+
# **For GP3 volumes only** – The throughput in MiB/s that the volume
|
2302
|
+
# supports.
|
2303
|
+
# @return [Integer]
|
2304
|
+
#
|
2246
2305
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/EbsInstanceBlockDeviceSpecification AWS API Documentation
|
2247
2306
|
#
|
2248
2307
|
class EbsInstanceBlockDeviceSpecification < Struct.new(
|
@@ -2252,7 +2311,8 @@ module Aws::Imagebuilder
|
|
2252
2311
|
:kms_key_id,
|
2253
2312
|
:snapshot_id,
|
2254
2313
|
:volume_size,
|
2255
|
-
:volume_type
|
2314
|
+
:volume_type,
|
2315
|
+
:throughput)
|
2256
2316
|
SENSITIVE = []
|
2257
2317
|
include Aws::Structure
|
2258
2318
|
end
|
@@ -2767,21 +2827,18 @@ module Aws::Imagebuilder
|
|
2767
2827
|
# **Assignment:** For the first three nodes you can assign any
|
2768
2828
|
# positive integer value, including zero, with an upper limit of
|
2769
2829
|
# 2^30-1, or 1073741823 for each node. Image Builder automatically
|
2770
|
-
# assigns the build number
|
2830
|
+
# assigns the build number to the fourth node.
|
2771
2831
|
#
|
2772
2832
|
# **Patterns:** You can use any numeric pattern that adheres to the
|
2773
2833
|
# assignment requirements for the nodes that you can assign. For
|
2774
2834
|
# example, you might choose a software version pattern, such as 1.0.0,
|
2775
2835
|
# or a date, such as 2021.01.01.
|
2776
2836
|
#
|
2777
|
-
# **Filtering:**
|
2778
|
-
#
|
2779
|
-
#
|
2780
|
-
#
|
2781
|
-
#
|
2782
|
-
# "1.x.2", nor "x.2.x" will work. You do not have to specify the
|
2783
|
-
# build - Image Builder automatically uses a wildcard for that, if
|
2784
|
-
# applicable.
|
2837
|
+
# **Filtering:** With semantic versioning, you have the flexibility to
|
2838
|
+
# use wildcards (x) to specify the most recent versions or nodes when
|
2839
|
+
# selecting the source image or components for your recipe. When you
|
2840
|
+
# use a wildcard in any node, all nodes to the right of the first
|
2841
|
+
# wildcard must also be wildcards.
|
2785
2842
|
#
|
2786
2843
|
# </note>
|
2787
2844
|
# @return [String]
|
@@ -3276,21 +3333,18 @@ module Aws::Imagebuilder
|
|
3276
3333
|
# **Assignment:** For the first three nodes you can assign any
|
3277
3334
|
# positive integer value, including zero, with an upper limit of
|
3278
3335
|
# 2^30-1, or 1073741823 for each node. Image Builder automatically
|
3279
|
-
# assigns the build number
|
3336
|
+
# assigns the build number to the fourth node.
|
3280
3337
|
#
|
3281
3338
|
# **Patterns:** You can use any numeric pattern that adheres to the
|
3282
3339
|
# assignment requirements for the nodes that you can assign. For
|
3283
3340
|
# example, you might choose a software version pattern, such as 1.0.0,
|
3284
3341
|
# or a date, such as 2021.01.01.
|
3285
3342
|
#
|
3286
|
-
# **Filtering:**
|
3287
|
-
#
|
3288
|
-
#
|
3289
|
-
#
|
3290
|
-
#
|
3291
|
-
# "1.x.2", nor "x.2.x" will work. You do not have to specify the
|
3292
|
-
# build - Image Builder automatically uses a wildcard for that, if
|
3293
|
-
# applicable.
|
3343
|
+
# **Filtering:** With semantic versioning, you have the flexibility to
|
3344
|
+
# use wildcards (x) to specify the most recent versions or nodes when
|
3345
|
+
# selecting the source image or components for your recipe. When you
|
3346
|
+
# use a wildcard in any node, all nodes to the right of the first
|
3347
|
+
# wildcard must also be wildcards.
|
3294
3348
|
#
|
3295
3349
|
# </note>
|
3296
3350
|
# @return [String]
|
@@ -3362,14 +3416,11 @@ module Aws::Imagebuilder
|
|
3362
3416
|
# <major>.<minor>.<patch>/<build>. You can
|
3363
3417
|
# assign values for the first three, and can filter on all of them.
|
3364
3418
|
#
|
3365
|
-
# **Filtering:**
|
3366
|
-
#
|
3367
|
-
#
|
3368
|
-
#
|
3369
|
-
#
|
3370
|
-
# "1.x.2", nor "x.2.x" will work. You do not have to specify the
|
3371
|
-
# build - Image Builder automatically uses a wildcard for that, if
|
3372
|
-
# applicable.
|
3419
|
+
# **Filtering:** With semantic versioning, you have the flexibility to
|
3420
|
+
# use wildcards (x) to specify the most recent versions or nodes when
|
3421
|
+
# selecting the source image or components for your recipe. When you
|
3422
|
+
# use a wildcard in any node, all nodes to the right of the first
|
3423
|
+
# wildcard must also be wildcards.
|
3373
3424
|
#
|
3374
3425
|
# </note>
|
3375
3426
|
# @return [String]
|
@@ -3528,6 +3579,11 @@ module Aws::Imagebuilder
|
|
3528
3579
|
# The tags attached to the resource created by Image Builder.
|
3529
3580
|
# @return [Hash<String,String>]
|
3530
3581
|
#
|
3582
|
+
# @!attribute [rw] instance_metadata_options
|
3583
|
+
# The instance metadata option settings for the infrastructure
|
3584
|
+
# configuration.
|
3585
|
+
# @return [Types::InstanceMetadataOptions]
|
3586
|
+
#
|
3531
3587
|
# @!attribute [rw] tags
|
3532
3588
|
# The tags of the infrastructure configuration.
|
3533
3589
|
# @return [Hash<String,String>]
|
@@ -3549,6 +3605,7 @@ module Aws::Imagebuilder
|
|
3549
3605
|
:date_created,
|
3550
3606
|
:date_updated,
|
3551
3607
|
:resource_tags,
|
3608
|
+
:instance_metadata_options,
|
3552
3609
|
:tags)
|
3553
3610
|
SENSITIVE = []
|
3554
3611
|
include Aws::Structure
|
@@ -3624,6 +3681,7 @@ module Aws::Imagebuilder
|
|
3624
3681
|
# snapshot_id: "NonEmptyString",
|
3625
3682
|
# volume_size: 1,
|
3626
3683
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, gp3, sc1, st1
|
3684
|
+
# throughput: 1,
|
3627
3685
|
# },
|
3628
3686
|
# virtual_name: "NonEmptyString",
|
3629
3687
|
# no_device: "EmptyString",
|
@@ -3675,6 +3733,7 @@ module Aws::Imagebuilder
|
|
3675
3733
|
# snapshot_id: "NonEmptyString",
|
3676
3734
|
# volume_size: 1,
|
3677
3735
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, gp3, sc1, st1
|
3736
|
+
# throughput: 1,
|
3678
3737
|
# },
|
3679
3738
|
# virtual_name: "NonEmptyString",
|
3680
3739
|
# no_device: "EmptyString",
|
@@ -3702,6 +3761,57 @@ module Aws::Imagebuilder
|
|
3702
3761
|
include Aws::Structure
|
3703
3762
|
end
|
3704
3763
|
|
3764
|
+
# The instance metadata options that apply to the HTTP requests that
|
3765
|
+
# pipeline builds use to launch EC2 build and test instances. For more
|
3766
|
+
# information about instance metadata options, see [Configure the
|
3767
|
+
# instance metadata options][1] in the <i> <i>Amazon EC2 User Guide</i>
|
3768
|
+
# </i> for Linux instances, or [Configure the instance metadata
|
3769
|
+
# options][2] in the <i> <i>Amazon EC2 Windows Guide</i> </i> for
|
3770
|
+
# Windows instances.
|
3771
|
+
#
|
3772
|
+
#
|
3773
|
+
#
|
3774
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html
|
3775
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/configuring-instance-metadata-options.html
|
3776
|
+
#
|
3777
|
+
# @note When making an API call, you may pass InstanceMetadataOptions
|
3778
|
+
# data as a hash:
|
3779
|
+
#
|
3780
|
+
# {
|
3781
|
+
# http_tokens: "HttpTokens",
|
3782
|
+
# http_put_response_hop_limit: 1,
|
3783
|
+
# }
|
3784
|
+
#
|
3785
|
+
# @!attribute [rw] http_tokens
|
3786
|
+
# Indicates whether a signed token header is required for instance
|
3787
|
+
# metadata retrieval requests. The values affect the response as
|
3788
|
+
# follows:
|
3789
|
+
#
|
3790
|
+
# * **required** – When you retrieve the IAM role credentials, version
|
3791
|
+
# 2.0 credentials are returned in all cases.
|
3792
|
+
#
|
3793
|
+
# * **optional** – You can include a signed token header in your
|
3794
|
+
# request to retrieve instance metadata, or you can leave it out. If
|
3795
|
+
# you include it, version 2.0 credentials are returned for the IAM
|
3796
|
+
# role. Otherwise, version 1.0 credentials are returned.
|
3797
|
+
#
|
3798
|
+
# The default setting is **optional**.
|
3799
|
+
# @return [String]
|
3800
|
+
#
|
3801
|
+
# @!attribute [rw] http_put_response_hop_limit
|
3802
|
+
# Limit the number of hops that an instance metadata request can
|
3803
|
+
# traverse to reach its destination.
|
3804
|
+
# @return [Integer]
|
3805
|
+
#
|
3806
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/InstanceMetadataOptions AWS API Documentation
|
3807
|
+
#
|
3808
|
+
class InstanceMetadataOptions < Struct.new(
|
3809
|
+
:http_tokens,
|
3810
|
+
:http_put_response_hop_limit)
|
3811
|
+
SENSITIVE = []
|
3812
|
+
include Aws::Structure
|
3813
|
+
end
|
3814
|
+
|
3705
3815
|
# You have provided an invalid pagination token in your request.
|
3706
3816
|
#
|
3707
3817
|
# @!attribute [rw] message
|
@@ -4591,14 +4701,11 @@ module Aws::Imagebuilder
|
|
4591
4701
|
# <major>.<minor>.<patch>/<build>. You can
|
4592
4702
|
# assign values for the first three, and can filter on all of them.
|
4593
4703
|
#
|
4594
|
-
# **Filtering:**
|
4595
|
-
#
|
4596
|
-
#
|
4597
|
-
#
|
4598
|
-
#
|
4599
|
-
# "1.x.2", nor "x.2.x" will work. You do not have to specify the
|
4600
|
-
# build - Image Builder automatically uses a wildcard for that, if
|
4601
|
-
# applicable.
|
4704
|
+
# **Filtering:** With semantic versioning, you have the flexibility to
|
4705
|
+
# use wildcards (x) to specify the most recent versions or nodes when
|
4706
|
+
# selecting the source image or components for your recipe. When you
|
4707
|
+
# use a wildcard in any node, all nodes to the right of the first
|
4708
|
+
# wildcard must also be wildcards.
|
4602
4709
|
#
|
4603
4710
|
# </note>
|
4604
4711
|
# @return [Array<Types::ImageVersion>]
|
@@ -5176,7 +5283,8 @@ module Aws::Imagebuilder
|
|
5176
5283
|
include Aws::Structure
|
5177
5284
|
end
|
5178
5285
|
|
5179
|
-
# Contains settings for the
|
5286
|
+
# Contains settings for the Systems Manager agent on your build
|
5287
|
+
# instance.
|
5180
5288
|
#
|
5181
5289
|
# @note When making an API call, you may pass SystemsManagerAgent
|
5182
5290
|
# data as a hash:
|
@@ -5186,11 +5294,11 @@ module Aws::Imagebuilder
|
|
5186
5294
|
# }
|
5187
5295
|
#
|
5188
5296
|
# @!attribute [rw] uninstall_after_build
|
5189
|
-
# Controls whether the
|
5190
|
-
# image, prior to creating the new AMI. If this is set to
|
5191
|
-
# the agent is removed from the final image. If it's set
|
5192
|
-
# then the agent is left in, so that it is included in the
|
5193
|
-
# The default value is false.
|
5297
|
+
# Controls whether the Systems Manager agent is removed from your
|
5298
|
+
# final build image, prior to creating the new AMI. If this is set to
|
5299
|
+
# true, then the agent is removed from the final image. If it's set
|
5300
|
+
# to false, then the agent is left in, so that it is included in the
|
5301
|
+
# new AMI. The default value is false.
|
5194
5302
|
# @return [Boolean]
|
5195
5303
|
#
|
5196
5304
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/SystemsManagerAgent AWS API Documentation
|
@@ -5530,6 +5638,10 @@ module Aws::Imagebuilder
|
|
5530
5638
|
# resource_tags: {
|
5531
5639
|
# "TagKey" => "TagValue",
|
5532
5640
|
# },
|
5641
|
+
# instance_metadata_options: {
|
5642
|
+
# http_tokens: "HttpTokens",
|
5643
|
+
# http_put_response_hop_limit: 1,
|
5644
|
+
# },
|
5533
5645
|
# }
|
5534
5646
|
#
|
5535
5647
|
# @!attribute [rw] infrastructure_configuration_arn
|
@@ -5567,7 +5679,7 @@ module Aws::Imagebuilder
|
|
5567
5679
|
# @return [Types::Logging]
|
5568
5680
|
#
|
5569
5681
|
# @!attribute [rw] key_pair
|
5570
|
-
# The key pair of the infrastructure configuration.
|
5682
|
+
# The key pair of the infrastructure configuration. You can use this
|
5571
5683
|
# to log on to and debug the instance used to create your image.
|
5572
5684
|
# @return [String]
|
5573
5685
|
#
|
@@ -5593,6 +5705,24 @@ module Aws::Imagebuilder
|
|
5593
5705
|
# The tags attached to the resource created by Image Builder.
|
5594
5706
|
# @return [Hash<String,String>]
|
5595
5707
|
#
|
5708
|
+
# @!attribute [rw] instance_metadata_options
|
5709
|
+
# The instance metadata options that you can set for the HTTP requests
|
5710
|
+
# that pipeline builds use to launch EC2 build and test instances. For
|
5711
|
+
# more information about instance metadata options, see one of the
|
5712
|
+
# following links:
|
5713
|
+
#
|
5714
|
+
# * [Configure the instance metadata options][1] in the <i> <i>Amazon
|
5715
|
+
# EC2 User Guide</i> </i> for Linux instances.
|
5716
|
+
#
|
5717
|
+
# * [Configure the instance metadata options][2] in the <i> <i>Amazon
|
5718
|
+
# EC2 Windows Guide</i> </i> for Windows instances.
|
5719
|
+
#
|
5720
|
+
#
|
5721
|
+
#
|
5722
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html
|
5723
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/configuring-instance-metadata-options.html
|
5724
|
+
# @return [Types::InstanceMetadataOptions]
|
5725
|
+
#
|
5596
5726
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateInfrastructureConfigurationRequest AWS API Documentation
|
5597
5727
|
#
|
5598
5728
|
class UpdateInfrastructureConfigurationRequest < Struct.new(
|
@@ -5607,7 +5737,8 @@ module Aws::Imagebuilder
|
|
5607
5737
|
:terminate_instance_on_failure,
|
5608
5738
|
:sns_topic_arn,
|
5609
5739
|
:client_token,
|
5610
|
-
:resource_tags
|
5740
|
+
:resource_tags,
|
5741
|
+
:instance_metadata_options)
|
5611
5742
|
SENSITIVE = []
|
5612
5743
|
include Aws::Structure
|
5613
5744
|
end
|
data/lib/aws-sdk-imagebuilder.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-imagebuilder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|