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