AWS lexv2 documentation change
Summary
Added JSON section markers, fixed policy syntax (commas, ARN formatting), and standardized indentation
Security assessment
Changes improve documentation structure and JSON syntax but do not modify security permissions or address vulnerabilities. ARN format correction (Region->us-east-1) is a documentation accuracy fix.
Diff
diff --git a/lexv2/latest/dg/security_iam_id-based-policy-examples.md b/lexv2/latest/dg/security_iam_id-based-policy-examples.md index a1f124329..8d953ce0d 100644 --- a//lexv2/latest/dg/security_iam_id-based-policy-examples.md +++ b//lexv2/latest/dg/security_iam_id-based-policy-examples.md @@ -146,0 +147,6 @@ This example shows an example policy that allows IAM users to create and update +JSON + + +**** + + @@ -166,0 +174,6 @@ This example shows an example policy that allows IAM users to run the Automated +JSON + + +**** + + @@ -201,0 +216,6 @@ This example shows an example policy that allows IAM users to use a AWS KMS cust +JSON + + +**** + + @@ -391,0 +413,6 @@ The following IAM permission policy allows a user to import a bot or bot locale +JSON + + +**** + + @@ -419 +446 @@ The following IAM permission policy allows a user to import a bot or bot locale - "iam:PassRole", + "iam:PassRole" @@ -423,2 +450,2 @@ The following IAM permission policy allows a user to import a bot or bot locale - "arn:aws:lex:Region:123456789012:bot/*", - "arn:aws:lex:Region:123456789012:bot-alias/*" + "arn:aws:lex:us-east-1:123456789012:bot/*", + "arn:aws:lex:us-east-1:123456789012:bot-alias/*" @@ -605,0 +634,6 @@ You can attach the following permissions to an IAM role to allow it to only crea +JSON + + +**** + + @@ -617 +651 @@ You can attach the following permissions to an IAM role to allow it to only crea - "lex:ListBotAliasReplicas", + "lex:ListBotAliasReplicas" @@ -636 +670 @@ You can attach the following permissions to an IAM role to allow it to only crea - "iam:CreateServiceLinkedRole", + "iam:CreateServiceLinkedRole"