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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnContainer.PublicEndpointProperty
static final class
An implementation forCfnContainer.PublicEndpointProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The name of the container entry of the deployment that the endpoint configuration applies to.default Number
The port of the specified container to which traffic is forwarded to.default Object
An 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.- See Also:
-
getContainerPort
The port of the specified container to which traffic is forwarded to.- See Also:
-
getHealthCheckConfig
An object that describes the health check configuration of the container.- See Also:
-
builder
-