Giter Club home page Giter Club logo

shih / aws-cloudformation-resource-providers-sns Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aws-cloudformation/aws-cloudformation-resource-providers-sns

0.0 0.0 0.0 294 KB

The CloudFormation Resource Provider Package For Amazon Simple Notification Service (Amazon SNS). Amazon SNS is a fully managed messaging service for both application-to-application (A2A) and application-to-person (A2P) communication.

Home Page: https://aws.amazon.com/sns/

License: Apache License 2.0

Java 100.00%

aws-cloudformation-resource-providers-sns's Introduction

The CloudFormation Resource Provider Package For Amazon Simple Notification Service (SNS)

This repository contains AWS-owned resource providers for the AWS::SNS::* namespace. It contains all of the currently supported CloudFormation resources for Amazon Simple Notification Service (SNS).

Users can download the code and deploy the package in an AWS account as a private AWS CloudFormation Registry. To learn how to develop new resource types, see Developing resource types for use in AWS CloudFormation templates. To learn how to develop and deploy custom resources to an AWS account, see Walkthrough: Develop a resource type.

Developing SNS Resources

The CloudFormation CLI (cfn) enables you to modify resource providers, such as this one for SNS, which can then be used in CloudFormation. To learn more, see the CloudFormation CLI reposiotry in GitHub.

Before you start making changes to the SNS resource provider, you need to install the CloudFormation CLI, as a required dependency:

pip3 install cloudformation-cli
pip3 install cloudformation-cli-java-plugin

Now, you're ready to clone this repository and start making the changes that you need. For that, pre-commit is the linter that we use to do code style checks. You can install it by following the Installation Guide. Linting via pre-commit is performed automatically upon commit. The continuous integration also runs these style checks.

# Install the git hook scripts
pre-commit install

Manual options are available, in case you don't need to commit:

# run all hooks on all files, mirrors what the CI runs
pre-commit run --all-files
# run unit tests and coverage checks
mvn verify

Deploying SNS Resources to an AWS Account

After cloning this repository into your local workspace, cd to one of the folders corresponding to the resource you would like to build, for example aws-sns-topic/ for the AWS::SNS::Topic resource.

# cd aws-sns-topic/ (the folder for topic resource)
# clean and build maven package
mvn clean && mvn package
#  run the submit command to register the resource type in an aws region (e.g. us-east-1)
cfn submit -v --region [us-east-1]

For more detailed information on resource submission, see Submit the resource type in the CloudFormation walkthrough.

Official User Guide for SNS Resources in CloudFormation

Contributing

See CONTRIBUTING for more information.

Security

See SECURITY ISSUE NOTIFICATIONS for more information.

License

This library is licensed under the Apache 2.0 License.

aws-cloudformation-resource-providers-sns's People

Contributors

ammokhov avatar aws-ivvladim avatar bpatl avatar ellenliu avatar jpeddicord avatar maha-ou avatar mglbe avatar patmyron avatar praghu1 avatar shih avatar wangzlei avatar willsun214 avatar yangmarc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.