constructor()

in lib/component-resources-stack.ts [29:42]


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

    new apprunner.CfnService(this, 'app-runner', {
      sourceConfiguration: {
        imageRepository: {
          imageIdentifier: 'public.ecr.aws/aws-containers/hello-app-runner:latest',
          imageRepositoryType: 'ECR_PUBLIC',
        },
      },
      serviceName: props.deploymentType + '-' + props.deploymentId + '-solution',
    });

  }