-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[SES VPC Endpoints] Incorrect Service Name for HTTPS VPC Endpoints #31669
Comments
This is actually deprecated. I guess we need |
Based on the documentation, the current https://docs.aws.amazon.com/vpc/latest/privatelink/aws-services-privatelink-support.html |
Here's the documentation about HTTPS endpoint. https://docs.aws.amazon.com/general/latest/gr/ses.html . |
@vinmvn unfortunately SES does not support VPC Endpoints for the SES API. The endpoints you mentioned are the public endpoints. In order to use the API you'd need to use the public endpoint or use the SES SMTP option which provides an VPCE. |
Describe the bug
When creating SES VPC endpoints using AWS CDK, the generated endpoints are for
com.amazonaws.ap-southeast-2.email-smtp
, rather than the expectedcom.amazonaws.ap-southeast-2.email
service name, which supports HTTPS for SES.Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
The SES VPC endpoint generated by the CDK should have the service name
com.amazonaws.ap-southeast-2.email
, which corresponds to the HTTPS service, not the SMTP service. TheSES
service endpoint in the CDK is generating an endpoint withcom.amazonaws.ap-southeast-2.email-smtp
, which is incorrect when HTTPS is intended.Current Behavior
The code snippet below creates an SES VPC endpoint in CDK, but the generated resource references the
com.amazonaws.ap-southeast-2.email-smtp
service:The expected resource should reference
com.amazonaws.ap-southeast-2.email
, but instead, the output is:Reproduction Steps
Both of these CDK code generates same serviceName - (
ec2.InterfaceVpcEndpointAwsService.EMAIL_SMTP
andec2.InterfaceVpcEndpointAwsService.SES
)Upon synthesis, both the resources the generated o CloudFormation stack results in same serviceName:
Possible Solution
The CDK should generate the correct service name when
ec2.InterfaceVpcEndpointAwsService.SES
is used. The service name should point to the HTTPS endpointcom.amazonaws.ap-southeast-2.email
, rather than the SMTP service.Additional Information/Context
No response
CDK CLI Version
2.121.1
Framework Version
No response
Node.js Version
v20.17.0
OS
macOS Sonoma 14.5
Language
Python
Language Version
3.10.13
Other information
No response
The text was updated successfully, but these errors were encountered: