CfnCertificateProps
- class aws_cdk.aws_lightsail.CfnCertificateProps(*, certificate_name, domain_name, subject_alternative_names=None, tags=None)
Bases:
object
Properties for defining a
CfnCertificate
.- Parameters:
certificate_name (
str
) – The name of the certificate.domain_name (
str
) – The domain name of the certificate.subject_alternative_names (
Optional
[Sequence
[str
]]) – An array of strings that specify the alternate domains (such asexample.org
) and subdomains (such asblog.example.com
) of the certificate.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – An array of key-value pairs to apply to this resource. For more information, see Tag in the AWS CloudFormation User Guide . .. epigraph:: TheValue
ofTags
is optional for Lightsail resources.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_lightsail as lightsail cfn_certificate_props = lightsail.CfnCertificateProps( certificate_name="certificateName", domain_name="domainName", # the properties below are optional subject_alternative_names=["subjectAlternativeNames"], tags=[CfnTag( key="key", value="value" )] )
Attributes
- certificate_name
The name of the certificate.
- domain_name
The domain name of the certificate.
- subject_alternative_names
An array of strings that specify the alternate domains (such as
example.org
) and subdomains (such asblog.example.com
) of the certificate.