4

I'm building a CodePipeline stack using CloudFormation. Everything works flawlessly. One element I am unable to add is the Notification rule using CloudFormation Template and I cannot find any documentation on it apart from the console method.

I tried adding a NotificationArn like this but this doesn't work as I found out it is specific to Manuapproval action.

CodePipelineSNSTopic:
Type: AWS::SNS::Topic
Properties:
  Subscription:
    - Endpoint: !Ref Email
      Protocol: email
.
.
.
- Name: S3Source
      Actions:
        - Name: TemplateSource
          ActionTypeId:
            Category: Source
            Owner: AWS
            Provider: S3
            Version: '1'
          Configuration:
            S3Bucket: !Ref 'S3Bucket'
            S3ObjectKey: !Ref 'SourceS3Key'
            NotificationArn: !Ref CodePipelineSNSTopic
          OutputArtifacts:
            - Name: TemplateSource
          RunOrder: '1'

Is there a documentation that I am unable to find? Please help me

1 Answer 1

8

CodePipeline notifiacations are handled and setup using

The events supported and which should be used in the rule are described in:

Sign up to request clarification or add additional context in comments.

2 Comments

@RedBottle No problem. I was also scratching my head when they introduced these notifications :-)
Thank you. I am looking for this too. How difficult it is for AWS to just add a sentence in codepipeline cfn to point us to codestar...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.