File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ Parameters:
2323 GlueConnection :
2424 Description : " Name of glue connection storing connection details for Federated Data source."
2525 Type : String
26- LambdaRole :
26+ LambdaRoleArn :
2727 Description : " (Optional) A custom role to be used by the Connector lambda"
2828 Type : String
2929 Default : " "
@@ -34,7 +34,7 @@ Parameters:
3434
3535Conditions :
3636 HasKmsKeyId : !Not [!Equals [!Ref KmsKeyId, ""]]
37- NotHasLambdaRole : !Equals [!Ref LambdaRole , ""]
37+ NotHasLambdaRole : !Equals [!Ref LambdaRoleArn , ""]
3838 CreateKmsPolicy : !And [ !Condition HasKmsKeyId, !Condition NotHasLambdaRole ]
3939 IsRegionBAH : !Equals [!Ref "AWS::Region", "me-south-1"]
4040 IsRegionHKG : !Equals [!Ref "AWS::Region", "ap-east-1"]
@@ -56,7 +56,7 @@ Resources:
5656 Description : " Enables Amazon Athena to communicate with Cloudwatch, making your log accessible via SQL"
5757 Timeout : 900
5858 MemorySize : 3008
59- Role : !If [NotHasLambdaRole, !GetAtt FunctionRole.Arn, !Ref LambdaRole ]
59+ Role : !If [NotHasLambdaRole, !GetAtt FunctionRole.Arn, !Ref LambdaRoleArn ]
6060
6161 FunctionRole :
6262 Condition : NotHasLambdaRole
You can’t perform that action at this time.
0 commit comments