AwsRdsProxyTargetReference
interface AwsRdsProxyTargetReference {
cluster: Cluster;
engine: 'aurora-mysql' | 'aurora-postgresql';
}Typed Aurora cluster target for an RDS Proxy.
Remarks
The plain engine literal is required because the provider cluster's engine output cannot be inspected synchronously during preview. Managed clusters expose this shape through AwsRds.proxyTargetReference.
Example
CODE
import * as aws from '@pulumi/aws';
const buildTarget = (cluster: aws.rds.Cluster): AwsRdsProxyTargetReference => ({
cluster,
engine: 'aurora-postgresql',
});Properties
cluster: Cluster
Aurora cluster reached by this proxy.
engine: 'aurora-mysql' | 'aurora-postgresql'
Plain target Aurora engine used to validate engineFamily before resource creation.