Class CertificateAuthority

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.acmpca.CertificateAuthority
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:01.722Z") @Stability(Stable) public class CertificateAuthority extends software.amazon.jsii.JsiiObject
Defines a Certificate for ACMPCA.

Example:

 import software.amazon.awscdk.services.acmpca.*;
 Vpc vpc;
 Cluster cluster = Cluster.Builder.create(this, "Cluster")
         .clusterName("myCluster")
         .kafkaVersion(KafkaVersion.V2_8_1)
         .vpc(vpc)
         .encryptionInTransit(EncryptionInTransitConfig.builder()
                 .clientBroker(ClientBrokerEncryption.TLS)
                 .build())
         .clientAuthentication(ClientAuthentication.tls(TlsAuthProps.builder()
                 .certificateAuthorities(List.of(CertificateAuthority.fromCertificateAuthorityArn(this, "CertificateAuthority", "arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111")))
                 .build()))
         .build();
 
  • Nested Class Summary

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

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

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

    Modifier and Type
    Method
    Description
    fromCertificateAuthorityArn(software.constructs.Construct scope, String id, String certificateAuthorityArn)
    Import an existing Certificate given an ARN.

    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
  • Constructor Details

    • CertificateAuthority

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

      protected CertificateAuthority(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details

    • fromCertificateAuthorityArn

      @Stability(Stable) @NotNull public static ICertificateAuthority fromCertificateAuthorityArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String certificateAuthorityArn)
      Import an existing Certificate given an ARN.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      certificateAuthorityArn - This parameter is required.