Commit b4d182e
authored
Add LayerArn to outputs
This will allow to easily import this layer into other templates or CDK applications:
```ts
const canvasLayer = new CfnApplication(this, 'NodeCanvasLayer", {
location: {
applicationId: "arn:aws:serverlessrepo:us-east-1:990551184979:applications~lambda-layer-canvas-nodejs",
semanticVersion: "2.9.1"
}
}
const nodeCanvasLayerVersion = LayerVersion.fromLayerVersionArn(
this,
"NodeCanvasLayerVersion",
canvasLayer.getAtt("Outputs.LayerVersion").toString()
```1 parent 96eab58 commit b4d182e
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
0 commit comments