AWS::Bedrock::Guardrail RegexConfig - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Bedrock::Guardrail RegexConfig

The regular expression to configure for the guardrail.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Action" : String, "Description" : String, "Name" : String, "Pattern" : String }

YAML

Action: String Description: String Name: String Pattern: String

Properties

Action

The guardrail action to configure when matching regular expression is detected.

Required: Yes

Type: String

Allowed values: BLOCK | ANONYMIZE

Update requires: No interruption

Description

The description of the regular expression to configure for the guardrail.

Required: No

Type: String

Minimum: 1

Maximum: 1000

Update requires: No interruption

Name

The name of the regular expression to configure for the guardrail.

Required: Yes

Type: String

Minimum: 1

Maximum: 100

Update requires: No interruption

Pattern

The regular expression pattern to configure for the guardrail.

Required: Yes

Type: String

Minimum: 1

Update requires: No interruption