0.1.0 • Published 5 years ago
adsecure-infra-aws v0.1.0
AWS infra
This package holds AWS formulas to deploy parts of the AdSecure infra in AWS cloud provider.
Prerequisites
Install CDK
npm i -g aws-cdkDeploy
ACCOUNT=${ACCOUNT:-218277271359}; REGION=${REGION:-us-east-1}; cdk deploy --profile deployment-2182-7727-1359 ${STAGE:-staging}-cognitoCommands
npm run buildcompile typescript to jsnpm run watchwatch for changes and compilenpm run testperform the jest unit testscdk deploydeploy this stack to your default AWS account/regioncdk diffcompare deployed stack with current statecdk synthemits the synthesized CloudFormation template
Constructs
You can use high-level components called constructs, preconfigured with “sensible defaults” that you can customize, to quickly build a new application. The CDK provisions your resources using AWS CloudFormation to get all the benefits of managing your infrastructure as code.
There are some vailable at https://docs.aws.amazon.com/solutions/latest/constructs/api-reference.html
You should explore the contents of this project. It demonstrates a CDK app with an instance of a stack (AwsStack)
which contains an Amazon SQS queue that is subscribed to an Amazon SNS topic.
The cdk.json file tells the CDK Toolkit how to execute your app.
0.1.0
5 years ago