const cluster = new bottle.BottlerocketCluster(this, 'Cluster'); const ami = ssm.StringParameter.valueForStringParameter(this, '/aws/service/bottlerocket/aws-k8s-1.15/x86_64/latest/image_id'); cluster.node.findAll().forEach(s => { if (s instanceof asg.CfnLaunchConfiguration) { const asg = s as asg.CfnLaunchConfiguration; asg.imageId = ami; } });