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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f3246e9cbf383e5e4967da7e3787f89770702edf1e2b8ec83504b69c4e2eb79
|
4
|
+
data.tar.gz: 01ebaf48caebf957cac81609478c5f5b0fc1e95ebdccac76f629544ffc341e18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60f9b127424172a39f6a0dac5a4f632942f99a4d7f112acb32b5508f6b88a522bb59cca775887c7aa2c943eede0c8db6b14bf79fd5443d2d95d41653fc971776
|
7
|
+
data.tar.gz: 860cb23e374e80078f89425fbe3a8491964db5255d1401f7368f2316894eaea4607d2d088a4fffa1418ed69612301c19d00edea174636c36ff5642502df96dfa
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,125 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.23.0 (2021-07-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adds support for specifying parameters to customize components for recipes. Expands configuration of the Amazon EC2 instances that are used for building and testing images, including the ability to specify commands to run on launch, and more control over installation and removal of the SSM agent.
|
8
|
+
|
9
|
+
1.22.0 (2021-05-14)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Text-only updates for bundled documentation feedback tickets - spring 2021.
|
13
|
+
|
14
|
+
1.21.0 (2021-04-02)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release adds support for Block Device Mappings for container image builds, and adds distribution configuration support for EC2 launch templates in AMI builds.
|
18
|
+
|
19
|
+
1.20.0 (2021-03-10)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
24
|
+
1.19.0 (2021-02-25)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - This release introduces a new API (ListImagePackages) for listing packages installed on an image, and adds support for GP3 volume types, and for specifying a time zone in an image pipeline schedule.
|
28
|
+
|
29
|
+
1.18.0 (2021-02-02)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
33
|
+
|
34
|
+
1.17.0 (2020-12-17)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - This release adds support for building and distributing container images within EC2 Image Builder.
|
38
|
+
|
39
|
+
1.16.0 (2020-10-30)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - This feature increases the number of accounts that can be added to the Launch permissions within an Image Builder Distribution configuration.
|
43
|
+
|
44
|
+
1.15.0 (2020-09-30)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - EC2 Image Builder adds support for copying AMIs created by Image Builder to accounts specific to each Region.
|
48
|
+
|
49
|
+
1.14.0 (2020-09-15)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
53
|
+
|
54
|
+
1.13.0 (2020-08-25)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
58
|
+
|
59
|
+
1.12.0 (2020-07-28)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Feature - This release updates distribution configurations to allow periods in AMI names.
|
63
|
+
|
64
|
+
1.11.0 (2020-07-01)
|
65
|
+
------------------
|
66
|
+
|
67
|
+
* Feature - EC2 Image Builder adds support for encrypted AMI distribution.
|
68
|
+
|
69
|
+
1.10.0 (2020-06-23)
|
70
|
+
------------------
|
71
|
+
|
72
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
73
|
+
|
74
|
+
1.9.0 (2020-06-11)
|
75
|
+
------------------
|
76
|
+
|
77
|
+
* Feature - EC2 Image Builder now supports specifying a custom working directory for your build and test workflows. In addition, Image Builder now supports defining tags that are applied to ephemeral resources created by EC2 Image Builder as part of the image creation workflow.
|
78
|
+
|
79
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
80
|
+
|
81
|
+
1.8.0 (2020-06-10)
|
82
|
+
------------------
|
83
|
+
|
84
|
+
* Issue - This version has been yanked. (#2327).
|
85
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
86
|
+
|
87
|
+
1.7.0 (2020-05-28)
|
88
|
+
------------------
|
89
|
+
|
90
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
91
|
+
|
92
|
+
1.6.0 (2020-05-14)
|
93
|
+
------------------
|
94
|
+
|
95
|
+
* Feature - This release adds a new parameter (SupportedOsVersions) to the Components API. This parameter lists the OS versions supported by a component.
|
96
|
+
|
97
|
+
1.5.0 (2020-05-07)
|
98
|
+
------------------
|
99
|
+
|
100
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
101
|
+
|
102
|
+
1.4.0 (2020-04-16)
|
103
|
+
------------------
|
104
|
+
|
105
|
+
* Feature - This release includes support for additional OS Versions within EC2 Image Builder.
|
106
|
+
|
107
|
+
1.3.0 (2020-03-09)
|
108
|
+
------------------
|
109
|
+
|
110
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
111
|
+
|
112
|
+
1.2.0 (2020-02-21)
|
113
|
+
------------------
|
114
|
+
|
115
|
+
* Feature - This release of EC2 Image Builder increases the maximum policy document size for Image Builder resource-based policy APIs.
|
116
|
+
|
117
|
+
1.1.0 (2020-02-07)
|
118
|
+
------------------
|
119
|
+
|
120
|
+
* Feature - This version of the SDK includes bug fixes and documentation updates.
|
121
|
+
|
122
|
+
1.0.0 (2019-12-02)
|
123
|
+
------------------
|
124
|
+
|
125
|
+
* Feature - Initial release of `aws-sdk-imagebuilder`.
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.23.0
|
data/lib/aws-sdk-imagebuilder.rb
CHANGED
@@ -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
|
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-imagebuilder/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::Imagebuilder
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.23.0'
|
52
52
|
|
53
53
|
end
|
@@ -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
|
|
@@ -401,10 +401,10 @@ module Aws::Imagebuilder
|
|
401
401
|
# `data` or `uri` can be used to specify the data within the component.
|
402
402
|
#
|
403
403
|
# @option params [String] :uri
|
404
|
-
# The uri of the component. Must be an S3 URL and the requester
|
405
|
-
# have permission to access the S3 bucket. If you use
|
406
|
-
# specify component content up to your service quota. Either
|
407
|
-
# `uri` can be used to specify the data within the component.
|
404
|
+
# The uri of the component. Must be an Amazon S3 URL and the requester
|
405
|
+
# must have permission to access the Amazon S3 bucket. If you use Amazon
|
406
|
+
# S3, you can specify component content up to your service quota. Either
|
407
|
+
# `data` or `uri` can be used to specify the data within the component.
|
408
408
|
#
|
409
409
|
# @option params [String] :kms_key_id
|
410
410
|
# The ID of the KMS key that should be used to encrypt this component.
|
@@ -477,12 +477,16 @@ module Aws::Imagebuilder
|
|
477
477
|
# Components for build and test that are included in the container
|
478
478
|
# recipe.
|
479
479
|
#
|
480
|
-
# @option params [
|
480
|
+
# @option params [Types::InstanceConfiguration] :instance_configuration
|
481
|
+
# A group of options that can be used to configure an instance for
|
482
|
+
# building and testing container images.
|
483
|
+
#
|
484
|
+
# @option params [String] :dockerfile_template_data
|
481
485
|
# The Dockerfile template used to build your image as an inline data
|
482
486
|
# blob.
|
483
487
|
#
|
484
488
|
# @option params [String] :dockerfile_template_uri
|
485
|
-
# The S3 URI for the Dockerfile that will be used to build your
|
489
|
+
# The Amazon S3 URI for the Dockerfile that will be used to build your
|
486
490
|
# container image.
|
487
491
|
#
|
488
492
|
# @option params [String] :platform_override
|
@@ -529,9 +533,34 @@ module Aws::Imagebuilder
|
|
529
533
|
# components: [ # required
|
530
534
|
# {
|
531
535
|
# component_arn: "ComponentVersionArnOrBuildVersionArn", # required
|
536
|
+
# parameters: [
|
537
|
+
# {
|
538
|
+
# name: "ComponentParameterName", # required
|
539
|
+
# value: ["ComponentParameterValue"], # required
|
540
|
+
# },
|
541
|
+
# ],
|
532
542
|
# },
|
533
543
|
# ],
|
534
|
-
#
|
544
|
+
# instance_configuration: {
|
545
|
+
# image: "NonEmptyString",
|
546
|
+
# block_device_mappings: [
|
547
|
+
# {
|
548
|
+
# device_name: "NonEmptyString",
|
549
|
+
# ebs: {
|
550
|
+
# encrypted: false,
|
551
|
+
# delete_on_termination: false,
|
552
|
+
# iops: 1,
|
553
|
+
# kms_key_id: "NonEmptyString",
|
554
|
+
# snapshot_id: "NonEmptyString",
|
555
|
+
# volume_size: 1,
|
556
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, gp3, sc1, st1
|
557
|
+
# },
|
558
|
+
# virtual_name: "NonEmptyString",
|
559
|
+
# no_device: "EmptyString",
|
560
|
+
# },
|
561
|
+
# ],
|
562
|
+
# },
|
563
|
+
# dockerfile_template_data: "InlineDockerFileTemplate",
|
535
564
|
# dockerfile_template_uri: "Uri",
|
536
565
|
# platform_override: "Windows", # accepts Windows, Linux
|
537
566
|
# image_os_version_override: "NonEmptyString",
|
@@ -620,6 +649,13 @@ module Aws::Imagebuilder
|
|
620
649
|
# },
|
621
650
|
# },
|
622
651
|
# license_configuration_arns: ["LicenseConfigurationArn"],
|
652
|
+
# launch_template_configurations: [
|
653
|
+
# {
|
654
|
+
# launch_template_id: "LaunchTemplateId", # required
|
655
|
+
# account_id: "AccountId",
|
656
|
+
# set_default_version: false,
|
657
|
+
# },
|
658
|
+
# ],
|
623
659
|
# },
|
624
660
|
# ],
|
625
661
|
# tags: {
|
@@ -645,7 +681,8 @@ module Aws::Imagebuilder
|
|
645
681
|
|
646
682
|
# Creates a new image. This request will create a new image along with
|
647
683
|
# all of the configured output resources defined in the distribution
|
648
|
-
# configuration.
|
684
|
+
# configuration. You must specify exactly one recipe for your image,
|
685
|
+
# using either a ContainerRecipeArn or an ImageRecipeArn.
|
649
686
|
#
|
650
687
|
# @option params [String] :image_recipe_arn
|
651
688
|
# The Amazon Resource Name (ARN) of the image recipe that defines how
|
@@ -793,6 +830,7 @@ module Aws::Imagebuilder
|
|
793
830
|
# enhanced_image_metadata_enabled: false,
|
794
831
|
# schedule: {
|
795
832
|
# schedule_expression: "NonEmptyString",
|
833
|
+
# timezone: "Timezone",
|
796
834
|
# pipeline_execution_start_condition: "EXPRESSION_MATCH_ONLY", # accepts EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
|
797
835
|
# },
|
798
836
|
# status: "DISABLED", # accepts DISABLED, ENABLED
|
@@ -836,7 +874,7 @@ module Aws::Imagebuilder
|
|
836
874
|
# The parent image of the image recipe. The value of the string can be
|
837
875
|
# the ARN of the parent image or an AMI ID. The format for the ARN
|
838
876
|
# follows this example:
|
839
|
-
# `arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/
|
877
|
+
# `arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/x.x.x`.
|
840
878
|
# You can provide the specific version that you want to use, or you can
|
841
879
|
# use a wildcard in all of the fields. If you enter an AMI ID for the
|
842
880
|
# string value, you must have access to the AMI, and the AMI must be in
|
@@ -849,7 +887,11 @@ module Aws::Imagebuilder
|
|
849
887
|
# The tags of the image recipe.
|
850
888
|
#
|
851
889
|
# @option params [String] :working_directory
|
852
|
-
# The working directory
|
890
|
+
# The working directory used during build and test workflows.
|
891
|
+
#
|
892
|
+
# @option params [Types::AdditionalInstanceConfiguration] :additional_instance_configuration
|
893
|
+
# Specify additional settings and launch scripts for your build
|
894
|
+
# instances.
|
853
895
|
#
|
854
896
|
# @option params [required, String] :client_token
|
855
897
|
# The idempotency token used to make this request idempotent.
|
@@ -872,6 +914,12 @@ module Aws::Imagebuilder
|
|
872
914
|
# components: [ # required
|
873
915
|
# {
|
874
916
|
# component_arn: "ComponentVersionArnOrBuildVersionArn", # required
|
917
|
+
# parameters: [
|
918
|
+
# {
|
919
|
+
# name: "ComponentParameterName", # required
|
920
|
+
# value: ["ComponentParameterValue"], # required
|
921
|
+
# },
|
922
|
+
# ],
|
875
923
|
# },
|
876
924
|
# ],
|
877
925
|
# parent_image: "NonEmptyString", # required
|
@@ -885,7 +933,7 @@ module Aws::Imagebuilder
|
|
885
933
|
# kms_key_id: "NonEmptyString",
|
886
934
|
# snapshot_id: "NonEmptyString",
|
887
935
|
# volume_size: 1,
|
888
|
-
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
|
936
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, gp3, sc1, st1
|
889
937
|
# },
|
890
938
|
# virtual_name: "NonEmptyString",
|
891
939
|
# no_device: "EmptyString",
|
@@ -895,6 +943,12 @@ module Aws::Imagebuilder
|
|
895
943
|
# "TagKey" => "TagValue",
|
896
944
|
# },
|
897
945
|
# working_directory: "NonEmptyString",
|
946
|
+
# additional_instance_configuration: {
|
947
|
+
# systems_manager_agent: {
|
948
|
+
# uninstall_after_build: false,
|
949
|
+
# },
|
950
|
+
# user_data_override: "UserDataOverride",
|
951
|
+
# },
|
898
952
|
# client_token: "ClientToken", # required
|
899
953
|
# })
|
900
954
|
#
|
@@ -930,15 +984,15 @@ module Aws::Imagebuilder
|
|
930
984
|
#
|
931
985
|
# @option params [required, String] :instance_profile_name
|
932
986
|
# The instance profile to associate with the instance used to customize
|
933
|
-
# your EC2 AMI.
|
987
|
+
# your Amazon EC2 AMI.
|
934
988
|
#
|
935
989
|
# @option params [Array<String>] :security_group_ids
|
936
990
|
# The security group IDs to associate with the instance used to
|
937
|
-
# customize your EC2 AMI.
|
991
|
+
# customize your Amazon EC2 AMI.
|
938
992
|
#
|
939
993
|
# @option params [String] :subnet_id
|
940
994
|
# The subnet ID in which to place the instance used to customize your
|
941
|
-
# EC2 AMI.
|
995
|
+
# Amazon EC2 AMI.
|
942
996
|
#
|
943
997
|
# @option params [Types::Logging] :logging
|
944
998
|
# The logging configuration of the infrastructure configuration.
|
@@ -980,7 +1034,7 @@ module Aws::Imagebuilder
|
|
980
1034
|
# name: "ResourceName", # required
|
981
1035
|
# description: "NonEmptyString",
|
982
1036
|
# instance_types: ["InstanceType"],
|
983
|
-
# instance_profile_name: "
|
1037
|
+
# instance_profile_name: "InstanceProfileNameType", # required
|
984
1038
|
# security_group_ids: ["NonEmptyString"],
|
985
1039
|
# subnet_id: "NonEmptyString",
|
986
1040
|
# logging: {
|
@@ -1258,6 +1312,12 @@ module Aws::Imagebuilder
|
|
1258
1312
|
# resp.component.platform #=> String, one of "Windows", "Linux"
|
1259
1313
|
# resp.component.supported_os_versions #=> Array
|
1260
1314
|
# resp.component.supported_os_versions[0] #=> String
|
1315
|
+
# resp.component.parameters #=> Array
|
1316
|
+
# resp.component.parameters[0].name #=> String
|
1317
|
+
# resp.component.parameters[0].type #=> String
|
1318
|
+
# resp.component.parameters[0].default_value #=> Array
|
1319
|
+
# resp.component.parameters[0].default_value[0] #=> String
|
1320
|
+
# resp.component.parameters[0].description #=> String
|
1261
1321
|
# resp.component.owner #=> String
|
1262
1322
|
# resp.component.data #=> String
|
1263
1323
|
# resp.component.kms_key_id #=> String
|
@@ -1334,6 +1394,22 @@ module Aws::Imagebuilder
|
|
1334
1394
|
# resp.container_recipe.version #=> String
|
1335
1395
|
# resp.container_recipe.components #=> Array
|
1336
1396
|
# resp.container_recipe.components[0].component_arn #=> String
|
1397
|
+
# resp.container_recipe.components[0].parameters #=> Array
|
1398
|
+
# resp.container_recipe.components[0].parameters[0].name #=> String
|
1399
|
+
# resp.container_recipe.components[0].parameters[0].value #=> Array
|
1400
|
+
# resp.container_recipe.components[0].parameters[0].value[0] #=> String
|
1401
|
+
# resp.container_recipe.instance_configuration.image #=> String
|
1402
|
+
# resp.container_recipe.instance_configuration.block_device_mappings #=> Array
|
1403
|
+
# resp.container_recipe.instance_configuration.block_device_mappings[0].device_name #=> String
|
1404
|
+
# resp.container_recipe.instance_configuration.block_device_mappings[0].ebs.encrypted #=> Boolean
|
1405
|
+
# resp.container_recipe.instance_configuration.block_device_mappings[0].ebs.delete_on_termination #=> Boolean
|
1406
|
+
# resp.container_recipe.instance_configuration.block_device_mappings[0].ebs.iops #=> Integer
|
1407
|
+
# resp.container_recipe.instance_configuration.block_device_mappings[0].ebs.kms_key_id #=> String
|
1408
|
+
# resp.container_recipe.instance_configuration.block_device_mappings[0].ebs.snapshot_id #=> String
|
1409
|
+
# resp.container_recipe.instance_configuration.block_device_mappings[0].ebs.volume_size #=> Integer
|
1410
|
+
# resp.container_recipe.instance_configuration.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "gp3", "sc1", "st1"
|
1411
|
+
# resp.container_recipe.instance_configuration.block_device_mappings[0].virtual_name #=> String
|
1412
|
+
# resp.container_recipe.instance_configuration.block_device_mappings[0].no_device #=> String
|
1337
1413
|
# resp.container_recipe.dockerfile_template_data #=> String
|
1338
1414
|
# resp.container_recipe.kms_key_id #=> String
|
1339
1415
|
# resp.container_recipe.encrypted #=> Boolean
|
@@ -1428,6 +1504,10 @@ module Aws::Imagebuilder
|
|
1428
1504
|
# resp.distribution_configuration.distributions[0].container_distribution_configuration.target_repository.repository_name #=> String
|
1429
1505
|
# resp.distribution_configuration.distributions[0].license_configuration_arns #=> Array
|
1430
1506
|
# resp.distribution_configuration.distributions[0].license_configuration_arns[0] #=> String
|
1507
|
+
# resp.distribution_configuration.distributions[0].launch_template_configurations #=> Array
|
1508
|
+
# resp.distribution_configuration.distributions[0].launch_template_configurations[0].launch_template_id #=> String
|
1509
|
+
# resp.distribution_configuration.distributions[0].launch_template_configurations[0].account_id #=> String
|
1510
|
+
# resp.distribution_configuration.distributions[0].launch_template_configurations[0].set_default_version #=> Boolean
|
1431
1511
|
# resp.distribution_configuration.timeout_minutes #=> Integer
|
1432
1512
|
# resp.distribution_configuration.date_created #=> String
|
1433
1513
|
# resp.distribution_configuration.date_updated #=> String
|
@@ -1480,6 +1560,10 @@ module Aws::Imagebuilder
|
|
1480
1560
|
# resp.image.image_recipe.version #=> String
|
1481
1561
|
# resp.image.image_recipe.components #=> Array
|
1482
1562
|
# resp.image.image_recipe.components[0].component_arn #=> String
|
1563
|
+
# resp.image.image_recipe.components[0].parameters #=> Array
|
1564
|
+
# resp.image.image_recipe.components[0].parameters[0].name #=> String
|
1565
|
+
# resp.image.image_recipe.components[0].parameters[0].value #=> Array
|
1566
|
+
# resp.image.image_recipe.components[0].parameters[0].value[0] #=> String
|
1483
1567
|
# resp.image.image_recipe.parent_image #=> String
|
1484
1568
|
# resp.image.image_recipe.block_device_mappings #=> Array
|
1485
1569
|
# resp.image.image_recipe.block_device_mappings[0].device_name #=> String
|
@@ -1489,13 +1573,15 @@ module Aws::Imagebuilder
|
|
1489
1573
|
# resp.image.image_recipe.block_device_mappings[0].ebs.kms_key_id #=> String
|
1490
1574
|
# resp.image.image_recipe.block_device_mappings[0].ebs.snapshot_id #=> String
|
1491
1575
|
# resp.image.image_recipe.block_device_mappings[0].ebs.volume_size #=> Integer
|
1492
|
-
# resp.image.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1"
|
1576
|
+
# resp.image.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "gp3", "sc1", "st1"
|
1493
1577
|
# resp.image.image_recipe.block_device_mappings[0].virtual_name #=> String
|
1494
1578
|
# resp.image.image_recipe.block_device_mappings[0].no_device #=> String
|
1495
1579
|
# resp.image.image_recipe.date_created #=> String
|
1496
1580
|
# resp.image.image_recipe.tags #=> Hash
|
1497
1581
|
# resp.image.image_recipe.tags["TagKey"] #=> String
|
1498
1582
|
# resp.image.image_recipe.working_directory #=> String
|
1583
|
+
# resp.image.image_recipe.additional_instance_configuration.systems_manager_agent.uninstall_after_build #=> Boolean
|
1584
|
+
# resp.image.image_recipe.additional_instance_configuration.user_data_override #=> String
|
1499
1585
|
# resp.image.container_recipe.arn #=> String
|
1500
1586
|
# resp.image.container_recipe.container_type #=> String, one of "DOCKER"
|
1501
1587
|
# resp.image.container_recipe.name #=> String
|
@@ -1505,6 +1591,22 @@ module Aws::Imagebuilder
|
|
1505
1591
|
# resp.image.container_recipe.version #=> String
|
1506
1592
|
# resp.image.container_recipe.components #=> Array
|
1507
1593
|
# resp.image.container_recipe.components[0].component_arn #=> String
|
1594
|
+
# resp.image.container_recipe.components[0].parameters #=> Array
|
1595
|
+
# resp.image.container_recipe.components[0].parameters[0].name #=> String
|
1596
|
+
# resp.image.container_recipe.components[0].parameters[0].value #=> Array
|
1597
|
+
# resp.image.container_recipe.components[0].parameters[0].value[0] #=> String
|
1598
|
+
# resp.image.container_recipe.instance_configuration.image #=> String
|
1599
|
+
# resp.image.container_recipe.instance_configuration.block_device_mappings #=> Array
|
1600
|
+
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].device_name #=> String
|
1601
|
+
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].ebs.encrypted #=> Boolean
|
1602
|
+
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].ebs.delete_on_termination #=> Boolean
|
1603
|
+
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].ebs.iops #=> Integer
|
1604
|
+
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].ebs.kms_key_id #=> String
|
1605
|
+
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].ebs.snapshot_id #=> String
|
1606
|
+
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].ebs.volume_size #=> Integer
|
1607
|
+
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "gp3", "sc1", "st1"
|
1608
|
+
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].virtual_name #=> String
|
1609
|
+
# resp.image.container_recipe.instance_configuration.block_device_mappings[0].no_device #=> String
|
1508
1610
|
# resp.image.container_recipe.dockerfile_template_data #=> String
|
1509
1611
|
# resp.image.container_recipe.kms_key_id #=> String
|
1510
1612
|
# resp.image.container_recipe.encrypted #=> Boolean
|
@@ -1560,6 +1662,10 @@ module Aws::Imagebuilder
|
|
1560
1662
|
# resp.image.distribution_configuration.distributions[0].container_distribution_configuration.target_repository.repository_name #=> String
|
1561
1663
|
# resp.image.distribution_configuration.distributions[0].license_configuration_arns #=> Array
|
1562
1664
|
# resp.image.distribution_configuration.distributions[0].license_configuration_arns[0] #=> String
|
1665
|
+
# resp.image.distribution_configuration.distributions[0].launch_template_configurations #=> Array
|
1666
|
+
# resp.image.distribution_configuration.distributions[0].launch_template_configurations[0].launch_template_id #=> String
|
1667
|
+
# resp.image.distribution_configuration.distributions[0].launch_template_configurations[0].account_id #=> String
|
1668
|
+
# resp.image.distribution_configuration.distributions[0].launch_template_configurations[0].set_default_version #=> Boolean
|
1563
1669
|
# resp.image.distribution_configuration.timeout_minutes #=> Integer
|
1564
1670
|
# resp.image.distribution_configuration.date_created #=> String
|
1565
1671
|
# resp.image.distribution_configuration.date_updated #=> String
|
@@ -1624,6 +1730,7 @@ module Aws::Imagebuilder
|
|
1624
1730
|
# resp.image_pipeline.image_tests_configuration.image_tests_enabled #=> Boolean
|
1625
1731
|
# resp.image_pipeline.image_tests_configuration.timeout_minutes #=> Integer
|
1626
1732
|
# resp.image_pipeline.schedule.schedule_expression #=> String
|
1733
|
+
# resp.image_pipeline.schedule.timezone #=> String
|
1627
1734
|
# resp.image_pipeline.schedule.pipeline_execution_start_condition #=> String, one of "EXPRESSION_MATCH_ONLY", "EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE"
|
1628
1735
|
# resp.image_pipeline.status #=> String, one of "DISABLED", "ENABLED"
|
1629
1736
|
# resp.image_pipeline.date_created #=> String
|
@@ -1702,6 +1809,10 @@ module Aws::Imagebuilder
|
|
1702
1809
|
# resp.image_recipe.version #=> String
|
1703
1810
|
# resp.image_recipe.components #=> Array
|
1704
1811
|
# resp.image_recipe.components[0].component_arn #=> String
|
1812
|
+
# resp.image_recipe.components[0].parameters #=> Array
|
1813
|
+
# resp.image_recipe.components[0].parameters[0].name #=> String
|
1814
|
+
# resp.image_recipe.components[0].parameters[0].value #=> Array
|
1815
|
+
# resp.image_recipe.components[0].parameters[0].value[0] #=> String
|
1705
1816
|
# resp.image_recipe.parent_image #=> String
|
1706
1817
|
# resp.image_recipe.block_device_mappings #=> Array
|
1707
1818
|
# resp.image_recipe.block_device_mappings[0].device_name #=> String
|
@@ -1711,13 +1822,15 @@ module Aws::Imagebuilder
|
|
1711
1822
|
# resp.image_recipe.block_device_mappings[0].ebs.kms_key_id #=> String
|
1712
1823
|
# resp.image_recipe.block_device_mappings[0].ebs.snapshot_id #=> String
|
1713
1824
|
# resp.image_recipe.block_device_mappings[0].ebs.volume_size #=> Integer
|
1714
|
-
# resp.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1"
|
1825
|
+
# resp.image_recipe.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "gp3", "sc1", "st1"
|
1715
1826
|
# resp.image_recipe.block_device_mappings[0].virtual_name #=> String
|
1716
1827
|
# resp.image_recipe.block_device_mappings[0].no_device #=> String
|
1717
1828
|
# resp.image_recipe.date_created #=> String
|
1718
1829
|
# resp.image_recipe.tags #=> Hash
|
1719
1830
|
# resp.image_recipe.tags["TagKey"] #=> String
|
1720
1831
|
# resp.image_recipe.working_directory #=> String
|
1832
|
+
# resp.image_recipe.additional_instance_configuration.systems_manager_agent.uninstall_after_build #=> Boolean
|
1833
|
+
# resp.image_recipe.additional_instance_configuration.user_data_override #=> String
|
1721
1834
|
#
|
1722
1835
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImageRecipe AWS API Documentation
|
1723
1836
|
#
|
@@ -1843,10 +1956,10 @@ module Aws::Imagebuilder
|
|
1843
1956
|
# `data` or `uri` can be used to specify the data within the component.
|
1844
1957
|
#
|
1845
1958
|
# @option params [String] :uri
|
1846
|
-
# The uri of the component. Must be an S3 URL and the requester
|
1847
|
-
# have permission to access the S3 bucket. If you use
|
1848
|
-
# specify component content up to your service quota. Either
|
1849
|
-
# `uri` can be used to specify the data within the component.
|
1959
|
+
# The uri of the component. Must be an Amazon S3 URL and the requester
|
1960
|
+
# must have permission to access the Amazon S3 bucket. If you use Amazon
|
1961
|
+
# S3, you can specify component content up to your service quota. Either
|
1962
|
+
# `data` or `uri` can be used to specify the data within the component.
|
1850
1963
|
#
|
1851
1964
|
# @option params [String] :kms_key_id
|
1852
1965
|
# The ID of the KMS key that should be used to encrypt this component.
|
@@ -2233,6 +2346,54 @@ module Aws::Imagebuilder
|
|
2233
2346
|
req.send_request(options)
|
2234
2347
|
end
|
2235
2348
|
|
2349
|
+
# List the Packages that are associated with an Image Build Version, as
|
2350
|
+
# determined by Amazon EC2 Systems Manager Inventory at build time.
|
2351
|
+
#
|
2352
|
+
# @option params [required, String] :image_build_version_arn
|
2353
|
+
# Filter results for the ListImagePackages request by the Image Build
|
2354
|
+
# Version ARN
|
2355
|
+
#
|
2356
|
+
# @option params [Integer] :max_results
|
2357
|
+
# The maxiumum number of results to return from the ListImagePackages
|
2358
|
+
# request.
|
2359
|
+
#
|
2360
|
+
# @option params [String] :next_token
|
2361
|
+
# A token to specify where to start paginating. This is the NextToken
|
2362
|
+
# from a previously truncated response.
|
2363
|
+
#
|
2364
|
+
# @return [Types::ListImagePackagesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2365
|
+
#
|
2366
|
+
# * {Types::ListImagePackagesResponse#request_id #request_id} => String
|
2367
|
+
# * {Types::ListImagePackagesResponse#image_package_list #image_package_list} => Array<Types::ImagePackage>
|
2368
|
+
# * {Types::ListImagePackagesResponse#next_token #next_token} => String
|
2369
|
+
#
|
2370
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2371
|
+
#
|
2372
|
+
# @example Request syntax with placeholder values
|
2373
|
+
#
|
2374
|
+
# resp = client.list_image_packages({
|
2375
|
+
# image_build_version_arn: "ImageBuildVersionArn", # required
|
2376
|
+
# max_results: 1,
|
2377
|
+
# next_token: "PaginationToken",
|
2378
|
+
# })
|
2379
|
+
#
|
2380
|
+
# @example Response structure
|
2381
|
+
#
|
2382
|
+
# resp.request_id #=> String
|
2383
|
+
# resp.image_package_list #=> Array
|
2384
|
+
# resp.image_package_list[0].package_name #=> String
|
2385
|
+
# resp.image_package_list[0].package_version #=> String
|
2386
|
+
# resp.next_token #=> String
|
2387
|
+
#
|
2388
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImagePackages AWS API Documentation
|
2389
|
+
#
|
2390
|
+
# @overload list_image_packages(params = {})
|
2391
|
+
# @param [Hash] params ({})
|
2392
|
+
def list_image_packages(params = {}, options = {})
|
2393
|
+
req = build_request(:list_image_packages, params)
|
2394
|
+
req.send_request(options)
|
2395
|
+
end
|
2396
|
+
|
2236
2397
|
# Returns a list of images created by the specified pipeline.
|
2237
2398
|
#
|
2238
2399
|
# @option params [required, String] :image_pipeline_arn
|
@@ -2359,6 +2520,7 @@ module Aws::Imagebuilder
|
|
2359
2520
|
# resp.image_pipeline_list[0].image_tests_configuration.image_tests_enabled #=> Boolean
|
2360
2521
|
# resp.image_pipeline_list[0].image_tests_configuration.timeout_minutes #=> Integer
|
2361
2522
|
# resp.image_pipeline_list[0].schedule.schedule_expression #=> String
|
2523
|
+
# resp.image_pipeline_list[0].schedule.timezone #=> String
|
2362
2524
|
# resp.image_pipeline_list[0].schedule.pipeline_execution_start_condition #=> String, one of "EXPRESSION_MATCH_ONLY", "EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE"
|
2363
2525
|
# resp.image_pipeline_list[0].status #=> String, one of "DISABLED", "ENABLED"
|
2364
2526
|
# resp.image_pipeline_list[0].date_created #=> String
|
@@ -2560,6 +2722,9 @@ module Aws::Imagebuilder
|
|
2560
2722
|
# resp.infrastructure_configuration_summary_list[0].resource_tags["TagKey"] #=> String
|
2561
2723
|
# resp.infrastructure_configuration_summary_list[0].tags #=> Hash
|
2562
2724
|
# resp.infrastructure_configuration_summary_list[0].tags["TagKey"] #=> String
|
2725
|
+
# resp.infrastructure_configuration_summary_list[0].instance_types #=> Array
|
2726
|
+
# resp.infrastructure_configuration_summary_list[0].instance_types[0] #=> String
|
2727
|
+
# resp.infrastructure_configuration_summary_list[0].instance_profile_name #=> String
|
2563
2728
|
# resp.next_token #=> String
|
2564
2729
|
#
|
2565
2730
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListInfrastructureConfigurations AWS API Documentation
|
@@ -2926,6 +3091,13 @@ module Aws::Imagebuilder
|
|
2926
3091
|
# },
|
2927
3092
|
# },
|
2928
3093
|
# license_configuration_arns: ["LicenseConfigurationArn"],
|
3094
|
+
# launch_template_configurations: [
|
3095
|
+
# {
|
3096
|
+
# launch_template_id: "LaunchTemplateId", # required
|
3097
|
+
# account_id: "AccountId",
|
3098
|
+
# set_default_version: false,
|
3099
|
+
# },
|
3100
|
+
# ],
|
2929
3101
|
# },
|
2930
3102
|
# ],
|
2931
3103
|
# client_token: "ClientToken", # required
|
@@ -2946,8 +3118,14 @@ module Aws::Imagebuilder
|
|
2946
3118
|
req.send_request(options)
|
2947
3119
|
end
|
2948
3120
|
|
2949
|
-
# Updates
|
2950
|
-
#
|
3121
|
+
# Updates an image pipeline. Image pipelines enable you to automate the
|
3122
|
+
# creation and distribution of images.
|
3123
|
+
#
|
3124
|
+
# <note markdown="1"> UpdateImagePipeline does not support selective updates for the
|
3125
|
+
# pipeline. You must specify all of the required properties in the
|
3126
|
+
# update request, not just the properties that have changed.
|
3127
|
+
#
|
3128
|
+
# </note>
|
2951
3129
|
#
|
2952
3130
|
# @option params [required, String] :image_pipeline_arn
|
2953
3131
|
# The Amazon Resource Name (ARN) of the image pipeline that you want to
|
@@ -3015,6 +3193,7 @@ module Aws::Imagebuilder
|
|
3015
3193
|
# enhanced_image_metadata_enabled: false,
|
3016
3194
|
# schedule: {
|
3017
3195
|
# schedule_expression: "NonEmptyString",
|
3196
|
+
# timezone: "Timezone",
|
3018
3197
|
# pipeline_execution_start_condition: "EXPRESSION_MATCH_ONLY", # accepts EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
|
3019
3198
|
# },
|
3020
3199
|
# status: "DISABLED", # accepts DISABLED, ENABLED
|
@@ -3054,14 +3233,15 @@ module Aws::Imagebuilder
|
|
3054
3233
|
#
|
3055
3234
|
# @option params [required, String] :instance_profile_name
|
3056
3235
|
# The instance profile to associate with the instance used to customize
|
3057
|
-
# your EC2 AMI.
|
3236
|
+
# your Amazon EC2 AMI.
|
3058
3237
|
#
|
3059
3238
|
# @option params [Array<String>] :security_group_ids
|
3060
3239
|
# The security group IDs to associate with the instance used to
|
3061
|
-
# customize your EC2 AMI.
|
3240
|
+
# customize your Amazon EC2 AMI.
|
3062
3241
|
#
|
3063
3242
|
# @option params [String] :subnet_id
|
3064
|
-
# The subnet ID to place the instance used to customize your EC2
|
3243
|
+
# The subnet ID to place the instance used to customize your Amazon EC2
|
3244
|
+
# AMI in.
|
3065
3245
|
#
|
3066
3246
|
# @option params [Types::Logging] :logging
|
3067
3247
|
# The logging configuration of the infrastructure configuration.
|
@@ -3100,7 +3280,7 @@ module Aws::Imagebuilder
|
|
3100
3280
|
# infrastructure_configuration_arn: "InfrastructureConfigurationArn", # required
|
3101
3281
|
# description: "NonEmptyString",
|
3102
3282
|
# instance_types: ["InstanceType"],
|
3103
|
-
# instance_profile_name: "
|
3283
|
+
# instance_profile_name: "InstanceProfileNameType", # required
|
3104
3284
|
# security_group_ids: ["NonEmptyString"],
|
3105
3285
|
# subnet_id: "NonEmptyString",
|
3106
3286
|
# logging: {
|
@@ -3146,7 +3326,7 @@ module Aws::Imagebuilder
|
|
3146
3326
|
params: params,
|
3147
3327
|
config: config)
|
3148
3328
|
context[:gem_name] = 'aws-sdk-imagebuilder'
|
3149
|
-
context[:gem_version] = '1.
|
3329
|
+
context[:gem_version] = '1.23.0'
|
3150
3330
|
Seahorse::Client::Request.new(handlers, context)
|
3151
3331
|
end
|
3152
3332
|
|