GuardrailStreamConfiguration - 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.

GuardrailStreamConfiguration

Configuration information for a guardrail that you use with the ConverseStream action.

Contents

guardrailIdentifier

The identifier for the guardrail.

Type: String

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

Pattern: (|([a-z0-9]+)|(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:guardrail/[a-z0-9]+))

Required: No

guardrailVersion

The version of the guardrail.

Type: String

Pattern: (|([1-9][0-9]{0,7})|(DRAFT))

Required: No

streamProcessingMode

The processing mode.

The processing mode. For more information, see Configure streaming response behavior.

Type: String

Valid Values: sync | async

Required: No

trace

The trace behavior for the guardrail.

Type: String

Valid Values: enabled | disabled | enabled_full

Required: No

See Also

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