class AuroraPostgresEngineVersion
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.RDS.AuroraPostgresEngineVersion |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsrds#AuroraPostgresEngineVersion |
Java | software.amazon.awscdk.services.rds.AuroraPostgresEngineVersion |
Python | aws_cdk.aws_rds.AuroraPostgresEngineVersion |
TypeScript (source) | aws-cdk-lib » aws_rds » AuroraPostgresEngineVersion |
The versions for the Aurora PostgreSQL cluster engine (those returned by DatabaseClusterEngine.auroraPostgres
).
Example
// Create username and password secret for DB Cluster
const secret = new rds.DatabaseSecret(this, 'AuroraSecret', {
username: 'clusteradmin',
});
// The VPC to place the cluster in
const vpc = new ec2.Vpc(this, 'AuroraVpc');
// Create the serverless cluster, provide all values needed to customise the database.
const cluster = new rds.DatabaseCluster(this, 'AuroraClusterV2', {
engine: rds.DatabaseClusterEngine.auroraPostgres({ version: rds.AuroraPostgresEngineVersion.VER_15_5 }),
credentials: { username: 'clusteradmin' },
clusterIdentifier: 'db-endpoint-test',
writer: rds.ClusterInstance.serverlessV2('writer'),
serverlessV2MinCapacity: 2,
serverlessV2MaxCapacity: 10,
vpc,
defaultDatabaseName: 'demos',
enableDataApi: true, // has to be set to true to enable Data API as not enable by default
});
// Build a data source for AppSync to access the database.
declare const api: appsync.GraphqlApi;
const rdsDS = api.addRdsDataSourceV2('rds', cluster, secret, 'demos');
// Set up a resolver for an RDS query.
rdsDS.createResolver('QueryGetDemosRdsResolver', {
typeName: 'Query',
fieldName: 'getDemosRds',
requestMappingTemplate: appsync.MappingTemplate.fromString(`
{
"version": "2018-05-29",
"statements": [
"SELECT * FROM demos"
]
}
`),
responseMappingTemplate: appsync.MappingTemplate.fromString(`
$utils.toJson($utils.rds.toJsonObject($ctx.result)[0])
`),
});
// Set up a resolver for an RDS mutation.
rdsDS.createResolver('MutationAddDemoRdsResolver', {
typeName: 'Mutation',
fieldName: 'addDemoRds',
requestMappingTemplate: appsync.MappingTemplate.fromString(`
{
"version": "2018-05-29",
"statements": [
"INSERT INTO demos VALUES (:id, :version)",
"SELECT * WHERE id = :id"
],
"variableMap": {
":id": $util.toJson($util.autoId()),
":version": $util.toJson($ctx.args.version)
}
}
`),
responseMappingTemplate: appsync.MappingTemplate.fromString(`
$utils.toJson($utils.rds.toJsonObject($ctx.result)[1][0])
`),
});
Properties
Name | Type | Description |
---|---|---|
aurora | string | The full version string, for example, "9.6.25.1". |
aurora | string | The major version of the engine, for example, "9.6". |
static VER_10_11 | Aurora | Version "10.11". |
static VER_10_12 | Aurora | Version "10.12". |
static VER_10_13 | Aurora | Version "10.13". |
static VER_10_14 | Aurora | Version "10.14". |
static VER_10_16 | Aurora | Version "10.16". |
static VER_10_17 | Aurora | Version "10.17". |
static VER_10_18 | Aurora | Version "10.18". |
static VER_10_19 | Aurora | Version "10.19". |
static VER_10_20 | Aurora | Version "10.20". |
static VER_10_21 | Aurora | Version "10.21". |
static VER_10_4 | Aurora | Version "10.4". |
static VER_10_5 | Aurora | Version "10.5". |
static VER_10_6 | Aurora | Version "10.6". |
static VER_10_7 | Aurora | Version "10.7". |
static VER_11_11 | Aurora | Version "11.11". |
static VER_11_12 | Aurora | Version "11.12". |
static VER_11_13 | Aurora | Version "11.13". |
static VER_11_14 | Aurora | Version "11.14". |
static VER_11_15 | Aurora | Version "11.15". |
static VER_11_16 | Aurora | Version "11.16". |
static VER_11_17 | Aurora | Version "11.17". |
static VER_11_18 | Aurora | Version "11.18". |
static VER_11_19 | Aurora | Version "11.19". |
static VER_11_20 | Aurora | Version "11.20". |
static VER_11_21 | Aurora | Version "11.21". |
static VER_11_4 | Aurora | Version "11.4". |
static VER_11_6 | Aurora | Version "11.6". |
static VER_11_7 | Aurora | Version "11.7". |
static VER_11_8 | Aurora | Version "11.8". |
static VER_11_9 | Aurora | Version "11.9". |
static VER_12_10 | Aurora | Version "12.10". |
static VER_12_11 | Aurora | Version "12.11". |
static VER_12_12 | Aurora | Version "12.12". |
static VER_12_13 | Aurora | Version "12.13". |
static VER_12_14 | Aurora | Version "12.14". |
static VER_12_15 | Aurora | Version "12.15". |
static VER_12_16 | Aurora | Version "12.16". |
static VER_12_17 | Aurora | Version "12.17". |
static VER_12_18 | Aurora | Version "12.18". |
static VER_12_19 | Aurora | Version "12.19". |
static VER_12_4 | Aurora | Version "12.4". |
static VER_12_6 | Aurora | Version "12.6". |
static VER_12_7 | Aurora | Version "12.7". |
static VER_12_8 | Aurora | Version "12.8". |
static VER_12_9 | Aurora | Version "12.9". |
static VER_13_10 | Aurora | Version "13.10". |
static VER_13_11 | Aurora | Version "13.11". |
static VER_13_12 | Aurora | Version "13.12". |
static VER_13_13 | Aurora | Version "13.13". |
static VER_13_14 | Aurora | Version "13.14". |
static VER_13_15 | Aurora | Version "13.15". |
static VER_13_3 | Aurora | Version "13.3". |
static VER_13_4 | Aurora | Version "13.4". |
static VER_13_5 | Aurora | Version "13.5". |
static VER_13_6 | Aurora | Version "13.6". |
static VER_13_7 | Aurora | Version "13.7". |
static VER_13_8 | Aurora | Version "13.8". |
static VER_13_9 | Aurora | Version "13.9". |
static VER_14_10 | Aurora | Version "14.10". |
static VER_14_11 | Aurora | Version "14.11". |
static VER_14_12 | Aurora | Version "14.12". |
static VER_14_3 | Aurora | Version "14.3". |
static VER_14_4 | Aurora | Version "14.4". |
static VER_14_5 | Aurora | Version "14.5". |
static VER_14_6 | Aurora | Version "14.6". |
static VER_14_7 | Aurora | Version "14.7". |
static VER_14_8 | Aurora | Version "14.8". |
static VER_14_9 | Aurora | Version "14.9". |
static VER_15_2 | Aurora | Version "15.2". |
static VER_15_3 | Aurora | Version "15.3". |
static VER_15_4 | Aurora | Version "15.4". |
static VER_15_5 | Aurora | Version "15.5". |
static VER_15_6 | Aurora | Version "15.6". |
static VER_15_7 | Aurora | Version "15.7". |
static VER_16_0 | Aurora | Version "16.0". |
static VER_16_1 | Aurora | Version "16.1". |
static VER_16_2 | Aurora | Version "16.2". |
static VER_16_3 | Aurora | Version "16.3". |
static VER_9_6_11 | Aurora | Version "9.6.11". |
static VER_9_6_12 | Aurora | Version "9.6.12". |
static VER_9_6_16 | Aurora | Version "9.6.16". |
static VER_9_6_17 | Aurora | Version "9.6.17". |
static VER_9_6_18 | Aurora | Version "9.6.18". |
static VER_9_6_19 | Aurora | Version "9.6.19". |
static VER_9_6_22 | Aurora | Version "9.6.22". |
static VER_9_6_8 | Aurora | Version "9.6.8". |
static VER_9_6_9 | Aurora | Version "9.6.9". |
auroraPostgresFullVersion
Type:
string
The full version string, for example, "9.6.25.1".
auroraPostgresMajorVersion
Type:
string
The major version of the engine, for example, "9.6".
static VER_10_11
⚠️ Deprecated: Version 10.11 is no longer supported by Amazon RDS.
Type:
Aurora
Version "10.11".
static VER_10_12
⚠️ Deprecated: Version 10.12 is no longer supported by Amazon RDS.
Type:
Aurora
Version "10.12".
static VER_10_13
⚠️ Deprecated: Version 10.13 is no longer supported by Amazon RDS.
Type:
Aurora
Version "10.13".
static VER_10_14
⚠️ Deprecated: Version 10.14 is no longer supported by Amazon RDS.
Type:
Aurora
Version "10.14".
static VER_10_16
⚠️ Deprecated: Version 10.16 is no longer supported by Amazon RDS.
Type:
Aurora
Version "10.16".
static VER_10_17
⚠️ Deprecated: Version 10.17 is no longer supported by Amazon RDS.
Type:
Aurora
Version "10.17".
static VER_10_18
⚠️ Deprecated: Version 10.18 is no longer supported by Amazon RDS.
Type:
Aurora
Version "10.18".
static VER_10_19
⚠️ Deprecated: Version 10.19 is no longer supported by Amazon RDS.
Type:
Aurora
Version "10.19".
static VER_10_20
⚠️ Deprecated: Version 10.20 is no longer supported by Amazon RDS.
Type:
Aurora
Version "10.20".
static VER_10_21
⚠️ Deprecated: Version 10.21 is no longer supported by Amazon RDS.
Type:
Aurora
Version "10.21".
static VER_10_4
⚠️ Deprecated: Version 10.4 is no longer supported by Amazon RDS.
Type:
Aurora
Version "10.4".
static VER_10_5
⚠️ Deprecated: Version 10.5 is no longer supported by Amazon RDS.
Type:
Aurora
Version "10.5".
static VER_10_6
⚠️ Deprecated: Version 10.6 is no longer supported by Amazon RDS.
Type:
Aurora
Version "10.6".
static VER_10_7
⚠️ Deprecated: Version 10.7 is no longer supported by Amazon RDS.
Type:
Aurora
Version "10.7".
static VER_11_11
⚠️ Deprecated: Version 11.11 is no longer supported by Amazon RDS.
Type:
Aurora
Version "11.11".
static VER_11_12
⚠️ Deprecated: Version 11.12 is no longer supported by Amazon RDS.
Type:
Aurora
Version "11.12".
static VER_11_13
⚠️ Deprecated: Version 11.13 is no longer supported by Amazon RDS.
Type:
Aurora
Version "11.13".
static VER_11_14
⚠️ Deprecated: Version 11.14 is no longer supported by Amazon RDS.
Type:
Aurora
Version "11.14".
static VER_11_15
⚠️ Deprecated: Version 11.15 is no longer supported by Amazon RDS.
Type:
Aurora
Version "11.15".
static VER_11_16
⚠️ Deprecated: Version 11.16 is no longer supported by Amazon RDS.
Type:
Aurora
Version "11.16".
static VER_11_17
⚠️ Deprecated: Version 11.17 is no longer supported by Amazon RDS.
Type:
Aurora
Version "11.17".
static VER_11_18
⚠️ Deprecated: Version 11.18 is no longer supported by Amazon RDS.
Type:
Aurora
Version "11.18".
static VER_11_19
⚠️ Deprecated: Version 11.19 is no longer supported by Amazon RDS.
Type:
Aurora
Version "11.19".
static VER_11_20
⚠️ Deprecated: Version 11.20 is no longer supported by Amazon RDS.
Type:
Aurora
Version "11.20".
static VER_11_21
Type:
Aurora
Version "11.21".
static VER_11_4
⚠️ Deprecated: Version 11.4 is no longer supported by Amazon RDS.
Type:
Aurora
Version "11.4".
static VER_11_6
⚠️ Deprecated: Version 11.6 is no longer supported by Amazon RDS.
Type:
Aurora
Version "11.6".
static VER_11_7
⚠️ Deprecated: Version 11.7 is no longer supported by Amazon RDS.
Type:
Aurora
Version "11.7".
static VER_11_8
⚠️ Deprecated: Version 11.8 is no longer supported by Amazon RDS.
Type:
Aurora
Version "11.8".
static VER_11_9
Type:
Aurora
Version "11.9".
static VER_12_10
⚠️ Deprecated: Version 12.10 is no longer supported by Amazon RDS.
Type:
Aurora
Version "12.10".
static VER_12_11
Type:
Aurora
Version "12.11".
static VER_12_12
Type:
Aurora
Version "12.12".
static VER_12_13
Type:
Aurora
Version "12.13".
static VER_12_14
Type:
Aurora
Version "12.14".
static VER_12_15
Type:
Aurora
Version "12.15".
static VER_12_16
Type:
Aurora
Version "12.16".
static VER_12_17
Type:
Aurora
Version "12.17".
static VER_12_18
Type:
Aurora
Version "12.18".
static VER_12_19
Type:
Aurora
Version "12.19".
static VER_12_4
⚠️ Deprecated: Version 12.4 is no longer supported by Amazon RDS.
Type:
Aurora
Version "12.4".
static VER_12_6
⚠️ Deprecated: Version 12.6 is no longer supported by Amazon RDS.
Type:
Aurora
Version "12.6".
static VER_12_7
⚠️ Deprecated: Version 12.7 is no longer supported by Amazon RDS.
Type:
Aurora
Version "12.7".
static VER_12_8
⚠️ Deprecated: Version 12.8 is no longer supported by Amazon RDS.
Type:
Aurora
Version "12.8".
static VER_12_9
Type:
Aurora
Version "12.9".
static VER_13_10
Type:
Aurora
Version "13.10".
static VER_13_11
Type:
Aurora
Version "13.11".
static VER_13_12
Type:
Aurora
Version "13.12".
static VER_13_13
Type:
Aurora
Version "13.13".
static VER_13_14
Type:
Aurora
Version "13.14".
static VER_13_15
Type:
Aurora
Version "13.15".
static VER_13_3
⚠️ Deprecated: Version 13.3 is no longer supported by Amazon RDS.
Type:
Aurora
Version "13.3".
static VER_13_4
⚠️ Deprecated: Version 13.4 is no longer supported by Amazon RDS.
Type:
Aurora
Version "13.4".
static VER_13_5
⚠️ Deprecated: Version 13.5 is no longer supported by Amazon RDS.
Type:
Aurora
Version "13.5".
static VER_13_6
⚠️ Deprecated: Version 13.6 is no longer supported by Amazon RDS.
Type:
Aurora
Version "13.6".
static VER_13_7
Type:
Aurora
Version "13.7".
static VER_13_8
Type:
Aurora
Version "13.8".
static VER_13_9
Type:
Aurora
Version "13.9".
static VER_14_10
Type:
Aurora
Version "14.10".
static VER_14_11
Type:
Aurora
Version "14.11".
static VER_14_12
Type:
Aurora
Version "14.12".
static VER_14_3
Type:
Aurora
Version "14.3".
static VER_14_4
Type:
Aurora
Version "14.4".
static VER_14_5
Type:
Aurora
Version "14.5".
static VER_14_6
Type:
Aurora
Version "14.6".
static VER_14_7
Type:
Aurora
Version "14.7".
static VER_14_8
Type:
Aurora
Version "14.8".
static VER_14_9
Type:
Aurora
Version "14.9".
static VER_15_2
Type:
Aurora
Version "15.2".
static VER_15_3
Type:
Aurora
Version "15.3".
static VER_15_4
Type:
Aurora
Version "15.4".
static VER_15_5
Type:
Aurora
Version "15.5".
static VER_15_6
Type:
Aurora
Version "15.6".
static VER_15_7
Type:
Aurora
Version "15.7".
static VER_16_0
⚠️ Deprecated: Version 16.0 is no longer supported by Amazon RDS.
Type:
Aurora
Version "16.0".
static VER_16_1
Type:
Aurora
Version "16.1".
static VER_16_2
Type:
Aurora
Version "16.2".
static VER_16_3
Type:
Aurora
Version "16.3".
static VER_9_6_11
⚠️ Deprecated: Version 9.6.11 is no longer supported by Amazon RDS.
Type:
Aurora
Version "9.6.11".
static VER_9_6_12
⚠️ Deprecated: Version 9.6.12 is no longer supported by Amazon RDS.
Type:
Aurora
Version "9.6.12".
static VER_9_6_16
⚠️ Deprecated: Version 9.6.16 is no longer supported by Amazon RDS.
Type:
Aurora
Version "9.6.16".
static VER_9_6_17
⚠️ Deprecated: Version 9.6.17 is no longer supported by Amazon RDS.
Type:
Aurora
Version "9.6.17".
static VER_9_6_18
⚠️ Deprecated: Version 9.6.18 is no longer supported by Amazon RDS.
Type:
Aurora
Version "9.6.18".
static VER_9_6_19
⚠️ Deprecated: Version 9.6.19 is no longer supported by Amazon RDS.
Type:
Aurora
Version "9.6.19".
static VER_9_6_22
⚠️ Deprecated: Version 9.6.22 is no longer supported by Amazon RDS.
Type:
Aurora
Version "9.6.22".
static VER_9_6_8
⚠️ Deprecated: Version 9.6.8 is no longer supported by Amazon RDS.
Type:
Aurora
Version "9.6.8".
static VER_9_6_9
⚠️ Deprecated: Version 9.6.9 is no longer supported by Amazon RDS.
Type:
Aurora
Version "9.6.9".
Methods
Name | Description |
---|---|
static of(auroraPostgresFullVersion, auroraPostgresMajorVersion, auroraPostgresFeatures?) | Create a new AuroraPostgresEngineVersion with an arbitrary version. |
static of(auroraPostgresFullVersion, auroraPostgresMajorVersion, auroraPostgresFeatures?)
public static of(auroraPostgresFullVersion: string, auroraPostgresMajorVersion: string, auroraPostgresFeatures?: AuroraPostgresEngineFeatures): AuroraPostgresEngineVersion
Parameters
- auroraPostgresFullVersion
string
— the full version string, for example "9.6.25.1". - auroraPostgresMajorVersion
string
— the major version of the engine, for example "9.6". - auroraPostgresFeatures
Aurora
Postgres Engine Features
Returns
Create a new AuroraPostgresEngineVersion with an arbitrary version.