Skip to content

Commit

Permalink
Make defaultPort optional
Browse files Browse the repository at this point in the history
  • Loading branch information
skinny85 authored May 7, 2021
1 parent 08f7718 commit 2045750
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/@aws-cdk/aws-appmesh/lib/health-checks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,10 @@ export interface HealthCheckConfig {
export interface HealthCheckBindOptions {
/**
* Port for Health Check interface
*
* @default - no default port is provided
*/
readonly defaultPort: number;
readonly defaultPort?: number;
}


Expand Down Expand Up @@ -184,4 +186,4 @@ class HealthCheckImpl extends HealthCheck {
};
}

}
}

0 comments on commit 2045750

Please sign in to comment.