Builder

class Builder

Properties

Link copied to clipboard

The message to return when the guardrail blocks a prompt.

Link copied to clipboard

The message to return when the guardrail blocks a model response.

Link copied to clipboard

A unique, case-sensitive identifier to ensure that the API request completes no more than once. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency in the Amazon S3 User Guide.

Link copied to clipboard

The content filter policies to configure for the guardrail.

Link copied to clipboard

The contextual grounding policy configuration used to create a guardrail.

Link copied to clipboard

The system-defined guardrail profile that you're using with your guardrail. Guardrail profiles define the destination Amazon Web Services Regions where guardrail inference requests can be automatically routed.

Link copied to clipboard

A description of the guardrail.

Link copied to clipboard

The ARN of the KMS key that you use to encrypt the guardrail.

Link copied to clipboard
var name: String?

The name to give the guardrail.

Link copied to clipboard

The sensitive information policy to configure for the guardrail.

Link copied to clipboard
var tags: List<Tag>?

The tags that you want to attach to the guardrail.

Link copied to clipboard

The topic policies to configure for the guardrail.

Link copied to clipboard

The word policy you configure for the guardrail.

Functions