aws-cdk-lib.aws_lightsail.CfnCertificateProps

interface CfnCertificateProps

LanguageType name
.NETAmazon.CDK.AWS.Lightsail.CfnCertificateProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslightsail#CfnCertificateProps
Javasoftware.amazon.awscdk.services.lightsail.CfnCertificateProps
Pythonaws_cdk.aws_lightsail.CfnCertificateProps
TypeScript aws-cdk-lib » aws_lightsail » CfnCertificateProps

Properties for defining a CfnCertificate.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lightsail as lightsail } from 'aws-cdk-lib';
const cfnCertificateProps: lightsail.CfnCertificateProps = {
  certificateName: 'certificateName',
  domainName: 'domainName',

  // the properties below are optional
  subjectAlternativeNames: ['subjectAlternativeNames'],
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
certificateNamestringThe name of the certificate.
domainNamestringThe domain name of the certificate.
subjectAlternativeNames?string[]An array of strings that specify the alternate domains (such as example.org ) and subdomains (such as blog.example.com ) of the certificate.
tags?CfnTag[]An array of key-value pairs to apply to this resource.

certificateName

Type: string

The name of the certificate.


domainName

Type: string

The domain name of the certificate.


subjectAlternativeNames?

Type: string[] (optional)

An array of strings that specify the alternate domains (such as example.org ) and subdomains (such as blog.example.com ) of the certificate.


tags?

Type: CfnTag[] (optional)

An array of key-value pairs to apply to this resource.

For more information, see Tag in the AWS CloudFormation User Guide .

The Value of Tags is optional for Lightsail resources.