File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 11AWSTemplateFormatVersion : ' 2010-09-09'
22Transform : ' AWS::Serverless-2016-10-31'
33Description : ' Create pipeline-dashboard application.'
4+ Parameters :
5+ PipelinePattern :
6+ Description : ' The pattern of pipeline names to allow access to describe. Recommended value: *'
7+ Type : String
48Resources :
59 PipelineDashboardEventHandler :
610 Type : ' AWS::Serverless::Function'
@@ -23,7 +27,7 @@ Resources:
2327 Policies :
2428 - CloudWatchPutMetricPolicy : {}
2529 - CodePipelineReadOnlyPolicy :
26- PipelineName : ' * '
30+ PipelineName : !Ref PipelinePattern
2731 PipelineDashboardGenerator :
2832 Type : ' AWS::Serverless::Function'
2933 Properties :
Original file line number Diff line number Diff line change 11AWSTemplateFormatVersion : ' 2010-09-09'
22Transform : ' AWS::Serverless-2016-10-31'
33Description : ' Create pipeline-dashboard application.'
4+ Parameters :
5+ PipelinePattern :
6+ Description : ' The pattern of pipeline names to allow access to describe. Recommended value: *'
7+ Type : String
48Resources :
59 PipelineDashboardEventHandler :
610 Type : ' AWS::Serverless::Function'
@@ -23,7 +27,7 @@ Resources:
2327 Policies :
2428 - CloudWatchPutMetricPolicy : {}
2529 - CodePipelineReadOnlyPolicy :
26- PipelineName : ' * '
30+ PipelineName : !Ref PipelinePattern
2731 PipelineDashboardGenerator :
2832 Type : ' AWS::Serverless::Function'
2933 Properties :
You can’t perform that action at this time.
0 commit comments