constructor()

in lib/component-resources-stack.ts [51:66]


  constructor(scope: cdk.Construct, id: string, props: ComponentStageProps) {
    super(scope, id, props);

    // The starting point of your component resource stack(s)
    // props.deploymentId contains the deployment id
    // props.deploymentType contains the deployment type (silo or pool)

    new DemoApprunnerStack(this, props.deploymentId, {
      stackName: props.deploymentType + '-' + props.deploymentId + '-resources',
      deploymentId: props.deploymentId,
      deploymentType: props.deploymentType,
    });

    // Additional stacks can be defined here, in case your
    // component is composed out of more than one stack
  }