@daysmart/cdk-pipeline
v1.4.1
Published
CodePipeline that uses includes a build step and will send build artifacts to S3 to multiple AWS accounts for deployment.
Maintainers
Keywords
Readme
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 template
Construct Parameters
| Parameter | Type | Description |
| ------------------------ | ------------------------ | ---------------------------- |
| repoName | string | Repository name |
| repoOwner | string | Owner of the repository |
| branch | string | Branch name for the pipeline |
| artifactBucket | s3:IBucket | S3 bucket in Shared Services account for artifacts |
| codeStartConnectionArn | string | ARN of CodeStart connection |
| services | Array<string> | (Optional) list of services in repo |
| testAccounts | Array<AWSTestAccounts> | List of AWS accounts to deploy artifacts to |
AWSTestAccount properties
| Parameter | Type | Description |
| ------------------------ | ------------------------ | ---------------------------- |
| name | string | Human readable name for AWS account |
| codeBucket | s3:IBucket | S3 bucket to send code artifacts to |
| crossAccountRole | iam:IRole | IAM role needed by CodePipeline to write artifacts cross account |
