Skip to content
v2.278.0

HealthCheckBindOptions Struct ​

Options used for creating the Health Check object.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appmesh as appmesh } from 'aws-cdk-lib';
const healthCheckBindOptions: appmesh.HealthCheckBindOptions = {
  defaultPort: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appmesh as appmesh

health_check_bind_options = appmesh.HealthCheckBindOptions(
    default_port=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appmesh.*;

HealthCheckBindOptions healthCheckBindOptions = HealthCheckBindOptions.builder()
        .defaultPort(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppMesh;

var healthCheckBindOptions = new HealthCheckBindOptions {
    DefaultPort = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

healthCheckBindOptions := &HealthCheckBindOptions{
	DefaultPort: jsii.Number(123),
}

Properties ​

defaultPortoptionalnumberdefault_portoptionalint | floatdefaultPortoptionalNumberDefaultPortoptionaldoubleDefaultPortoptional*float64 #
Port for Health Check interface.

Default: no default port is provided