1.4.1 • Published 4 years ago
@daysmart/cdk-pipeline v1.4.1
CdkPipeline
CodePipeline that uses includes a build step and will send build artifacts to S3 to multiple AWS accounts for deployment.
The cdk.json file tells the CDK Toolkit how to execute your app.
Useful commands
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 templateConstruct Parameters
Parameter Type Description repoNamestringRepository name repoOwnerstringOwner of the repository branchstringBranch name for the pipeline artifactBuckets3:IBucketS3 bucket in Shared Services account for artifacts codeStartConnectionArnstringARN of CodeStart connection servicesArray<string>(Optional) list of services in repo testAccountsArray<AWSTestAccounts>List of AWS accounts to deploy artifacts to AWSTestAccountpropertiesParameter Type Description namestringHuman readable name for AWS account codeBuckets3:IBucketS3 bucket to send code artifacts to crossAccountRoleiam:IRoleIAM role needed by CodePipeline to write artifacts cross account