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< ? tags, Input<String, String> ?>Map< ? tagsAll, Input<String, String> ?>GuardrailTimeouts?> ? timeouts, Input<GuardrailTopicPolicyConfig?> ? topicPolicyConfig, Input<String?> ? updatedAt, Input<String?> ? version, Input<GuardrailWordPolicyConfig?> ? wordPolicyConfig}) -
Creates a new GuardrailState.
blockedInputMessagingMessage to return when the guardrail blocks a prompt.blockedOutputsMessagingMessage to return when the guardrail blocks a model response.contentPolicyConfigContent policy config for a guardrail. See Content Policy Config for more information.contextualGroundingPolicyConfigContextual grounding policy config for a guardrail. See Contextual Grounding Policy Config for more information.createdAtUnix epoch timestamp in seconds for when the Guardrail was created.crossRegionConfigOptional.descriptionDescription of the guardrail or its version.guardrailArnARN of the Guardrail.guardrailIdID of the Guardrail.kmsKeyArnThe KMS key with which the guardrail was encrypted at rest.nameName of the guardrail.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.sensitiveInformationPolicyConfigSensitive information policy config for a guardrail. See Sensitive Information Policy Config for more information.statusStatus of the Bedrock Guardrail. One ofREADY,FAILED.tagsKey-value map of resource tags. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.tagsAllOptional.timeoutsOptional.topicPolicyConfigTopic policy config for a guardrail. See Topic Policy Config for more information.updatedAtDate and time that the Guardrail list was last updated.versionVersion of the Guardrail.wordPolicyConfigWord 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 -
Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
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