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 emphasizes a security best practice (globally unique Cognito domains) but does not resolve a specific security flaw.
Diff
diff --git a/solutions/latest/constructs/aws-dynamodbstreams-lambda-elasticsearch-kibana.md b/solutions/latest/constructs/aws-dynamodbstreams-lambda-elasticsearch-kibana.md index 2d03d9446..da455e5ba 100644 --- a//solutions/latest/constructs/aws-dynamodbstreams-lambda-elasticsearch-kibana.md +++ b//solutions/latest/constructs/aws-dynamodbstreams-lambda-elasticsearch-kibana.md @@ -47 +47 @@ Typescript - // TODO: Ensure the Cognito domain name is globally unique + // NOTE: Ensure the Cognito domain name is globally unique @@ -70 +70 @@ Python - runtime=_lambda.Runtime.Python_3_11, + runtime=_lambda.Runtime.PYTHON_3_11, @@ -74 +74 @@ Python - # TODO: Ensure the Cognito domain name is globally unique + # NOTE: Ensure the Cognito domain name is globally unique @@ -217 +217 @@ To use the Amazon Web Services Documentation, Javascript must be enabled. Please -aws-constructs-factories +aws-cognito-apigateway-lambda