interface CfnCertificateProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lightsail.CfnCertificateProps |
![]() | software.amazon.awscdk.services.lightsail.CfnCertificateProps |
![]() | aws_cdk.aws_lightsail.CfnCertificateProps |
![]() | @aws-cdk/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 * as lightsail from '@aws-cdk/aws-lightsail';
const cfnCertificateProps: lightsail.CfnCertificateProps = {
certificateName: 'certificateName',
domainName: 'domainName',
// the properties below are optional
subjectAlternativeNames: ['subjectAlternativeNames'],
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
certificate | string | The name of the certificate. |
domain | string | The domain name of the certificate. |
subject | 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? | Cfn [] | 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:
Cfn
[]
(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
ofTags
is optional for Lightsail resources.