1.4.1 • Published 3 years ago

@daysmart/cdk-pipeline v1.4.1

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

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 build compile typescript to js
  • npm run watch watch for changes and compile
  • npm run test perform the jest unit tests
  • cdk deploy deploy this stack to your default AWS account/region
  • cdk diff compare deployed stack with current state
  • cdk synth emits the synthesized CloudFormation template

    Construct Parameters

    ParameterTypeDescription
    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

    AWSTestAccount properties

    ParameterTypeDescription
    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