Skip to content

Commit

Permalink
put lambda arn in param store
Browse files Browse the repository at this point in the history
  • Loading branch information
docwho2 committed Nov 10, 2023
1 parent cf4a79b commit a1302ec
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ public InfrastructureStack(final Construct parent, final String id, final StackP
// Simple SMA Handler that speaks prompt and hangs up
CfnFunction lambda = new ChimeSMAFunction(this, "sma-lambda");

new StringParameter(this, "LAMBDAARN" , StringParameterProps.builder()
.parameterName("/" + getStackName() + "/LAMBDA_ARN")
.description("The Lambda Arn for the Hello World Lambda")
.stringValue(lambda.getAtt("Arn").toString())
.build());

// SMA pointing to lambda handler
ChimeSipMediaApp sma = new ChimeSipMediaApp(this, lambda.getAtt("Arn"));

Expand Down

0 comments on commit a1302ec

Please sign in to comment.