-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[aws-ec2] The static vars defined in ec2.InterfaceVpcEndpointAwsService do not work in 'cn' regions #11140
Comments
They should be made to work. Thanks for the call-out. |
The solution is probably to go through |
The workaround for this is to provide the prefix in the constructor for a |
Note that this prefix is not consistent across services. Some services have the extra 'cn.' prefix while others do not. It's probably going to be an ugly fix. |
@rix0rrr is it possible to have the CDK project automatically pull in some information? Long-lived things like these prefixes fit nicely in there. |
This was fixed in #16139. |
|
https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-ec2.InterfaceVpcEndpointAwsService.html
There should be a warning to indicate that constants such as InterfaceVpcEndpointAwsService.EC2 won't work in China regions, since the service name has a prefix 'cn.com.amazonaws'
This is a 📕 documentation issue
The text was updated successfully, but these errors were encountered: