Interface CfnContainer.PublicEndpointProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnContainer.PublicEndpointProperty.Jsii$Proxy
- Enclosing class:
- CfnContainer
@Stability(Stable)
public static interface CfnContainer.PublicEndpointProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.lightsail.*;
PublicEndpointProperty publicEndpointProperty = PublicEndpointProperty.builder()
.containerName("containerName")
.containerPort(123)
.healthCheckConfig(HealthCheckConfigProperty.builder()
.healthyThreshold(123)
.intervalSeconds(123)
.path("path")
.successCodes("successCodes")
.timeoutSeconds(123)
.unhealthyThreshold(123)
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnContainer.PublicEndpointPropertystatic final classAn implementation forCfnContainer.PublicEndpointProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe name of the container entry of the deployment that the endpoint configuration applies to.default NumberThe port of the specified container to which traffic is forwarded to.default ObjectAn object that describes the health check configuration of the container.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContainerName
The name of the container entry of the deployment that the endpoint configuration applies to. -
getContainerPort
The port of the specified container to which traffic is forwarded to. -
getHealthCheckConfig
An object that describes the health check configuration of the container. -
builder
-