Created
May 13, 2020 16:52
-
-
Save gwsu2008/3c4da60aacd74f25ae29dbc3d82f6c50 to your computer and use it in GitHub Desktop.
AWS Cloudformation Custom Resources
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MyCustomResource: | |
DependsOn: SnsTopic | |
Type: "Custom::TestLambdaCrossStackRef" | |
Properties: | |
ServiceToken: !Sub "arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:myTestLambda" | |
StackName: !Ref "AWS::StackName" | |
SnsTopicArn: !Ref SnsTopic | |
SuccessRoleArn: !GetAtt "SnSSuccessfulRole.Arn" | |
FailureRoleArn: !GetAtt "SnSFailedRole.Arn" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment