constructor()

in cdk/lib/syndication-workflow.ts [25:38]


    constructor(scope: cdk.Construct, id: string, props: SyndicationStackProps) {
        super(scope, id, props);
        this.mediaConvertEndpointURL = props.MediaConvertEndpointURL;
        this.partnerACEDestinationBucketName = `${props.BucketPrefix}.partner.ace`;

        this.sourceBucket = new s3.Bucket(this, "SourceFiles", {
            bucketName: `${props.BucketPrefix}.source`
        });

        const stateMachine: sfn.StateMachine = this.createStateMachine();

        this.setupLambdaForS3Events(stateMachine);
        this.setupLambdaToHandleFinishedTranscoding(stateMachine);
    }