Interface CfnContainer.IPublicEndpointProperty
PublicEndpoint
is a property of the ContainerServiceDeployment property. It describes describes the settings of the public endpoint of a container on a container service.
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IPublicEndpointProperty
Syntax (vb)
Public Interface IPublicEndpointProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lightsail;
var publicEndpointProperty = new PublicEndpointProperty {
ContainerName = "containerName",
ContainerPort = 123,
HealthCheckConfig = new HealthCheckConfigProperty {
HealthyThreshold = 123,
IntervalSeconds = 123,
Path = "path",
SuccessCodes = "successCodes",
TimeoutSeconds = 123,
UnhealthyThreshold = 123
}
};
Synopsis
Properties
ContainerName | The name of the container entry of the deployment that the endpoint configuration applies to. |
ContainerPort | The port of the specified container to which traffic is forwarded to. |
HealthCheckConfig | An object that describes the health check configuration of the container. |
Properties
ContainerName
The name of the container entry of the deployment that the endpoint configuration applies to.
virtual string ContainerName { get; }
Property Value
System.String
Remarks
ContainerPort
The port of the specified container to which traffic is forwarded to.
virtual Nullable<double> ContainerPort { get; }
Property Value
System.Nullable<System.Double>
Remarks
HealthCheckConfig
An object that describes the health check configuration of the container.
virtual object HealthCheckConfig { get; }
Property Value
System.Object