Skip to content

Commit 2e97fd6

Browse files
author
AWS
committed
EC2 Image Builder Update: 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.
1 parent 1b73eaa commit 2e97fd6

File tree

2 files changed

+65
-10
lines changed

2 files changed

+65
-10
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "feature",
3+
"category": "EC2 Image Builder",
4+
"description": "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."
5+
}

services/imagebuilder/src/main/resources/codegen-resources/service-2.json

Lines changed: 60 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151
{"shape":"CallRateLimitExceededException"},
5252
{"shape":"InvalidVersionNumberException"},
5353
{"shape":"ResourceInUseException"},
54-
{"shape":"InvalidParameterCombinationException"}
54+
{"shape":"InvalidParameterCombinationException"},
55+
{"shape":"ServiceQuotaExceededException"}
5556
],
5657
"documentation":"<p>Creates a new component that can be used to build, validate, test, and assess your image.</p>"
5758
},
@@ -73,7 +74,8 @@
7374
{"shape":"CallRateLimitExceededException"},
7475
{"shape":"ResourceInUseException"},
7576
{"shape":"ResourceAlreadyExistsException"},
76-
{"shape":"InvalidParameterCombinationException"}
77+
{"shape":"InvalidParameterCombinationException"},
78+
{"shape":"ServiceQuotaExceededException"}
7779
],
7880
"documentation":"<p>Creates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline. </p>"
7981
},
@@ -93,7 +95,8 @@
9395
{"shape":"IdempotentParameterMismatchException"},
9496
{"shape":"ForbiddenException"},
9597
{"shape":"CallRateLimitExceededException"},
96-
{"shape":"ResourceInUseException"}
98+
{"shape":"ResourceInUseException"},
99+
{"shape":"ServiceQuotaExceededException"}
97100
],
98101
"documentation":"<p> Creates a new image. This request will create a new image along with all of the configured output resources defined in the distribution configuration. </p>"
99102
},
@@ -114,7 +117,8 @@
114117
{"shape":"ForbiddenException"},
115118
{"shape":"CallRateLimitExceededException"},
116119
{"shape":"ResourceInUseException"},
117-
{"shape":"ResourceAlreadyExistsException"}
120+
{"shape":"ResourceAlreadyExistsException"},
121+
{"shape":"ServiceQuotaExceededException"}
118122
],
119123
"documentation":"<p> Creates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images. </p>"
120124
},
@@ -136,7 +140,8 @@
136140
{"shape":"CallRateLimitExceededException"},
137141
{"shape":"InvalidVersionNumberException"},
138142
{"shape":"ResourceInUseException"},
139-
{"shape":"ResourceAlreadyExistsException"}
143+
{"shape":"ResourceAlreadyExistsException"},
144+
{"shape":"ServiceQuotaExceededException"}
140145
],
141146
"documentation":"<p> Creates a new image recipe. Image recipes define how images are configured, tested, and assessed. </p>"
142147
},
@@ -157,7 +162,8 @@
157162
{"shape":"ForbiddenException"},
158163
{"shape":"CallRateLimitExceededException"},
159164
{"shape":"ResourceInUseException"},
160-
{"shape":"ResourceAlreadyExistsException"}
165+
{"shape":"ResourceAlreadyExistsException"},
166+
{"shape":"ServiceQuotaExceededException"}
161167
],
162168
"documentation":"<p> Creates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested. </p>"
163169
},
@@ -533,7 +539,7 @@
533539
{"shape":"ForbiddenException"},
534540
{"shape":"CallRateLimitExceededException"}
535541
],
536-
"documentation":"<p> Returns a list of distribution configurations. </p>"
542+
"documentation":"<p> Returns a list of image build versions. </p>"
537543
},
538544
"ListImagePipelineImages":{
539545
"name":"ListImagePipelineImages",
@@ -610,7 +616,7 @@
610616
{"shape":"ForbiddenException"},
611617
{"shape":"CallRateLimitExceededException"}
612618
],
613-
"documentation":"<p> Returns the list of image build versions for the specified semantic version. </p>"
619+
"documentation":"<p> Returns the list of images that you have access to. </p>"
614620
},
615621
"ListInfrastructureConfigurations":{
616622
"name":"ListInfrastructureConfigurations",
@@ -1376,6 +1382,10 @@
13761382
"shape":"TagMap",
13771383
"documentation":"<p> The tags of the image recipe. </p>"
13781384
},
1385+
"workingDirectory":{
1386+
"shape":"NonEmptyString",
1387+
"documentation":"<p>The working directory to be used during build and test workflows.</p>"
1388+
},
13791389
"clientToken":{
13801390
"shape":"ClientToken",
13811391
"documentation":"<p>The idempotency token used to make this request idempotent. </p>",
@@ -1504,6 +1514,10 @@
15041514
"shape":"SnsTopicArn",
15051515
"documentation":"<p>The SNS topic on which to send image build events. </p>"
15061516
},
1517+
"resourceTags":{
1518+
"shape":"ResourceTagMap",
1519+
"documentation":"<p>The tags attached to the resource created by Image Builder.</p>"
1520+
},
15071521
"tags":{
15081522
"shape":"TagMap",
15091523
"documentation":"<p>The tags of the infrastructure configuration. </p>"
@@ -1921,7 +1935,7 @@
19211935
"required":["componentBuildVersionArn"],
19221936
"members":{
19231937
"componentBuildVersionArn":{
1924-
"shape":"ComponentBuildVersionArn",
1938+
"shape":"ComponentVersionArnOrBuildVersionArn",
19251939
"documentation":"<p>The Amazon Resource Name (ARN) of the component that you want to retrieve. Regex requires \"/\\d+$\" suffix.</p>",
19261940
"location":"querystring",
19271941
"locationName":"componentBuildVersionArn"
@@ -2071,7 +2085,7 @@
20712085
"required":["imageBuildVersionArn"],
20722086
"members":{
20732087
"imageBuildVersionArn":{
2074-
"shape":"ImageBuildVersionArn",
2088+
"shape":"ImageVersionArnOrBuildVersionArn",
20752089
"documentation":"<p>The Amazon Resource Name (ARN) of the image that you want to retrieve. </p>",
20762090
"location":"querystring",
20772091
"locationName":"imageBuildVersionArn"
@@ -2329,6 +2343,10 @@
23292343
"tags":{
23302344
"shape":"TagMap",
23312345
"documentation":"<p>The tags of the image recipe.</p>"
2346+
},
2347+
"workingDirectory":{
2348+
"shape":"NonEmptyString",
2349+
"documentation":"<p>The working directory to be used during build and test workflows.</p>"
23322350
}
23332351
},
23342352
"documentation":"<p>An image recipe.</p>"
@@ -2512,6 +2530,10 @@
25122530
"type":"string",
25132531
"pattern":"^arn:aws[^:]*:imagebuilder:[^:]+:(?:\\d{12}|aws):image/[a-z0-9-_]+/\\d+\\.\\d+\\.\\d+$"
25142532
},
2533+
"ImageVersionArnOrBuildVersionArn":{
2534+
"type":"string",
2535+
"pattern":"^arn:aws[^:]*:imagebuilder:[^:]+:(?:\\d{12}|aws):image/[a-z0-9-_]+/(?:(?:(\\d+|x)\\.(\\d+|x)\\.(\\d+|x))|(?:\\d+\\.\\d+\\.\\d+/\\d+))$"
2536+
},
25152537
"ImageVersionList":{
25162538
"type":"list",
25172539
"member":{"shape":"ImageVersion"}
@@ -2650,6 +2672,10 @@
26502672
"shape":"DateTime",
26512673
"documentation":"<p>The date on which the infrastructure configuration was last updated.</p>"
26522674
},
2675+
"resourceTags":{
2676+
"shape":"ResourceTagMap",
2677+
"documentation":"<p>The tags attached to the resource created by Image Builder.</p>"
2678+
},
26532679
"tags":{
26542680
"shape":"TagMap",
26552681
"documentation":"<p>The tags of the infrastructure configuration.</p>"
@@ -2684,6 +2710,10 @@
26842710
"shape":"DateTime",
26852711
"documentation":"<p>The date on which the infrastructure configuration was last updated.</p>"
26862712
},
2713+
"resourceTags":{
2714+
"shape":"ResourceTagMap",
2715+
"documentation":"<p>The tags attached to the image created by Image Builder.</p>"
2716+
},
26872717
"tags":{
26882718
"shape":"TagMap",
26892719
"documentation":"<p>The tags of the infrastructure configuration.</p>"
@@ -3358,6 +3388,13 @@
33583388
"max":30000,
33593389
"min":1
33603390
},
3391+
"ResourceTagMap":{
3392+
"type":"map",
3393+
"key":{"shape":"TagKey"},
3394+
"value":{"shape":"TagValue"},
3395+
"max":30,
3396+
"min":1
3397+
},
33613398
"RestrictedInteger":{
33623399
"type":"integer",
33633400
"max":25,
@@ -3404,6 +3441,15 @@
34043441
"error":{"httpStatusCode":500},
34053442
"exception":true
34063443
},
3444+
"ServiceQuotaExceededException":{
3445+
"type":"structure",
3446+
"members":{
3447+
"message":{"shape":"ErrorMessage"}
3448+
},
3449+
"documentation":"<p>You have exceeded the number of permitted resources or operations for this service. For service quotas, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder\">EC2 Image Builder endpoints and quotas</a>.</p>",
3450+
"error":{"httpStatusCode":402},
3451+
"exception":true
3452+
},
34073453
"ServiceUnavailableException":{
34083454
"type":"structure",
34093455
"members":{
@@ -3694,6 +3740,10 @@
36943740
"shape":"ClientToken",
36953741
"documentation":"<p>The idempotency token used to make this request idempotent. </p>",
36963742
"idempotencyToken":true
3743+
},
3744+
"resourceTags":{
3745+
"shape":"ResourceTagMap",
3746+
"documentation":"<p>The tags attached to the resource created by Image Builder.</p>"
36973747
}
36983748
}
36993749
},

0 commit comments

Comments
 (0)