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

The content policy to configure for the guardrail.

Link copied to clipboard

The contextual grounding policy configuration used to update 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 unique identifier of the guardrail. This can be an ID or the ARN.

Link copied to clipboard

The ARN of the KMS key with which to encrypt the guardrail.

Link copied to clipboard
var name: String?

A name for the guardrail.

Link copied to clipboard

The sensitive information policy to configure for the guardrail.

Link copied to clipboard

The topic policy to configure for the guardrail.

Link copied to clipboard

The word policy to configure for the guardrail.

Functions