cdk-rds-sql
Version:
A CDK construct that allows creating roles or users and databases on Aurora Serverless PostgreSQL or MySQL/MariaDB clusters, as well as AWS DSQL clusters.
21 lines (20 loc) • 563 B
TypeScript
import { CustomResource } from "aws-cdk-lib";
import { Construct } from "constructs";
import { IProvider } from "./provider";
export interface IamGrantProps {
/**
* Provider.
*/
readonly provider: IProvider;
/**
* Database role name to grant IAM access to.
*/
readonly roleName: string;
/**
* IAM resource ARN (role, user, or other IAM principal).
*/
readonly resourceArn: string;
}
export declare class IamGrant extends CustomResource {
constructor(scope: Construct, id: string, props: IamGrantProps);
}