class KeyAlgorithm
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.CertificateManager.KeyAlgorithm | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awscertificatemanager#KeyAlgorithm | 
|  Java | software.amazon.awscdk.services.certificatemanager.KeyAlgorithm | 
|  Python | aws_cdk.aws_certificatemanager.KeyAlgorithm | 
|  TypeScript (source) | aws-cdk-lib»aws_certificatemanager»KeyAlgorithm | 
Certificate Manager key algorithm.
If you need to use an algorithm that doesn't exist as a static member, you
can instantiate a KeyAlgorithm object, e.g: new KeyAlgorithm('RSA_2048').
Example
import * as acmpca from 'aws-cdk-lib/aws-acmpca';
new acm.PrivateCertificate(this, 'PrivateCertificate', {
  domainName: 'test.example.com',
  subjectAlternativeNames: ['cool.example.com', 'test.example.net'], // optional
  certificateAuthority: acmpca.CertificateAuthority.fromCertificateAuthorityArn(this, 'CA',
    'arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/023077d8-2bfa-4eb0-8f22-05c96deade77'),
  keyAlgorithm: acm.KeyAlgorithm.RSA_2048, // optional, default algorithm is RSA_2048
});
Initializer
new KeyAlgorithm(name: string)
Parameters
- name string— The name of the algorithm.
Properties
| Name | Type | Description | 
|---|---|---|
| name | string | The name of the algorithm. | 
| static EC_PRIME256 | Key | EC_prime256v1 algorithm. | 
| static EC_SECP384 | Key | EC_secp384r1 algorithm. | 
| static EC_SECP521 | Key | EC_secp521r1 algorithm. | 
| static RSA_1024 | Key | RSA_1024 algorithm. | 
| static RSA_2048 | Key | RSA_2048 algorithm. | 
| static RSA_3072 | Key | RSA_3072 algorithm. | 
| static RSA_4096 | Key | RSA_4096 algorithm. | 
name
Type:
string
The name of the algorithm.
static EC_PRIME256V1
Type:
Key
EC_prime256v1 algorithm.
static EC_SECP384R1
Type:
Key
EC_secp384r1 algorithm.
static EC_SECP521R1
Type:
Key
EC_secp521r1 algorithm.
static RSA_1024
Type:
Key
RSA_1024 algorithm.
static RSA_2048
Type:
Key
RSA_2048 algorithm.
static RSA_3072
Type:
Key
RSA_3072 algorithm.
static RSA_4096
Type:
Key
RSA_4096 algorithm.
