interface PublicDomainNameProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lightsail.Mixins.CfnContainerPropsMixin.PublicDomainNameProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslightsail/mixins#CfnContainerPropsMixin_PublicDomainNameProperty |
Java | software.amazon.awscdk.mixins.preview.services.lightsail.mixins.CfnContainerPropsMixin.PublicDomainNameProperty |
Python | aws_cdk.mixins_preview.aws_lightsail.mixins.CfnContainerPropsMixin.PublicDomainNameProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lightsail » mixins » CfnContainerPropsMixin » 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 { mixins as lightsail_mixins } from '@aws-cdk/mixins-preview/aws-lightsail';
const publicDomainNameProperty: lightsail_mixins.CfnContainerPropsMixin.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.

.NET
Go
Java
Python
TypeScript