AutomatedReasoningPolicyAddVariableAnnotation - Amazon Bedrock
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.

AutomatedReasoningPolicyAddVariableAnnotation

An annotation for adding a new variable to an Automated Reasoning policy, which can be used in rule expressions.

Contents

description

A description of what the variable represents and how it should be used in rules.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Pattern: [\s\S]+

Required: Yes

name

The name of the new variable. This name will be used to reference the variable in rule expressions.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [A-Za-z][A-Za-z0-9_]*

Required: Yes

type

The type of the variable, which can be a built-in type (like string or number) or a custom type defined in the policy.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [A-Za-z][A-Za-z0-9_]*

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: