Skip to content

Commit 1ebe6c5

Browse files
authored
docs(ecs-patterns): clarify that redirectHTTP uses listenerPort as the target port (#34515)
### Issue # (if applicable) None ### Reason for this change clarify that redirectHTTP uses listenerPort as the target port and not always 443. ### Description of changes Updated the js doc to reflect the current behavior ### Describe any new or updated permissions being added None ### Description of how you validated changes No validation needed ### Checklist - [X] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 6b52c38 commit 1ebe6c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/aws-cdk-lib/aws-ecs-patterns/lib/base/application-load-balanced-service-base.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ export interface ApplicationLoadBalancedServiceBaseProps {
219219
readonly cloudMapOptions?: CloudMapOptions;
220220

221221
/**
222-
* Specifies whether the load balancer should redirect traffic on port 80 to port 443 to support HTTP->HTTPS redirects
223-
* This is only valid if the protocol of the ALB is HTTPS
222+
* Specifies whether the load balancer should redirect traffic on port 80 to the {@link listenerPort} to support HTTP->HTTPS redirects.
223+
* This is only valid if the protocol of the ALB is HTTPS.
224224
*
225225
* @default false
226226
*/

0 commit comments

Comments
 (0)