CaCertificate

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

Bases: object

The CA certificate used for a DB instance.

See:

https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html

ExampleMetadata:

infused

Example:

# vpc: ec2.Vpc


cluster = docdb.DatabaseCluster(self, "Database",
    master_user=docdb.Login(
        username="myuser"
    ),
    instance_type=ec2.InstanceType.of(ec2.InstanceClass.MEMORY5, ec2.InstanceSize.LARGE),
    vpc_subnets=ec2.SubnetSelection(
        subnet_type=ec2.SubnetType.PUBLIC
    ),
    vpc=vpc,
    ca_certificate=docdb.CaCertificate.RDS_CA_RSA4096_G1
)

Methods

to_string()

Returns the CA certificate identifier as a string.

Return type:

str

Attributes

RDS_CA_2019 = <aws_cdk.aws_rds.CaCertificate object>
RDS_CA_ECC384_G1 = <aws_cdk.aws_rds.CaCertificate object>
RDS_CA_RDS2048_G1 = <aws_cdk.aws_rds.CaCertificate object>
RDS_CA_RDS4096_G1 = <aws_cdk.aws_rds.CaCertificate object>
RDS_CA_RSA2048_G1 = <aws_cdk.aws_rds.CaCertificate object>
RDS_CA_RSA4096_G1 = <aws_cdk.aws_rds.CaCertificate object>

Static Methods

classmethod of(identifier)

Custom CA certificate.

Parameters:

identifier (str) –

  • CA certificate identifier.

Return type:

CaCertificate