@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:35.968Z") @Stability(value=Stable) public class CertificateAuthority extends software.amazon.jsii.JsiiObject
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();
| Modifier | Constructor and Description |
|---|---|
protected |
CertificateAuthority(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CertificateAuthority(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static ICertificateAuthority |
fromCertificateAuthorityArn(software.constructs.Construct scope,
String id,
String certificateAuthorityArn)
Import an existing Certificate given an ARN.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected CertificateAuthority(software.amazon.jsii.JsiiObjectRef objRef)
protected CertificateAuthority(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) @NotNull public static ICertificateAuthority fromCertificateAuthorityArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String certificateAuthorityArn)
scope - This parameter is required.id - This parameter is required.certificateAuthorityArn - This parameter is required.Copyright © 2022. All rights reserved.