Skip to content
v2.278.0

CertificateReference Struct ​

A reference to a Certificate resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_acmpca as interfaces_acmpca } from 'aws-cdk-lib/interfaces';
const certificateReference: interfaces_acmpca.CertificateReference = {
  certificateArn: 'certificateArn',
  certificateAuthorityArn: 'certificateAuthorityArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_acmpca as interfaces_acmpca

certificate_reference = interfaces_acmpca.CertificateReference(
    certificate_arn="certificateArn",
    certificate_authority_arn="certificateAuthorityArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.acmpca.*;

CertificateReference certificateReference = CertificateReference.builder()
        .certificateArn("certificateArn")
        .certificateAuthorityArn("certificateAuthorityArn")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.ACMPCA;

var certificateReference = new CertificateReference {
    CertificateArn = "certificateArn",
    CertificateAuthorityArn = "certificateAuthorityArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

certificateReference := &CertificateReference{
	CertificateArn: jsii.String("certificateArn"),
	CertificateAuthorityArn: jsii.String("certificateAuthorityArn"),
}

Properties ​

certificateArnstringcertificate_arnstrcertificateArnStringCertificateArnstringCertificateArn*string required #
The Arn of the Certificate resource.
certificateAuthorityArnstringcertificate_authority_arnstrcertificateAuthorityArnStringCertificateAuthorityArnstringCertificateAuthorityArn*string required #
The CertificateAuthorityArn of the Certificate resource.