Skip to content

Commit 247da7a

Browse files
author
Michele De Simone
committed
PN-2051 microservices dashboard
1 parent 32fd768 commit 247da7a

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

scripts/aws/cfn/microservice.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,3 +160,20 @@ Resources:
160160
WAFRuleVendors: "AWS, AWS, AWS, AWS"
161161
WAFRuleNames: "AWSManagedRulesBotControlRuleSet, AWSManagedRulesKnownBadInputsRuleSet, AWSManagedRulesAdminProtectionRuleSet, AWSManagedRulesCommonRuleSet"
162162
APIGatewayARNs: !GetAtt MandateMicroservicePublicWebAPI.Outputs.APIGatewayARN
163+
164+
MandateMicroserviceCloudWatchDashboard:
165+
Type: AWS::CloudFormation::Stack
166+
Properties:
167+
TemplateURL: !Sub "${TemplateBucketBaseUrl}/fragments/microservice-cloudwatch-dashboard.yaml"
168+
Parameters:
169+
DashboardName: !Sub "${ProjectName}-mandate"
170+
DynamoDBArns: !Join
171+
- ','
172+
- - !Ref MandatesDynamoTableArn
173+
- !Ref MandatesDynamoTableHistoryArn
174+
RestApiStageArns: !Join
175+
- ','
176+
- - !GetAtt MandateMicroservicePublicWebAPI.Outputs.RestApiStageArn
177+
RestApiNames: !Join
178+
- ','
179+
- - !GetAtt MandateMicroservicePublicWebAPI.Outputs.RestApiName

0 commit comments

Comments
 (0)