interface PublicDomainNameProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lightsail.CfnContainer.PublicDomainNameProperty |
![]() | software.amazon.awscdk.services.lightsail.CfnContainer.PublicDomainNameProperty |
![]() | aws_cdk.aws_lightsail.CfnContainer.PublicDomainNameProperty |
![]() | @aws-cdk/aws-lightsail » CfnContainer » PublicDomainNameProperty |
PublicDomainName
is a property of the AWS::Lightsail::Container resource. It describes the public domain names to use with a container service, such as example.com
and www.example.com
. It also describes the certificates to use with a container service.
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 publicDomainNameProperty: lightsail.CfnContainer.PublicDomainNameProperty = {
certificateName: 'certificateName',
domainNames: ['domainNames'],
};
Properties
Name | Type | Description |
---|---|---|
certificate | string | The name of the certificate for the public domains. |
domain | string[] | The public domain names to use with the container service. |
certificateName?
Type:
string
(optional)
The name of the certificate for the public domains.
domainNames?
Type:
string[]
(optional)
The public domain names to use with the container service.