CertificateReference Struct
A reference to a Certificate resource.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lightsail as interfaces_lightsail } from 'aws-cdk-lib/interfaces';
const certificateReference: interfaces_lightsail.CertificateReference = {
certificateArn: 'certificateArn',
certificateName: 'certificateName',
};
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_lightsail as interfaces_lightsail
certificate_reference = interfaces_lightsail.CertificateReference(
certificate_arn="certificateArn",
certificate_name="certificateName"
)
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.lightsail.*;
CertificateReference certificateReference = CertificateReference.builder()
.certificateArn("certificateArn")
.certificateName("certificateName")
.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.Lightsail;
var certificateReference = new CertificateReference {
CertificateArn = "certificateArn",
CertificateName = "certificateName"
};
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"),
CertificateName: jsii.String("certificateName"),
}
Properties
certificateArnstringcertificate_arnstrcertificateArnStringCertificateArnstringCertificateArn*string required #The ARN of the Certificate resource.
certificateNamestringcertificate_namestrcertificateNameStringCertificateNamestringCertificateName*string required #The CertificateName of the Certificate resource.