PostgresEngineVersion

class aws_cdk.aws_rds.PostgresEngineVersion(*args: Any, **kwargs)

Bases: object

The versions for the PostgreSQL instance engines (those returned by DatabaseInstanceEngine.postgres).

ExampleMetadata:

infused

Example:

# vpc: ec2.Vpc

engine = rds.DatabaseInstanceEngine.postgres(version=rds.PostgresEngineVersion.VER_16_3)
my_key = kms.Key(self, "MyKey")

rds.DatabaseInstance(self, "InstanceWithCustomizedSecret",
    engine=engine,
    vpc=vpc,
    credentials=rds.Credentials.from_generated_secret("postgres",
        secret_name="my-cool-name",
        encryption_key=my_key,
        exclude_characters="!&*^#@()",
        replica_regions=[secretsmanager.ReplicaRegion(region="eu-west-1"), secretsmanager.ReplicaRegion(region="eu-west-2")]
    )
)

Attributes

VER_10 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_10_1 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_10_10 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_10_11 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_10_12 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_10_13 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_10_14 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_10_15 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_10_16 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_10_17 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_10_18 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_10_19 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_10_20 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_10_21 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_10_22 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_10_23 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_10_3 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_10_4 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_10_5 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_10_6 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_10_7 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_10_9 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11_1 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11_10 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11_11 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11_12 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11_13 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11_14 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11_15 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11_16 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11_17 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11_18 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11_19 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11_2 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11_20 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11_21 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11_22 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11_22_RDS_20240418 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11_22_RDS_20240509 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11_22_RDS_20240808 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11_4 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11_5 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11_6 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11_7 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11_8 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_11_9 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_12 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_12_10 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_12_11 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_12_12 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_12_13 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_12_14 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_12_15 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_12_16 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_12_17 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_12_18 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_12_19 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_12_2 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_12_20 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_12_21 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_12_3 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_12_4 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_12_5 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_12_6 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_12_7 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_12_8 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_12_9 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_13 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_13_1 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_13_10 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_13_11 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_13_12 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_13_13 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_13_14 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_13_15 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_13_16 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_13_17 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_13_2 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_13_3 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_13_4 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_13_5 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_13_6 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_13_7 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_13_8 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_13_9 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_14 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_14_1 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_14_10 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_14_11 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_14_12 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_14_13 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_14_14 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_14_2 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_14_3 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_14_4 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_14_5 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_14_6 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_14_7 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_14_8 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_14_9 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_15 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_15_2 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_15_3 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_15_4 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_15_5 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_15_6 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_15_7 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_15_8 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_15_9 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_16 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_16_1 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_16_2 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_16_3 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_16_4 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_16_5 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_17 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_17_1 = <aws_cdk.aws_rds.PostgresEngineVersion object>
VER_9_6_24 = <aws_cdk.aws_rds.PostgresEngineVersion object>
postgres_full_version

The full version string, for example, “13.11”.

postgres_major_version

The major version of the engine, for example, “13”.

Static Methods

classmethod of(postgres_full_version, postgres_major_version, *, s3_export=None, s3_import=None)

Create a new PostgresEngineVersion with an arbitrary version.

Parameters:
  • postgres_full_version (str) – the full version string, for example “13.11”.

  • postgres_major_version (str) – the major version of the engine, for example “13”.

  • s3_export (Optional[bool]) – Whether this version of the Postgres engine supports the S3 data export feature. Default: false

  • s3_import (Optional[bool]) – Whether this version of the Postgres engine supports the S3 data import feature. Default: false

Return type:

PostgresEngineVersion