class CfnDBCluster missing EnableHttpEndpoint property
See original GitHub issueAllow setting EnableHttpEndpoint
boolean-property for CfnDBCluster
in RDS module.
Use Case
We need this feature for configuring Aurora Serverless cluster with Data API.
Currently we have to solve this by using hacky CloudFormation custom resource which invokes a Python Lambda function where Boto3 enables the Data API:
client = boto3.client('rds')
client.modify_db_cluster(
DBClusterIdentifier=database_cluster_identifier,
EnableHttpEndpoint=True
)
This feels completely unnecessary and it’s also error-prone.
Proposed Solution
CloudFormation released support for EnableHttpEndpoint
in November 21st 2019:
As EnableHttpEndpoint
is now available in CloudFormation for AWS::RDS::DBCluster
resource it’d be nice if that same property would be available for CDK’s CfnDBCluster
class.
This would allow people to get rid of hacky and error-prone CloudFormation custom resources that are only used for enabling the Data API.
- 👋 I may be able to implement this feature request
This is a 🚀 Feature Request
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top GitHub Comments
Actually, it was done here: https://github.com/aws/aws-cdk/pull/5297/files?file-filters[]=.json#diff-8e1268ed8f9bcc6e8d19f5283fcd7779R46731
Just waiting on the latest release
1.19.0
to have it available.Cool, thanks for checking @metaskills . Resolving.