java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.certificatemanager.KeyAlgorithm
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-06T23:25:05.271Z") @Stability(Stable) public class KeyAlgorithm extends software.amazon.jsii.JsiiObject
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 software.amazon.awscdk.services.acmpca.*;
 PrivateCertificate.Builder.create(this, "PrivateCertificate")
         .domainName("test.example.com")
         .subjectAlternativeNames(List.of("cool.example.com", "test.example.net")) // optional
         .certificateAuthority(CertificateAuthority.fromCertificateAuthorityArn(this, "CA", "arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/023077d8-2bfa-4eb0-8f22-05c96deade77"))
         .keyAlgorithm(KeyAlgorithm.RSA_2048)
         .build();
 

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final KeyAlgorithm
    EC_prime256v1 algorithm.
    static final KeyAlgorithm
    EC_secp384r1 algorithm.
    static final KeyAlgorithm
    RSA_2048 algorithm.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
     
    protected
    KeyAlgorithm(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    KeyAlgorithm(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    The name of the algorithm.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Field Details

    • EC_PRIME256_V1

      @Stability(Stable) public static final KeyAlgorithm EC_PRIME256_V1
      EC_prime256v1 algorithm.
    • EC_SECP384_R1

      @Stability(Stable) public static final KeyAlgorithm EC_SECP384_R1
      EC_secp384r1 algorithm.
    • RSA_2048

      @Stability(Stable) public static final KeyAlgorithm RSA_2048
      RSA_2048 algorithm.
  • Constructor Details

    • KeyAlgorithm

      protected KeyAlgorithm(software.amazon.jsii.JsiiObjectRef objRef)
    • KeyAlgorithm

      protected KeyAlgorithm(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • KeyAlgorithm

      @Stability(Stable) public KeyAlgorithm(@NotNull String name)
      Parameters:
      name - The name of the algorithm. This parameter is required.
  • Method Details

    • getName

      @Stability(Stable) @NotNull public String getName()
      The name of the algorithm.