MCPcopy Create free account
hub / github.com/aws-samples/micro-frontends-on-aws / constructor

Method constructor

cdk/lib/coderepo-stack.ts:11–21  ·  view source on GitHub ↗
(scope: Construct, id: string, props: CodeRepoStackProps)

Source from the content-addressed store, hash-verified

9
10export class CodeRepoStack extends cdk.Stack {
11 constructor(scope: Construct, id: string, props: CodeRepoStackProps) {
12 super(scope, id, props);
13
14 const repo = new codecommit.Repository(this, 'Repository', {
15 repositoryName: props.appName,
16 code: codecommit.Code.fromDirectory(
17 path.join(__dirname, `../../${props.appName}/`),
18 'main'
19 ),
20 });
21 }
22}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected