Class CertificateAuthority
Defines a Certificate for ACMPCA.
Inheritance
System.Object
CertificateAuthority
Namespace: Amazon.CDK.AWS.ACMPCA
Assembly: Amazon.CDK.AWS.ACMPCA.dll
Syntax (csharp)
public class CertificateAuthority : DeputyBase
Syntax (vb)
Public Class CertificateAuthority
Inherits DeputyBase
Remarks
Resource: AWS::ACMPCA::CertificateAuthority
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.ACMPCA;
Vpc vpc;
var cluster = new Cluster(this, "Cluster", new ClusterProps {
ClusterName = "myCluster",
KafkaVersion = KafkaVersion.V2_8_1,
Vpc = vpc,
EncryptionInTransit = new EncryptionInTransitConfig {
ClientBroker = ClientBrokerEncryption.TLS
},
ClientAuthentication = ClientAuthentication.Tls(new TlsAuthProps {
CertificateAuthorities = new [] { CertificateAuthority.FromCertificateAuthorityArn(this, "CertificateAuthority", "arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111") }
})
});
Synopsis
Constructors
CertificateAuthority(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CertificateAuthority(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
FromCertificateAuthorityArn(Construct, String, String) | Import an existing Certificate given an ARN. |
Constructors
CertificateAuthority(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CertificateAuthority(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CertificateAuthority(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CertificateAuthority(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
FromCertificateAuthorityArn(Construct, String, String)
Import an existing Certificate given an ARN.
public static ICertificateAuthority FromCertificateAuthorityArn(Construct scope, string id, string certificateAuthorityArn)
Parameters
- scope Constructs.Construct
- id System.String
- certificateAuthorityArn System.String
Returns