File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1
1
AWSTemplateFormatVersion : ' 2010-09-09'
2
2
Transform : ' AWS::Serverless-2016-10-31'
3
3
Description : ' 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
4
8
Resources :
5
9
PipelineDashboardEventHandler :
6
10
Type : ' AWS::Serverless::Function'
@@ -23,7 +27,7 @@ Resources:
23
27
Policies :
24
28
- CloudWatchPutMetricPolicy : {}
25
29
- CodePipelineReadOnlyPolicy :
26
- PipelineName : ' * '
30
+ PipelineName : !Ref PipelinePattern
27
31
PipelineDashboardGenerator :
28
32
Type : ' AWS::Serverless::Function'
29
33
Properties :
Original file line number Diff line number Diff line change 1
1
AWSTemplateFormatVersion : ' 2010-09-09'
2
2
Transform : ' AWS::Serverless-2016-10-31'
3
3
Description : ' 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
4
8
Resources :
5
9
PipelineDashboardEventHandler :
6
10
Type : ' AWS::Serverless::Function'
@@ -23,7 +27,7 @@ Resources:
23
27
Policies :
24
28
- CloudWatchPutMetricPolicy : {}
25
29
- CodePipelineReadOnlyPolicy :
26
- PipelineName : ' * '
30
+ PipelineName : !Ref PipelinePattern
27
31
PipelineDashboardGenerator :
28
32
Type : ' AWS::Serverless::Function'
29
33
Properties :
You can’t perform that action at this time.
0 commit comments