From 4182287d1cb797ce65926db48006da33dad151ad Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 29 Nov 2022 21:32:21 +0000 Subject: [PATCH] chore: self mutation Signed-off-by: github-actions --- API.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/API.md b/API.md index 868d1969..94190d63 100644 --- a/API.md +++ b/API.md @@ -426,6 +426,7 @@ new Service(scope: Construct, id: string, props: ServiceProps) | addURL | This method adds a new URL for the service. | | connectTo | Tell extensions from one service to connect to extensions from another sevice if they have implemented a hook for it. | | enableAutoScalingPolicy | This helper method is used to set the `autoScalingPoliciesEnabled` attribute whenever an auto scaling policy is configured for the service. | +| enableServiceConnect | This method allows a service to opt in to ECS Service Connect as a client. | | getURL | Retrieve a URL for the service. | --- @@ -494,6 +495,17 @@ public enableAutoScalingPolicy(): void This helper method is used to set the `autoScalingPoliciesEnabled` attribute whenever an auto scaling policy is configured for the service. +##### `enableServiceConnect` + +```typescript +public enableServiceConnect(): void +``` + +This method allows a service to opt in to ECS Service Connect as a client. + +If this method is not called, the service will not be able to reach other +Service Connect enabled services via their terse DNS aliases. + ##### `getURL` ```typescript