constructor()

in lib/initial-setup/cross-account-iam-stack.ts [10:22]


    constructor(scope: App, id: string, props: StackProps) {
        super(scope, id, props);

        // Create IAM Roles required by CodePipeline
        new CodepipelineIamConstruct(this, 'CodepipelineCloudformationIamRoles', {
            devAccountId: this.node.tryGetContext('devAccId'),
            artifactBucketName: this.node.tryGetContext('codePipelineArtifactBucketName'),
            kmsKeyId: this.node.tryGetContext('keyId'),
            kmsKeyRegion: this.node.tryGetContext('devAccRegion'),
            codePipelineRoleName: this.node.tryGetContext('codePipelineCrossAccountRole'),
            cfnDeployRoleName: this.node.tryGetContext('cloudformationCrossAccountRole')
        })
    }