# HealthCheckBindOptions

Options used for creating the Health Check object.

Used as argument in: [HealthCheck.bind](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appmesh.HealthCheck.html#bind)

- Source: [`aws-appmesh/lib/health-checks.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-appmesh/lib/health-checks.ts#L84)

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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
};
```

Golang:

```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

- `defaultPort`: number — Port for Health Check interface.

  **Default:** no default port is provided
