Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | 1x 1x 1x 1x 1x | /*! Copyright [Amazon.com](http://amazon.com/), Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ import { Stack, StackProps } from 'aws-cdk-lib'; import { PDKPipeline } from 'aws-prototyping-sdk/pipeline'; import { Construct } from 'constructs'; export class PipelineStack extends Stack { readonly pipeline: PDKPipeline; constructor(scope: Construct, id: string, props: StackProps) { super(scope, id, props); this.pipeline = new PDKPipeline(this, 'ApplicationPipeline', { primarySynthDirectory: 'packages/infra/cdk.out', repositoryName: this.node.tryGetContext('repositoryName') || 'monorepo', publishAssetsInParallel: false, crossAccountKeys: true, synth: {}, sonarCodeScannerConfig: this.node.tryGetContext('sonarqubeScannerConfig'), }); } } |