AWS::Bedrock::GuardrailDefinition of AWS::Bedrock::Guardrail Resource Type
13 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
BlockedInputMessaging | string | Required |
BlockedOutputsMessaging | string | Required |
Name | string | Required |
AutomatedReasoningPolicyConfig | AutomatedReasoningPolicyConfig | |
ContentPolicyConfig | ContentPolicyConfig | |
ContextualGroundingPolicyConfig | ContextualGroundingPolicyConfig | |
CrossRegionConfig | GuardrailCrossRegionConfig | |
Description | string | |
KmsKeyArn | string | |
SensitiveInformationPolicyConfig | SensitiveInformationPolicyConfig | |
Tags | Array<Tag> | |
TopicPolicyConfig | TopicPolicyConfig | |
WordPolicyConfig | WordPolicyConfig |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
CreatedAt | string | Time Stamp |
FailureRecommendations | Array<string> | List of failure recommendations |
GuardrailArn | string | Arn representation for the guardrail |
GuardrailId | string | Unique id for the guardrail |
Status | string | - |
StatusReasons | Array<string> | List of status reasons |
UpdatedAt | string | Time Stamp |
Version | string | Guardrail version |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Bedrock::Guardrail
Resources:
MyResource:
Type: AWS::Bedrock::Guardrail
Properties:
Name: "my-name"
BlockedInputMessaging: "value"
BlockedOutputsMessaging: "value"
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
bedrock:CreateGuardrailbedrock:GetGuardrailkms:DescribeKeykms:CreateGrantkms:GenerateDataKeykms:Decryptbedrock:TagResourcebedrock:ListTagsForResourcebedrock:GetGuardrailkms:Decryptbedrock:ListTagsForResourcebedrock:UpdateGuardrailbedrock:GetGuardrailbedrock:ListTagsForResourcebedrock:TagResourcebedrock:UntagResourcekms:DescribeKeykms:CreateGrantkms:GenerateDataKeybedrock:DeleteGuardrailbedrock:GetGuardrailkms:Decryptkms:RetireGrantbedrock:ListGuardrailsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterGuardrailArn