AWS::Wisdom::AIGuardrail GuardrailRegexConfig - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::Wisdom::AIGuardrail GuardrailRegexConfig

A regex configuration.

Syntax

To declare this entity in your 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 action of the guardrail regex configuration.

Required: Yes

Type: String

Allowed values: BLOCK | ANONYMIZE

Update requires: No interruption

Description

The regex description.

Required: No

Type: String

Minimum: 1

Maximum: 1000

Update requires: No interruption

Name

A regex configuration.

Required: Yes

Type: String

Minimum: 1

Maximum: 100

Update requires: No interruption

Pattern

The regex pattern.

Required: Yes

Type: String

Minimum: 1

Update requires: No interruption