In web console I can choose any subdomain I like for my beanstalk environment
How can I achieve this in CDK (typescript)?
This can be set in cnamePrefix
const website_env = new aws_elasticbeanstalk.CfnEnvironment(this, 'Environment', {
cnamePrefix: 'some-sub-domain',
...
}
The complete domain then becomes some-sub-domain.${this.region}.elasticbeanstalk.com