aws-cdk-lib.aws_lightsail.CfnContainer.PublicDomainNameProperty

interface PublicDomainNameProperty

LanguageType name
.NETAmazon.CDK.AWS.Lightsail.CfnContainer.PublicDomainNameProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslightsail#CfnContainer_PublicDomainNameProperty
Javasoftware.amazon.awscdk.services.lightsail.CfnContainer.PublicDomainNameProperty
Pythonaws_cdk.aws_lightsail.CfnContainer.PublicDomainNameProperty
TypeScript aws-cdk-lib » 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 { aws_lightsail as lightsail } from 'aws-cdk-lib';
const publicDomainNameProperty: lightsail.CfnContainer.PublicDomainNameProperty = {
  certificateName: 'certificateName',
  domainNames: ['domainNames'],
};

Properties

NameTypeDescription
certificateName?stringThe name of the certificate for the public domains.
domainNames?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.