new DatabaseClusterFromSnapshot(this, 'cluster', {
snapshotIdentifier: 'aurora-posgress-test-snapshot',
engine: DatabaseClusterEngine.auroraPostgres({ version: AuroraPostgresEngineVersion.VER_15_5 }),
// optional, defaults to m5.large
writer: ClusterInstance.provisioned('writer', {
instanceType: new InstanceType("t3.medium"),
}),
readers: [
ClusterInstance.provisioned('reader', {
instanceType: new InstanceType("t3.medium"),
}),
],
vpc,
vpcSubnets: { subnetType: SubnetType.PRIVATE_ISOLATED },
storageEncrypted: true,
cloudwatchLogsExports: ["postgresql"],
cloudwatchLogsRetention: RetentionDays.ONE_DAY,
});
-
Notifications
You must be signed in to change notification settings - Fork 0
aws-6w8hnx/cdk-rds-aurora-cluster-restore
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published