Class AuroraPostgresEngineVersion
The versions for the Aurora PostgreSQL cluster engine (those returned by DatabaseClusterEngine.auroraPostgres
).
Inheritance
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AuroraPostgresEngineVersion : DeputyBase
Syntax (vb)
Public Class AuroraPostgresEngineVersion
Inherits DeputyBase
Remarks
ExampleMetadata: infused
Examples
// Build a data source for AppSync to access the database.
GraphqlApi api;
// Create username and password secret for DB Cluster
var secret = new DatabaseSecret(this, "AuroraSecret", new DatabaseSecretProps {
Username = "clusteradmin"
});
// The VPC to place the cluster in
var vpc = new Vpc(this, "AuroraVpc");
// Create the serverless cluster, provide all values needed to customise the database.
var cluster = new DatabaseCluster(this, "AuroraClusterV2", new DatabaseClusterProps {
Engine = DatabaseClusterEngine.AuroraPostgres(new AuroraPostgresClusterEngineProps { Version = AuroraPostgresEngineVersion.VER_15_5 }),
Credentials = new Dictionary<string, string> { { "username", "clusteradmin" } },
ClusterIdentifier = "db-endpoint-test",
Writer = ClusterInstance.ServerlessV2("writer"),
ServerlessV2MinCapacity = 2,
ServerlessV2MaxCapacity = 10,
Vpc = vpc,
DefaultDatabaseName = "demos",
EnableDataApi = true
});
var rdsDS = api.AddRdsDataSourceV2("rds", cluster, secret, "demos");
// Set up a resolver for an RDS query.
rdsDS.CreateResolver("QueryGetDemosRdsResolver", new BaseResolverProps {
TypeName = "Query",
FieldName = "getDemosRds",
RequestMappingTemplate = MappingTemplate.FromString(@"
{
""version"": ""2018-05-29"",
""statements"": [
""SELECT * FROM demos""
]
}
"),
ResponseMappingTemplate = MappingTemplate.FromString(@"
$utils.toJson($utils.rds.toJsonObject($ctx.result)[0])
")
});
// Set up a resolver for an RDS mutation.
rdsDS.CreateResolver("MutationAddDemoRdsResolver", new BaseResolverProps {
TypeName = "Mutation",
FieldName = "addDemoRds",
RequestMappingTemplate = 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 = MappingTemplate.FromString(@"
$utils.toJson($utils.rds.toJsonObject($ctx.result)[1][0])
")
});
Synopsis
Constructors
AuroraPostgresEngineVersion(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
AuroraPostgresEngineVersion(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AuroraPostgresFullVersion | The full version string, for example, "9.6.25.1". |
AuroraPostgresMajorVersion | The major version of the engine, for example, "9.6". |
VER_10_11 | (deprecated) Version "10.11". |
VER_10_12 | (deprecated) Version "10.12". |
VER_10_13 | (deprecated) Version "10.13". |
VER_10_14 | (deprecated) Version "10.14". |
VER_10_16 | (deprecated) Version "10.16". |
VER_10_17 | (deprecated) Version "10.17". |
VER_10_18 | (deprecated) Version "10.18". |
VER_10_19 | (deprecated) Version "10.19". |
VER_10_20 | (deprecated) Version "10.20". |
VER_10_21 | (deprecated) Version "10.21". |
VER_10_4 | (deprecated) Version "10.4". |
VER_10_5 | (deprecated) Version "10.5". |
VER_10_6 | (deprecated) Version "10.6". |
VER_10_7 | (deprecated) Version "10.7". |
VER_11_11 | (deprecated) Version "11.11". |
VER_11_12 | (deprecated) Version "11.12". |
VER_11_13 | (deprecated) Version "11.13". |
VER_11_14 | (deprecated) Version "11.14". |
VER_11_15 | (deprecated) Version "11.15". |
VER_11_16 | (deprecated) Version "11.16". |
VER_11_17 | (deprecated) Version "11.17". |
VER_11_18 | (deprecated) Version "11.18". |
VER_11_19 | (deprecated) Version "11.19". |
VER_11_20 | (deprecated) Version "11.20". |
VER_11_21 | Version "11.21". |
VER_11_4 | (deprecated) Version "11.4". |
VER_11_6 | (deprecated) Version "11.6". |
VER_11_7 | (deprecated) Version "11.7". |
VER_11_8 | (deprecated) Version "11.8". |
VER_11_9 | Version "11.9". |
VER_12_10 | (deprecated) Version "12.10". |
VER_12_11 | Version "12.11". |
VER_12_12 | Version "12.12". |
VER_12_13 | Version "12.13". |
VER_12_14 | Version "12.14". |
VER_12_15 | Version "12.15". |
VER_12_16 | Version "12.16". |
VER_12_17 | Version "12.17". |
VER_12_18 | Version "12.18". |
VER_12_19 | Version "12.19". |
VER_12_20 | Version "12.20". |
VER_12_4 | (deprecated) Version "12.4". |
VER_12_6 | (deprecated) Version "12.6". |
VER_12_7 | (deprecated) Version "12.7". |
VER_12_8 | (deprecated) Version "12.8". |
VER_12_9 | Version "12.9". |
VER_13_10 | Version "13.10". |
VER_13_11 | Version "13.11". |
VER_13_12 | Version "13.12". |
VER_13_13 | Version "13.13". |
VER_13_14 | Version "13.14". |
VER_13_15 | Version "13.15". |
VER_13_16 | Version "13.16". |
VER_13_3 | (deprecated) Version "13.3". |
VER_13_4 | (deprecated) Version "13.4". |
VER_13_5 | (deprecated) Version "13.5". |
VER_13_6 | (deprecated) Version "13.6". |
VER_13_7 | Version "13.7". |
VER_13_8 | Version "13.8". |
VER_13_9 | Version "13.9". |
VER_14_10 | Version "14.10". |
VER_14_11 | Version "14.11". |
VER_14_12 | Version "14.12". |
VER_14_13 | Version "14.13". |
VER_14_3 | Version "14.3". |
VER_14_4 | Version "14.4". |
VER_14_5 | Version "14.5". |
VER_14_6 | Version "14.6". |
VER_14_7 | Version "14.7". |
VER_14_8 | Version "14.8". |
VER_14_9 | Version "14.9". |
VER_15_2 | Version "15.2". |
VER_15_3 | Version "15.3". |
VER_15_4 | Version "15.4". |
VER_15_5 | Version "15.5". |
VER_15_6 | Version "15.6". |
VER_15_7 | Version "15.7". |
VER_15_8 | Version "15.8". |
VER_16_0 | (deprecated) Version "16.0". |
VER_16_1 | Version "16.1". |
VER_16_2 | Version "16.2". |
VER_16_3 | Version "16.3". |
VER_16_4 | Version "16.4". |
VER_9_6_11 | (deprecated) Version "9.6.11". |
VER_9_6_12 | (deprecated) Version "9.6.12". |
VER_9_6_16 | (deprecated) Version "9.6.16". |
VER_9_6_17 | (deprecated) Version "9.6.17". |
VER_9_6_18 | (deprecated) Version "9.6.18". |
VER_9_6_19 | (deprecated) Version "9.6.19". |
VER_9_6_22 | (deprecated) Version "9.6.22". |
VER_9_6_8 | (deprecated) Version "9.6.8". |
VER_9_6_9 | (deprecated) Version "9.6.9". |
Methods
Of(String, String, IAuroraPostgresEngineFeatures) | Create a new AuroraPostgresEngineVersion with an arbitrary version. |
Constructors
AuroraPostgresEngineVersion(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected AuroraPostgresEngineVersion(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
AuroraPostgresEngineVersion(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected AuroraPostgresEngineVersion(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AuroraPostgresFullVersion
The full version string, for example, "9.6.25.1".
public virtual string AuroraPostgresFullVersion { get; }
Property Value
System.String
AuroraPostgresMajorVersion
The major version of the engine, for example, "9.6".
public virtual string AuroraPostgresMajorVersion { get; }
Property Value
System.String
VER_10_11
(deprecated) Version "10.11".
public static AuroraPostgresEngineVersion VER_10_11 { get; }
Property Value
Remarks
Stability: Deprecated
VER_10_12
(deprecated) Version "10.12".
public static AuroraPostgresEngineVersion VER_10_12 { get; }
Property Value
Remarks
Stability: Deprecated
VER_10_13
(deprecated) Version "10.13".
public static AuroraPostgresEngineVersion VER_10_13 { get; }
Property Value
Remarks
Stability: Deprecated
VER_10_14
(deprecated) Version "10.14".
public static AuroraPostgresEngineVersion VER_10_14 { get; }
Property Value
Remarks
Stability: Deprecated
VER_10_16
(deprecated) Version "10.16".
public static AuroraPostgresEngineVersion VER_10_16 { get; }
Property Value
Remarks
Stability: Deprecated
VER_10_17
(deprecated) Version "10.17".
public static AuroraPostgresEngineVersion VER_10_17 { get; }
Property Value
Remarks
Stability: Deprecated
VER_10_18
(deprecated) Version "10.18".
public static AuroraPostgresEngineVersion VER_10_18 { get; }
Property Value
Remarks
Stability: Deprecated
VER_10_19
(deprecated) Version "10.19".
public static AuroraPostgresEngineVersion VER_10_19 { get; }
Property Value
Remarks
Stability: Deprecated
VER_10_20
(deprecated) Version "10.20".
public static AuroraPostgresEngineVersion VER_10_20 { get; }
Property Value
Remarks
Stability: Deprecated
VER_10_21
(deprecated) Version "10.21".
public static AuroraPostgresEngineVersion VER_10_21 { get; }
Property Value
Remarks
Stability: Deprecated
VER_10_4
(deprecated) Version "10.4".
public static AuroraPostgresEngineVersion VER_10_4 { get; }
Property Value
Remarks
Stability: Deprecated
VER_10_5
(deprecated) Version "10.5".
public static AuroraPostgresEngineVersion VER_10_5 { get; }
Property Value
Remarks
Stability: Deprecated
VER_10_6
(deprecated) Version "10.6".
public static AuroraPostgresEngineVersion VER_10_6 { get; }
Property Value
Remarks
Stability: Deprecated
VER_10_7
(deprecated) Version "10.7".
public static AuroraPostgresEngineVersion VER_10_7 { get; }
Property Value
Remarks
Stability: Deprecated
VER_11_11
(deprecated) Version "11.11".
public static AuroraPostgresEngineVersion VER_11_11 { get; }
Property Value
Remarks
Stability: Deprecated
VER_11_12
(deprecated) Version "11.12".
public static AuroraPostgresEngineVersion VER_11_12 { get; }
Property Value
Remarks
Stability: Deprecated
VER_11_13
(deprecated) Version "11.13".
public static AuroraPostgresEngineVersion VER_11_13 { get; }
Property Value
Remarks
Stability: Deprecated
VER_11_14
(deprecated) Version "11.14".
public static AuroraPostgresEngineVersion VER_11_14 { get; }
Property Value
Remarks
Stability: Deprecated
VER_11_15
(deprecated) Version "11.15".
public static AuroraPostgresEngineVersion VER_11_15 { get; }
Property Value
Remarks
Stability: Deprecated
VER_11_16
(deprecated) Version "11.16".
public static AuroraPostgresEngineVersion VER_11_16 { get; }
Property Value
Remarks
Stability: Deprecated
VER_11_17
(deprecated) Version "11.17".
public static AuroraPostgresEngineVersion VER_11_17 { get; }
Property Value
Remarks
Stability: Deprecated
VER_11_18
(deprecated) Version "11.18".
public static AuroraPostgresEngineVersion VER_11_18 { get; }
Property Value
Remarks
Stability: Deprecated
VER_11_19
(deprecated) Version "11.19".
public static AuroraPostgresEngineVersion VER_11_19 { get; }
Property Value
Remarks
Stability: Deprecated
VER_11_20
(deprecated) Version "11.20".
public static AuroraPostgresEngineVersion VER_11_20 { get; }
Property Value
Remarks
Stability: Deprecated
VER_11_21
Version "11.21".
public static AuroraPostgresEngineVersion VER_11_21 { get; }
Property Value
VER_11_4
(deprecated) Version "11.4".
public static AuroraPostgresEngineVersion VER_11_4 { get; }
Property Value
Remarks
Stability: Deprecated
VER_11_6
(deprecated) Version "11.6".
public static AuroraPostgresEngineVersion VER_11_6 { get; }
Property Value
Remarks
Stability: Deprecated
VER_11_7
(deprecated) Version "11.7".
public static AuroraPostgresEngineVersion VER_11_7 { get; }
Property Value
Remarks
Stability: Deprecated
VER_11_8
(deprecated) Version "11.8".
public static AuroraPostgresEngineVersion VER_11_8 { get; }
Property Value
Remarks
Stability: Deprecated
VER_11_9
Version "11.9".
public static AuroraPostgresEngineVersion VER_11_9 { get; }
Property Value
VER_12_10
(deprecated) Version "12.10".
public static AuroraPostgresEngineVersion VER_12_10 { get; }
Property Value
Remarks
Stability: Deprecated
VER_12_11
Version "12.11".
public static AuroraPostgresEngineVersion VER_12_11 { get; }
Property Value
VER_12_12
Version "12.12".
public static AuroraPostgresEngineVersion VER_12_12 { get; }
Property Value
VER_12_13
Version "12.13".
public static AuroraPostgresEngineVersion VER_12_13 { get; }
Property Value
VER_12_14
Version "12.14".
public static AuroraPostgresEngineVersion VER_12_14 { get; }
Property Value
VER_12_15
Version "12.15".
public static AuroraPostgresEngineVersion VER_12_15 { get; }
Property Value
VER_12_16
Version "12.16".
public static AuroraPostgresEngineVersion VER_12_16 { get; }
Property Value
VER_12_17
Version "12.17".
public static AuroraPostgresEngineVersion VER_12_17 { get; }
Property Value
VER_12_18
Version "12.18".
public static AuroraPostgresEngineVersion VER_12_18 { get; }
Property Value
VER_12_19
Version "12.19".
public static AuroraPostgresEngineVersion VER_12_19 { get; }
Property Value
VER_12_20
Version "12.20".
public static AuroraPostgresEngineVersion VER_12_20 { get; }
Property Value
VER_12_4
(deprecated) Version "12.4".
public static AuroraPostgresEngineVersion VER_12_4 { get; }
Property Value
Remarks
Stability: Deprecated
VER_12_6
(deprecated) Version "12.6".
public static AuroraPostgresEngineVersion VER_12_6 { get; }
Property Value
Remarks
Stability: Deprecated
VER_12_7
(deprecated) Version "12.7".
public static AuroraPostgresEngineVersion VER_12_7 { get; }
Property Value
Remarks
Stability: Deprecated
VER_12_8
(deprecated) Version "12.8".
public static AuroraPostgresEngineVersion VER_12_8 { get; }
Property Value
Remarks
Stability: Deprecated
VER_12_9
Version "12.9".
public static AuroraPostgresEngineVersion VER_12_9 { get; }
Property Value
VER_13_10
Version "13.10".
public static AuroraPostgresEngineVersion VER_13_10 { get; }
Property Value
VER_13_11
Version "13.11".
public static AuroraPostgresEngineVersion VER_13_11 { get; }
Property Value
VER_13_12
Version "13.12".
public static AuroraPostgresEngineVersion VER_13_12 { get; }
Property Value
VER_13_13
Version "13.13".
public static AuroraPostgresEngineVersion VER_13_13 { get; }
Property Value
VER_13_14
Version "13.14".
public static AuroraPostgresEngineVersion VER_13_14 { get; }
Property Value
VER_13_15
Version "13.15".
public static AuroraPostgresEngineVersion VER_13_15 { get; }
Property Value
VER_13_16
Version "13.16".
public static AuroraPostgresEngineVersion VER_13_16 { get; }
Property Value
VER_13_3
(deprecated) Version "13.3".
public static AuroraPostgresEngineVersion VER_13_3 { get; }
Property Value
Remarks
Stability: Deprecated
VER_13_4
(deprecated) Version "13.4".
public static AuroraPostgresEngineVersion VER_13_4 { get; }
Property Value
Remarks
Stability: Deprecated
VER_13_5
(deprecated) Version "13.5".
public static AuroraPostgresEngineVersion VER_13_5 { get; }
Property Value
Remarks
Stability: Deprecated
VER_13_6
(deprecated) Version "13.6".
public static AuroraPostgresEngineVersion VER_13_6 { get; }
Property Value
Remarks
Stability: Deprecated
VER_13_7
Version "13.7".
public static AuroraPostgresEngineVersion VER_13_7 { get; }
Property Value
VER_13_8
Version "13.8".
public static AuroraPostgresEngineVersion VER_13_8 { get; }
Property Value
VER_13_9
Version "13.9".
public static AuroraPostgresEngineVersion VER_13_9 { get; }
Property Value
VER_14_10
Version "14.10".
public static AuroraPostgresEngineVersion VER_14_10 { get; }
Property Value
VER_14_11
Version "14.11".
public static AuroraPostgresEngineVersion VER_14_11 { get; }
Property Value
VER_14_12
Version "14.12".
public static AuroraPostgresEngineVersion VER_14_12 { get; }
Property Value
VER_14_13
Version "14.13".
public static AuroraPostgresEngineVersion VER_14_13 { get; }
Property Value
VER_14_3
Version "14.3".
public static AuroraPostgresEngineVersion VER_14_3 { get; }
Property Value
VER_14_4
Version "14.4".
public static AuroraPostgresEngineVersion VER_14_4 { get; }
Property Value
VER_14_5
Version "14.5".
public static AuroraPostgresEngineVersion VER_14_5 { get; }
Property Value
VER_14_6
Version "14.6".
public static AuroraPostgresEngineVersion VER_14_6 { get; }
Property Value
VER_14_7
Version "14.7".
public static AuroraPostgresEngineVersion VER_14_7 { get; }
Property Value
VER_14_8
Version "14.8".
public static AuroraPostgresEngineVersion VER_14_8 { get; }
Property Value
VER_14_9
Version "14.9".
public static AuroraPostgresEngineVersion VER_14_9 { get; }
Property Value
VER_15_2
Version "15.2".
public static AuroraPostgresEngineVersion VER_15_2 { get; }
Property Value
VER_15_3
Version "15.3".
public static AuroraPostgresEngineVersion VER_15_3 { get; }
Property Value
VER_15_4
Version "15.4".
public static AuroraPostgresEngineVersion VER_15_4 { get; }
Property Value
VER_15_5
Version "15.5".
public static AuroraPostgresEngineVersion VER_15_5 { get; }
Property Value
VER_15_6
Version "15.6".
public static AuroraPostgresEngineVersion VER_15_6 { get; }
Property Value
VER_15_7
Version "15.7".
public static AuroraPostgresEngineVersion VER_15_7 { get; }
Property Value
VER_15_8
Version "15.8".
public static AuroraPostgresEngineVersion VER_15_8 { get; }
Property Value
VER_16_0
(deprecated) Version "16.0".
public static AuroraPostgresEngineVersion VER_16_0 { get; }
Property Value
Remarks
Stability: Deprecated
VER_16_1
Version "16.1".
public static AuroraPostgresEngineVersion VER_16_1 { get; }
Property Value
VER_16_2
Version "16.2".
public static AuroraPostgresEngineVersion VER_16_2 { get; }
Property Value
VER_16_3
Version "16.3".
public static AuroraPostgresEngineVersion VER_16_3 { get; }
Property Value
VER_16_4
Version "16.4".
public static AuroraPostgresEngineVersion VER_16_4 { get; }
Property Value
VER_9_6_11
(deprecated) Version "9.6.11".
public static AuroraPostgresEngineVersion VER_9_6_11 { get; }
Property Value
Remarks
Stability: Deprecated
VER_9_6_12
(deprecated) Version "9.6.12".
public static AuroraPostgresEngineVersion VER_9_6_12 { get; }
Property Value
Remarks
Stability: Deprecated
VER_9_6_16
(deprecated) Version "9.6.16".
public static AuroraPostgresEngineVersion VER_9_6_16 { get; }
Property Value
Remarks
Stability: Deprecated
VER_9_6_17
(deprecated) Version "9.6.17".
public static AuroraPostgresEngineVersion VER_9_6_17 { get; }
Property Value
Remarks
Stability: Deprecated
VER_9_6_18
(deprecated) Version "9.6.18".
public static AuroraPostgresEngineVersion VER_9_6_18 { get; }
Property Value
Remarks
Stability: Deprecated
VER_9_6_19
(deprecated) Version "9.6.19".
public static AuroraPostgresEngineVersion VER_9_6_19 { get; }
Property Value
Remarks
Stability: Deprecated
VER_9_6_22
(deprecated) Version "9.6.22".
public static AuroraPostgresEngineVersion VER_9_6_22 { get; }
Property Value
Remarks
Stability: Deprecated
VER_9_6_8
(deprecated) Version "9.6.8".
public static AuroraPostgresEngineVersion VER_9_6_8 { get; }
Property Value
Remarks
Stability: Deprecated
VER_9_6_9
(deprecated) Version "9.6.9".
public static AuroraPostgresEngineVersion VER_9_6_9 { get; }
Property Value
Remarks
Stability: Deprecated
Methods
Of(String, String, IAuroraPostgresEngineFeatures)
Create a new AuroraPostgresEngineVersion with an arbitrary version.
public static AuroraPostgresEngineVersion Of(string auroraPostgresFullVersion, string auroraPostgresMajorVersion, IAuroraPostgresEngineFeatures auroraPostgresFeatures = null)
Parameters
- auroraPostgresFullVersion System.String
the full version string, for example "9.6.25.1".
- auroraPostgresMajorVersion System.String
the major version of the engine, for example "9.6".
- auroraPostgresFeatures IAuroraPostgresEngineFeatures
the full version string, for example "9.6.25.1".
Returns