constructor()

in lib/template/construct/base/base-construct.ts [42:65]


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

        this.stackConfig = props.stackConfig;
        this.commonProps = props;
        this.projectPrefix = props.projectPrefix;

        this.commonHelper = new CommonHelper({
            construct: this,
            env: this.commonProps.env!,
            stackName: this.commonProps.stackName,
            projectPrefix: this.projectPrefix,
            variables: this.commonProps.variables
        });

        this.commonGuardian = new CommonGuardian({
            construct: this,
            env: this.commonProps.env!,
            stackName: this.commonProps.stackName,
            projectPrefix: this.projectPrefix,
            variables: this.commonProps.variables
        });

    }