GuardrailState class

Input properties used for looking up and filtering Guardrail resources.

Constructors

GuardrailState({Input<String?>? blockedInputMessaging, Input<String?>? blockedOutputsMessaging, Input<GuardrailContentPolicyConfig?>? contentPolicyConfig, Input<GuardrailContextualGroundingPolicyConfig?>? contextualGroundingPolicyConfig, Input<String?>? createdAt, Input<GuardrailCrossRegionConfig?>? crossRegionConfig, Input<String?>? description, Input<String?>? guardrailArn, Input<String?>? guardrailId, Input<String?>? kmsKeyArn, Input<String?>? name, Input<String?>? region, Input<GuardrailSensitiveInformationPolicyConfig?>? sensitiveInformationPolicyConfig, Input<String?>? status, Input<Map<String, String>?>? tags, Input<Map<String, String>?>? tagsAll, Input<GuardrailTimeouts?>? timeouts, Input<GuardrailTopicPolicyConfig?>? topicPolicyConfig, Input<String?>? updatedAt, Input<String?>? version, Input<GuardrailWordPolicyConfig?>? wordPolicyConfig})
Creates a new GuardrailState. blockedInputMessaging Message to return when the guardrail blocks a prompt. blockedOutputsMessaging Message to return when the guardrail blocks a model response. contentPolicyConfig Content policy config for a guardrail. See Content Policy Config for more information. contextualGroundingPolicyConfig Contextual grounding policy config for a guardrail. See Contextual Grounding Policy Config for more information. createdAt Unix epoch timestamp in seconds for when the Guardrail was created. crossRegionConfig Optional. description Description of the guardrail or its version. guardrailArn ARN of the Guardrail. guardrailId ID of the Guardrail. kmsKeyArn The KMS key with which the guardrail was encrypted at rest. name Name of the guardrail. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. sensitiveInformationPolicyConfig Sensitive information policy config for a guardrail. See Sensitive Information Policy Config for more information. status Status of the Bedrock Guardrail. One of READY, FAILED. tags Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll Optional. timeouts Optional. topicPolicyConfig Topic policy config for a guardrail. See Topic Policy Config for more information. updatedAt Date and time that the Guardrail list was last updated. version Version of the Guardrail. wordPolicyConfig Word policy config for a guardrail. See Word Policy Config for more information.
const
GuardrailState.fromMap(Map<String, dynamic> map)
factory

Properties

blockedInputMessaging → Input<String?>?
Message to return when the guardrail blocks a prompt.
final
blockedOutputsMessaging → Input<String?>?
Message to return when the guardrail blocks a model response.
final
contentPolicyConfig → Input<GuardrailContentPolicyConfig?>?
Content policy config for a guardrail. See Content Policy Config for more information.
final
contextualGroundingPolicyConfig → Input<GuardrailContextualGroundingPolicyConfig?>?
Contextual grounding policy config for a guardrail. See Contextual Grounding Policy Config for more information.
final
createdAt → Input<String?>?
Unix epoch timestamp in seconds for when the Guardrail was created.
final
crossRegionConfig → Input<GuardrailCrossRegionConfig?>?
final
description → Input<String?>?
Description of the guardrail or its version.
final
guardrailArn → Input<String?>?
ARN of the Guardrail.
final
guardrailId → Input<String?>?
ID of the Guardrail.
final
hashCode → int
The hash code for this object.
no setterinherited
kmsKeyArn → Input<String?>?
The KMS key with which the guardrail was encrypted at rest.
final
name → Input<String?>?
Name of the guardrail.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sensitiveInformationPolicyConfig → Input<GuardrailSensitiveInformationPolicyConfig?>?
Sensitive information policy config for a guardrail. See Sensitive Information Policy Config for more information.
final
status → Input<String?>?
Status of the Bedrock Guardrail. One of READY, FAILED.
final
tags → Input<Map<String, String>?>?
Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final
tagsAll → Input<Map<String, String>?>?
final
timeouts → Input<GuardrailTimeouts?>?
final
topicPolicyConfig → Input<GuardrailTopicPolicyConfig?>?
Topic policy config for a guardrail. See Topic Policy Config for more information.
final
updatedAt → Input<String?>?
Date and time that the Guardrail list was last updated.
final
version → Input<String?>?
Version of the Guardrail.
final
wordPolicyConfig → Input<GuardrailWordPolicyConfig?>?
Word policy config for a guardrail. See Word Policy Config for more information.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited