Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

Guardrails and IAM

This revision card explains Guardrails and IAM. It starts from the need that prompts can leak PII; wildcard model access is too broad. It describes bedrock Guardrails filter topics/PII patterns. IAM should allow InvokeModel only on the model ARNs you need. The how-to section covers how to attach a policy with bedrock — InvokeModel on one model ARN; add a Guardrail in console for the app use case. An example on the card is a denied model ID fails closed; a Guardrail blocks a disallowed topic before it reaches users.

Guardrails and IAM Prompts can leak PII; wildcard model access is too broad. Bedrock Guardrails filter topics/PII patterns. IAM should allow InvokeModel only on the model ARNs you need. Attach a policy with bedrock:InvokeModel on one model ARN; add a Guardrail in console for the app use case. A denied model ID fails closed; a Guardrail blocks a disallowed topic before it reaches users.
Guardrails and IAM · Download PNG
Read card text

What this card says

Why do we need it?

Prompts can leak PII; wildcard model access is too broad.

What is it?

Bedrock Guardrails filter topics/PII patterns. IAM should allow InvokeModel only on the model ARNs you need.

Guardrails

How to do it

Attach a policy with bedrock:InvokeModel on one model ARN; add a Guardrail in console for the app use case.

Example

A denied model ID fails closed; a Guardrail blocks a disallowed topic before it reaches users.

See all AWS revision cards