Skip to content

Commit 2501db5

Browse files
author
AWS
committed
EC2 Image Builder Update: Add integration with SSM Parameter Store to Image Builder.
1 parent 5542a44 commit 2501db5

File tree

2 files changed

+50
-4
lines changed

2 files changed

+50
-4
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": "Add integration with SSM Parameter Store to Image Builder."
6+
}

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

Lines changed: 44 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2099,7 +2099,7 @@
20992099
},
21002100
"parentImage":{
21012101
"shape":"NonEmptyString",
2102-
"documentation":"<p>The base image for the container recipe.</p>"
2102+
"documentation":"<p>The base image for customizations specified in the container recipe. This can contain an Image Builder image resource ARN or a container image URI, for example <code>amazonlinux:latest</code>.</p>"
21032103
},
21042104
"dateCreated":{
21052105
"shape":"DateTime",
@@ -3168,6 +3168,10 @@
31683168
"fastLaunchConfigurations":{
31693169
"shape":"FastLaunchConfigurationList",
31703170
"documentation":"<p>The Windows faster-launching configurations to use for AMI distribution.</p>"
3171+
},
3172+
"ssmParameterConfigurations":{
3173+
"shape":"SsmParameterConfigurationList",
3174+
"documentation":"<p>Contains settings to update Amazon Web Services Systems Manager (SSM) Parameter Store Parameters with output AMI IDs from the build by target Region.</p>"
31713175
}
31723176
},
31733177
"documentation":"<p>Defines the settings for a specific Region.</p>"
@@ -4306,7 +4310,7 @@
43064310
},
43074311
"parentImage":{
43084312
"shape":"NonEmptyString",
4309-
"documentation":"<p>The base image of the image recipe.</p>"
4313+
"documentation":"<p>The base image for customizations specified in the image recipe. You can specify the parent image using one of the following options:</p> <ul> <li> <p>AMI ID</p> </li> <li> <p>Image Builder image Amazon Resource Name (ARN)</p> </li> <li> <p>Amazon Web Services Systems Manager (SSM) Parameter Store Parameter, prefixed by <code>ssm:</code>, followed by the parameter name or ARN.</p> </li> <li> <p>Amazon Web Services Marketplace product ID</p> </li> </ul>"
43104314
},
43114315
"blockDeviceMappings":{
43124316
"shape":"InstanceBlockDeviceMappings",
@@ -5122,7 +5126,7 @@
51225126
"members":{
51235127
"image":{
51245128
"shape":"NonEmptyString",
5125-
"documentation":"<p>The AMI ID to use as the base image for a container build and test instance. If not specified, Image Builder will use the appropriate ECS-optimized AMI as a base image.</p>"
5129+
"documentation":"<p>The base image for a container build and test instance. This can contain an AMI ID or it can specify an Amazon Web Services Systems Manager (SSM) Parameter Store Parameter, prefixed by <code>ssm:</code>, followed by the parameter name or ARN.</p> <p>If not specified, Image Builder uses the appropriate ECS-optimized AMI as a base image.</p>"
51265130
},
51275131
"blockDeviceMappings":{
51285132
"shape":"InstanceBlockDeviceMappings",
@@ -7270,6 +7274,42 @@
72707274
"pattern":"^arn:aws[^:]*:sns:[^:]+:[0-9]{12}:[a-zA-Z0-9-_]{1,256}$"
72717275
},
72727276
"SourceLayerHash":{"type":"string"},
7277+
"SsmParameterConfiguration":{
7278+
"type":"structure",
7279+
"required":["parameterName"],
7280+
"members":{
7281+
"amiAccountId":{
7282+
"shape":"AccountId",
7283+
"documentation":"<p>Specify the account that will own the Parameter in a given Region. During distribution, this account must be specified in distribution settings as a target account for the Region.</p>"
7284+
},
7285+
"parameterName":{
7286+
"shape":"SsmParameterName",
7287+
"documentation":"<p>This is the name of the Parameter in the target Region or account. The image distribution creates the Parameter if it doesn't already exist. Otherwise, it updates the parameter.</p>"
7288+
},
7289+
"dataType":{
7290+
"shape":"SsmParameterDataType",
7291+
"documentation":"<p>The data type specifies what type of value the Parameter contains. We recommend that you use data type <code>aws:ec2:image</code>.</p>"
7292+
}
7293+
},
7294+
"documentation":"<p>Configuration for a single Parameter in the Amazon Web Services Systems Manager (SSM) Parameter Store in a given Region.</p>"
7295+
},
7296+
"SsmParameterConfigurationList":{
7297+
"type":"list",
7298+
"member":{"shape":"SsmParameterConfiguration"}
7299+
},
7300+
"SsmParameterDataType":{
7301+
"type":"string",
7302+
"enum":[
7303+
"text",
7304+
"aws:ec2:image"
7305+
]
7306+
},
7307+
"SsmParameterName":{
7308+
"type":"string",
7309+
"max":1011,
7310+
"min":1,
7311+
"pattern":"^[a-zA-Z0-9_.\\-\\/]+$"
7312+
},
72737313
"StartImagePipelineExecutionRequest":{
72747314
"type":"structure",
72757315
"required":[
@@ -7453,7 +7493,7 @@
74537493
"type":"string",
74547494
"max":100,
74557495
"min":3,
7456-
"pattern":"[a-zA-Z0-9]{2,}(?:\\/[a-zA-z0-9-_+]+)*"
7496+
"pattern":"[a-zA-Z0-9]{2,}(?:\\/[a-zA-Z0-9-_+]+)*"
74577497
},
74587498
"UntagResourceRequest":{
74597499
"type":"structure",

0 commit comments

Comments
 (0)