constructor()

in infra/stack/serverless-stack.ts [10:23]


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

        const table = this.createDdbTable();
        
        const topic = this.createSnsTopic();
        this.createLambdaFunctionTopic(table, topic);

        const bucket = this.createS3Bucket();
        this.createLambdaFunctionBucket(table, bucket);

        const restFunction = this.createLambdaFunctionRest(table);
        this.createApiRest(restFunction);
    }