aws-cdk-lib.aws_rds.AuroraPostgresClusterEngineProps
interface AuroraPostgresClusterEngineProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.RDS.AuroraPostgresClusterEngineProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsrds#AuroraPostgresClusterEngineProps |
![]() | software.amazon.awscdk.services.rds.AuroraPostgresClusterEngineProps |
![]() | aws_cdk.aws_rds.AuroraPostgresClusterEngineProps |
![]() | aws-cdk-lib » aws_rds » AuroraPostgresClusterEngineProps |
Creation properties of the Aurora PostgreSQL database cluster engine.
Used in DatabaseClusterEngine.auroraPostgres
.
Example
declare const vpc: ec2.Vpc;
const cluster = new rds.DatabaseCluster(this, 'Database', {
engine: rds.DatabaseClusterEngine.auroraPostgres({ version: rds.AuroraPostgresEngineVersion.VER_15_2 }),
credentials: rds.Credentials.fromUsername('adminuser', { password: cdk.SecretValue.unsafePlainText('7959866cacc02c2d243ecfe177464fe6') }),
instanceProps: {
instanceType: ec2.InstanceType.of(ec2.InstanceClass.X2G, ec2.InstanceSize.XLARGE),
vpcSubnets: { subnetType: ec2.SubnetType.PUBLIC },
vpc,
},
storageType: rds.DBClusterStorageType.AURORA_IOPT1,
});
Properties
Name | Type | Description |
---|---|---|
version | Aurora | The version of the Aurora PostgreSQL cluster engine. |
version
Type:
Aurora
The version of the Aurora PostgreSQL cluster engine.