Skip to content
v2.278.0

CertificateAuthorityReference Struct ​

A reference to a CertificateAuthority resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks as interfaces_eks } from 'aws-cdk-lib/interfaces';
const certificateAuthorityReference: interfaces_eks.CertificateAuthorityReference = {
  certificateAuthorityId: 'certificateAuthorityId',
  clusterName: 'clusterName',
};
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_eks as interfaces_eks

certificate_authority_reference = interfaces_eks.CertificateAuthorityReference(
    certificate_authority_id="certificateAuthorityId",
    cluster_name="clusterName"
)
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.eks.*;

CertificateAuthorityReference certificateAuthorityReference = CertificateAuthorityReference.builder()
        .certificateAuthorityId("certificateAuthorityId")
        .clusterName("clusterName")
        .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.EKS;

var certificateAuthorityReference = new CertificateAuthorityReference {
    CertificateAuthorityId = "certificateAuthorityId",
    ClusterName = "clusterName"
};
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"

certificateAuthorityReference := &CertificateAuthorityReference{
	CertificateAuthorityId: jsii.String("certificateAuthorityId"),
	ClusterName: jsii.String("clusterName"),
}

Properties ​

certificateAuthorityIdstringcertificate_authority_idstrcertificateAuthorityIdStringCertificateAuthorityIdstringCertificateAuthorityId*string required #
The Id of the CertificateAuthority resource.
clusterNamestringcluster_namestrclusterNameStringClusterNamestringClusterName*string required #
The ClusterName of the CertificateAuthority resource.