Skip to content

Commit 9c8d760

Browse files
author
AWS
committed
EC2 Image Builder Update: 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.
1 parent bac977a commit 9c8d760

File tree

3 files changed

+112
-1
lines changed

3 files changed

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

services/imagebuilder/src/main/resources/codegen-resources/paginators-1.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@
3030
"limit_key": "maxResults",
3131
"result_key": "imageSummaryList"
3232
},
33+
"ListImagePackages": {
34+
"input_token": "nextToken",
35+
"output_token": "nextToken",
36+
"limit_key": "maxResults",
37+
"result_key": "imagePackageList"
38+
},
3339
"ListImagePipelineImages": {
3440
"input_token": "nextToken",
3541
"output_token": "nextToken",

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

Lines changed: 100 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,26 @@
638638
],
639639
"documentation":"<p> Returns a list of image build versions. </p>"
640640
},
641+
"ListImagePackages":{
642+
"name":"ListImagePackages",
643+
"http":{
644+
"method":"POST",
645+
"requestUri":"/ListImagePackages"
646+
},
647+
"input":{"shape":"ListImagePackagesRequest"},
648+
"output":{"shape":"ListImagePackagesResponse"},
649+
"errors":[
650+
{"shape":"ServiceException"},
651+
{"shape":"ClientException"},
652+
{"shape":"ServiceUnavailableException"},
653+
{"shape":"InvalidRequestException"},
654+
{"shape":"InvalidPaginationTokenException"},
655+
{"shape":"ResourceNotFoundException"},
656+
{"shape":"ForbiddenException"},
657+
{"shape":"CallRateLimitExceededException"}
658+
],
659+
"documentation":"<p>List the Packages that are associated with an Image Build Version, as determined by AWS Systems Manager Inventory at build time.</p>"
660+
},
641661
"ListImagePipelineImages":{
642662
"name":"ListImagePipelineImages",
643663
"http":{
@@ -2279,6 +2299,7 @@
22792299
"io1",
22802300
"io2",
22812301
"gp2",
2302+
"gp3",
22822303
"sc1",
22832304
"st1"
22842305
]
@@ -2704,6 +2725,24 @@
27042725
"type":"string",
27052726
"pattern":"^arn:aws[^:]*:imagebuilder:[^:]+:(?:\\d{12}|aws):(?:image-recipe|container-recipe|infrastructure-configuration|distribution-configuration|component|image|image-pipeline)/[a-z0-9-_]+(?:/(?:(?:x|\\d+)\\.(?:x|\\d+)\\.(?:x|\\d+))(?:/\\d+)?)?$"
27062727
},
2728+
"ImagePackage":{
2729+
"type":"structure",
2730+
"members":{
2731+
"packageName":{
2732+
"shape":"NonEmptyString",
2733+
"documentation":"<p>The name of the package as reported to the operating system package manager.</p>"
2734+
},
2735+
"packageVersion":{
2736+
"shape":"NonEmptyString",
2737+
"documentation":"<p>The version of the package as reported to the operating system package manager.</p>"
2738+
}
2739+
},
2740+
"documentation":"<p>Represents a package installed on an Image Builder image.</p>"
2741+
},
2742+
"ImagePackageList":{
2743+
"type":"list",
2744+
"member":{"shape":"ImagePackage"}
2745+
},
27072746
"ImagePipeline":{
27082747
"type":"structure",
27092748
"members":{
@@ -3145,7 +3184,7 @@
31453184
"documentation":"<p>The instance types of the infrastructure configuration.</p>"
31463185
},
31473186
"instanceProfileName":{
3148-
"shape":"NonEmptyString",
3187+
"shape":"InstanceProfileNameType",
31493188
"documentation":"<p>The instance profile of the infrastructure configuration.</p>"
31503189
},
31513190
"securityGroupIds":{
@@ -3225,6 +3264,14 @@
32253264
"tags":{
32263265
"shape":"TagMap",
32273266
"documentation":"<p>The tags of the infrastructure configuration.</p>"
3267+
},
3268+
"instanceTypes":{
3269+
"shape":"InstanceTypeList",
3270+
"documentation":"<p>The instance types of the infrastructure configuration.</p>"
3271+
},
3272+
"instanceProfileName":{
3273+
"shape":"InstanceProfileNameType",
3274+
"documentation":"<p>The instance profile of the infrastructure configuration.</p>"
32283275
}
32293276
},
32303277
"documentation":"<p>The infrastructure used when building EC2 AMIs.</p>"
@@ -3271,6 +3318,12 @@
32713318
"type":"list",
32723319
"member":{"shape":"InstanceBlockDeviceMapping"}
32733320
},
3321+
"InstanceProfileNameType":{
3322+
"type":"string",
3323+
"max":256,
3324+
"min":1,
3325+
"pattern":"^[\\w+=,.@-]+$"
3326+
},
32743327
"InstanceType":{"type":"string"},
32753328
"InstanceTypeList":{
32763329
"type":"list",
@@ -3547,6 +3600,42 @@
35473600
}
35483601
}
35493602
},
3603+
"ListImagePackagesRequest":{
3604+
"type":"structure",
3605+
"required":["imageBuildVersionArn"],
3606+
"members":{
3607+
"imageBuildVersionArn":{
3608+
"shape":"ImageBuildVersionArn",
3609+
"documentation":"<p>Filter results for the ListImagePackages request by the Image Build Version ARN</p>"
3610+
},
3611+
"maxResults":{
3612+
"shape":"RestrictedInteger",
3613+
"documentation":"<p>The maxiumum number of results to return from the ListImagePackages request.</p>",
3614+
"box":true
3615+
},
3616+
"nextToken":{
3617+
"shape":"PaginationToken",
3618+
"documentation":"<p>A token to specify where to start paginating. This is the NextToken from a previously truncated response.</p>"
3619+
}
3620+
}
3621+
},
3622+
"ListImagePackagesResponse":{
3623+
"type":"structure",
3624+
"members":{
3625+
"requestId":{
3626+
"shape":"NonEmptyString",
3627+
"documentation":"<p>The request ID that uniquely identifies this request.</p>"
3628+
},
3629+
"imagePackageList":{
3630+
"shape":"ImagePackageList",
3631+
"documentation":"<p>The list of Image Packages returned in the response.</p>"
3632+
},
3633+
"nextToken":{
3634+
"shape":"PaginationToken",
3635+
"documentation":"<p>A token to specify where to start paginating. This is the NextToken from a previously truncated response.</p>"
3636+
}
3637+
}
3638+
},
35503639
"ListImagePipelineImagesRequest":{
35513640
"type":"structure",
35523641
"required":["imagePipelineArn"],
@@ -4040,6 +4129,10 @@
40404129
"shape":"NonEmptyString",
40414130
"documentation":"<p>The cron expression determines how often EC2 Image Builder evaluates your <code>pipelineExecutionStartCondition</code>.</p> <p>For information on how to format a cron expression in Image Builder, see <a href=\"https://docs.aws.amazon.com/imagebuilder/latest/userguide/image-builder-cron.html\">Use cron expressions in EC2 Image Builder</a>.</p>"
40424131
},
4132+
"timezone":{
4133+
"shape":"Timezone",
4134+
"documentation":"<p>The timezone that applies to the scheduling expression. For example, \"Etc/UTC\", \"America/Los_Angeles\" in the <a href=\"https://www.joda.org/joda-time/timezones.html\">IANA timezone format</a>. If not specified this defaults to UTC.</p>"
4135+
},
40434136
"pipelineExecutionStartCondition":{
40444137
"shape":"PipelineExecutionStartCondition",
40454138
"documentation":"<p>The condition configures when the pipeline should trigger a new image build. When the <code>pipelineExecutionStartCondition</code> is set to <code>EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE</code>, and you use semantic version filters on the source image or components in your image recipe, EC2 Image Builder will build a new image only when there are new versions of the image or components in your recipe that match the semantic version filter. When it is set to <code>EXPRESSION_MATCH_ONLY</code>, it will build a new image every time the CRON expression matches the current time. For semantic version syntax, see <a href=\"https://docs.aws.amazon.com/imagebuilder/latest/APIReference/API_CreateComponent.html\">CreateComponent</a> in the <i> EC2 Image Builder API Reference</i>.</p>"
@@ -4186,6 +4279,12 @@
41864279
},
41874280
"documentation":"<p>The container repository where the output container image is stored.</p>"
41884281
},
4282+
"Timezone":{
4283+
"type":"string",
4284+
"max":100,
4285+
"min":3,
4286+
"pattern":"[a-zA-Z0-9]{2,}(?:\\/[a-zA-z0-9-_+]+)*"
4287+
},
41894288
"UntagResourceRequest":{
41904289
"type":"structure",
41914290
"required":[

0 commit comments

Comments
 (0)