Interface LifligCdkPipelineProps

interface LifligCdkPipelineProps {
    artifactsBucket: IBucket;
    parametersNamespace?: string;
    pipelineName: string;
    sourceType: "cdk-source" | "cloud-assembly";
}

Properties

artifactsBucket: IBucket

Bucket holding pipeline configuration and trigger file.

parametersNamespace?: string

The namespace used for parameters in Parameter Store.

Only relevant for sourceType of "cdk-soruce".

default
pipelineName: string

Name of pipeline. This is used for the path where configuration is stored in S3.

sourceType: "cdk-source" | "cloud-assembly"

Type of uploaded artifact. This changes the behaviour of the pipeline and what kind of process it performs.

Two types are supported:

  • cdk-source: The uploaded artifact represents a CDK application as source code. A build step will compile this into a CDK Cloud Assembly.

    As part of synthesizing this into a CDK Cloud Assembly, a file "variables.json" will be written for the CDK application to parameterize the build if any variables are found in the pipeline source.

  • cloud-assembly: The uploaded artifact represents a CDK Cloud Assembly which is ready for deployment.

    This does not support reading variables at the current time since CDK Pipelines don't support parameterized deploys. See https://github.com/aws/aws-cdk/issues/9560