interface PublicEndpointProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lightsail.Mixins.CfnContainerPropsMixin.PublicEndpointProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslightsail/mixins#CfnContainerPropsMixin_PublicEndpointProperty |
Java | software.amazon.awscdk.mixins.preview.services.lightsail.mixins.CfnContainerPropsMixin.PublicEndpointProperty |
Python | aws_cdk.mixins_preview.aws_lightsail.mixins.CfnContainerPropsMixin.PublicEndpointProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lightsail » mixins » CfnContainerPropsMixin » PublicEndpointProperty |
PublicEndpoint is a property of the ContainerServiceDeployment property. It describes describes the settings of the public endpoint of a container on 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 publicEndpointProperty: lightsail_mixins.CfnContainerPropsMixin.PublicEndpointProperty = {
containerName: 'containerName',
containerPort: 123,
healthCheckConfig: {
healthyThreshold: 123,
intervalSeconds: 123,
path: 'path',
successCodes: 'successCodes',
timeoutSeconds: 123,
unhealthyThreshold: 123,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| container | string | The name of the container entry of the deployment that the endpoint configuration applies to. |
| container | number | The port of the specified container to which traffic is forwarded to. |
| health | IResolvable | Health | An object that describes the health check configuration of the container. |
containerName?
Type:
string
(optional)
The name of the container entry of the deployment that the endpoint configuration applies to.
containerPort?
Type:
number
(optional)
The port of the specified container to which traffic is forwarded to.
healthCheckConfig?
Type:
IResolvable | Health
(optional)
An object that describes the health check configuration of the container.

.NET
Go
Java
Python
TypeScript