@@ -125,6 +125,10 @@ export interface ImagePipelineProps {
125125 * Region for Parameter Store path above
126126 */
127127 readonly amiIdSsmRegion ?: string ;
128+ /**
129+ * The tags attached to the resource created by Image Builder
130+ */
131+ readonly resourceTags ?: { [ key : string ] : any } ;
128132}
129133
130134export class ImagePipeline extends Construct {
@@ -181,6 +185,7 @@ export class ImagePipeline extends Construct {
181185 instanceProfileName : profileName ,
182186 name : `${ uid } InfraConfig` ,
183187 description : 'Example Infrastructure Configuration for Image Builder' ,
188+ resourceTags : props . resourceTags ,
184189 instanceTypes : props . instanceTypes ?? [ 't3.medium' , 'm5.large' , 'm5.xlarge' ] ,
185190 snsTopicArn : this . builderSnsTopic . topicArn ,
186191 } ) ;
@@ -189,6 +194,7 @@ export class ImagePipeline extends Construct {
189194 instanceProfileName : profileName ,
190195 name : `${ uid } InfraConfig` ,
191196 description : 'Example Infrastructure Configuration for Image Builder' ,
197+ resourceTags : props . resourceTags ,
192198 instanceTypes : props . instanceTypes ?? [ 't3.medium' , 'm5.large' , 'm5.xlarge' ] ,
193199 snsTopicArn : this . builderSnsTopic . topicArn ,
194200 securityGroupIds : props . securityGroups ,
0 commit comments