class CaCertificate
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.RDS.CaCertificate |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsrds#CaCertificate |
![]() | software.amazon.awscdk.services.rds.CaCertificate |
![]() | aws_cdk.aws_rds.CaCertificate |
![]() | aws-cdk-lib » aws_rds » CaCertificate |
The CA certificate used for a DB instance.
See also: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
Example
declare const vpc: ec2.Vpc;
const cluster = new docdb.DatabaseCluster(this, 'Database', {
masterUser: {
username: 'myuser',
},
instanceType: ec2.InstanceType.of(ec2.InstanceClass.MEMORY5, ec2.InstanceSize.LARGE),
vpcSubnets: {
subnetType: ec2.SubnetType.PUBLIC,
},
vpc,
caCertificate: docdb.CaCertificate.RDS_CA_RSA4096_G1, // CA certificate for all instances under this cluster
});
Properties
Name | Type | Description |
---|---|---|
static RDS_CA_2019 | Ca | rds-ca-2019 certificate authority. |
static RDS_CA_ECC384_G1 | Ca | rds-ca-ecc384-g1 certificate authority. |
static RDS_CA_RDS2048_G1 | Ca | rds-ca-rsa2048-g1 certificate authority. |
static RDS_CA_RDS4096_G1 | Ca | rds-ca-rsa4096-g1 certificate authority. |
static RDS_CA_RSA2048_G1 | Ca | rds-ca-rsa2048-g1 certificate authority. |
static RDS_CA_RSA4096_G1 | Ca | rds-ca-rsa4096-g1 certificate authority. |
static RDS_CA_2019
⚠️ Deprecated: rds-ca-2019 expired in August, 2024.
Type:
Ca
rds-ca-2019 certificate authority.
static RDS_CA_ECC384_G1
Type:
Ca
rds-ca-ecc384-g1 certificate authority.
static RDS_CA_RDS2048_G1
⚠️ Deprecated: use RDS_CA_RSA2048_G1 (slight misspelling)
Type:
Ca
rds-ca-rsa2048-g1 certificate authority.
static RDS_CA_RDS4096_G1
⚠️ Deprecated: use RDS_CA_RSA4096_G1 (slight misspelling)
Type:
Ca
rds-ca-rsa4096-g1 certificate authority.
static RDS_CA_RSA2048_G1
Type:
Ca
rds-ca-rsa2048-g1 certificate authority.
static RDS_CA_RSA4096_G1
Type:
Ca
rds-ca-rsa4096-g1 certificate authority.
Methods
Name | Description |
---|---|
to | Returns the CA certificate identifier as a string. |
static of(identifier) | Custom CA certificate. |
toString()
public toString(): string
Returns
string
Returns the CA certificate identifier as a string.
static of(identifier)
public static of(identifier: string): CaCertificate
Parameters
- identifier
string
— - CA certificate identifier.
Returns
Custom CA certificate.