Amazon web services – How to set custom Origin Name in AWS CDK for CloudFront
I'm seaching a way to customize the Origin Name (TargetOriginId) of CloudFront Distributions in AWS CDK. This is my existing code: const backendCloudfront = new cloudfront.CloudFrontWebDistribution(this, 'BackendCF', { originConfigs: [ { s3OriginSource: { s3BucketSource: s3Bucket, originAccessIdentity: oai, }, behaviors: [{isDefaultBehavior:…