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.84.0 (build 5404dcf)",
date="2023-06-19T16:29:55.224Z")
@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
ConstructorsModifierConstructorDescriptionprotectedCertificateAuthority(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCertificateAuthority(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic ICertificateAuthorityfromCertificateAuthorityArn(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, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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.
-