public static interface CfnContainer.PublicEndpointProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnContainer.PublicEndpointProperty.Builder
A builder for
CfnContainer.PublicEndpointProperty |
static class |
CfnContainer.PublicEndpointProperty.Jsii$Proxy
An implementation for
CfnContainer.PublicEndpointProperty |
Modifier and Type | Method and Description |
---|---|
static CfnContainer.PublicEndpointProperty.Builder |
builder() |
default java.lang.String |
getContainerName()
The name of the container entry of the deployment that the endpoint configuration applies to.
|
default java.lang.Number |
getContainerPort()
The port of the specified container to which traffic is forwarded to.
|
default java.lang.Object |
getHealthCheckConfig()
An object that describes the health check configuration of the container.
|
default java.lang.String getContainerName()
default java.lang.Number getContainerPort()
default java.lang.Object getHealthCheckConfig()
static CfnContainer.PublicEndpointProperty.Builder builder()