Wondering whether you can specify and ARN for a database proxy? I see it’s a feature marked as “preview”, and I cant find anything to do with proxies here: https://www.serverless.com/framework/docs/providers/aws/guide/serverless.yml/.
But thought I’de check on this forum incase??
EDIT: serverless seems to auto-magically create this when attaching an IAM Policy for IAM Database Access via a database proxy.
iamRoleStatements: - Effect: Allow Action: - "rds-db:connect" Resource: "arn:aws:rds-db:<region>:<database-arn-id>:dbuser:<proxy-arn-id>/*"