AWS solutions documentation change
Summary
Updated code comments (TODO to NOTE) to highlight Cognito domain uniqueness and fixed Python runtime casing.
Security assessment
The comment change reinforces security guidance but does not resolve a documented vulnerability.
Diff
diff --git a/solutions/latest/constructs/aws-lambda-opensearch.md b/solutions/latest/constructs/aws-lambda-opensearch.md index 04709e254..7f02e032c 100644 --- a//solutions/latest/constructs/aws-lambda-opensearch.md +++ b//solutions/latest/constructs/aws-lambda-opensearch.md @@ -41 +41 @@ Typescript - // TODO: Ensure the Cognito domain name is globally unique + // NOTE: Ensure the Cognito domain name is globally unique @@ -60 +60 @@ Python - runtime=_lambda.Runtime.Python_3_11, + runtime=_lambda.Runtime.PYTHON_3_11, @@ -67 +67 @@ Python - # TODO: Ensure the Cognito domain name is globally unique + # NOTE: Ensure the Cognito domain name is globally unique @@ -93 +93 @@ Java - // TODO: Ensure the Cognito domain name is globally unique + // NOTE: Ensure the Cognito domain name is globally unique