KeyAlgorithm

class aws_cdk.aws_certificatemanager.KeyAlgorithm(name)

Bases: object

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').

See:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html#cfn-certificatemanager-certificate-keyalgorithm

ExampleMetadata:

infused

Example:

import aws_cdk.aws_acmpca as acmpca


acm.PrivateCertificate(self, "PrivateCertificate",
    domain_name="test.example.com",
    subject_alternative_names=["cool.example.com", "test.example.net"],  # optional
    certificate_authority=acmpca.CertificateAuthority.from_certificate_authority_arn(self, "CA", "arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/023077d8-2bfa-4eb0-8f22-05c96deade77"),
    key_algorithm=acm.KeyAlgorithm.RSA_2048
)
Parameters:

name (str) – The name of the algorithm.

Attributes

EC_PRIME256_V1 = <aws_cdk.aws_certificatemanager.KeyAlgorithm object>
EC_SECP384_R1 = <aws_cdk.aws_certificatemanager.KeyAlgorithm object>
RSA_2048 = <aws_cdk.aws_certificatemanager.KeyAlgorithm object>
name

The name of the algorithm.