GuardrailState constructor

const GuardrailState({
  1. Input<String?>? blockedInputMessaging,
  2. Input<String?>? blockedOutputsMessaging,
  3. Input<GuardrailContentPolicyConfig?>? contentPolicyConfig,
  4. Input<GuardrailContextualGroundingPolicyConfig?>? contextualGroundingPolicyConfig,
  5. Input<String?>? createdAt,
  6. Input<GuardrailCrossRegionConfig?>? crossRegionConfig,
  7. Input<String?>? description,
  8. Input<String?>? guardrailArn,
  9. Input<String?>? guardrailId,
  10. Input<String?>? kmsKeyArn,
  11. Input<String?>? name,
  12. Input<String?>? region,
  13. Input<GuardrailSensitiveInformationPolicyConfig?>? sensitiveInformationPolicyConfig,
  14. Input<String?>? status,
  15. Input<Map<String, String>?>? tags,
  16. Input<Map<String, String>?>? tagsAll,
  17. Input<GuardrailTimeouts?>? timeouts,
  18. Input<GuardrailTopicPolicyConfig?>? topicPolicyConfig,
  19. Input<String?>? updatedAt,
  20. Input<String?>? version,
  21. 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.

Implementation

const GuardrailState({
  this.blockedInputMessaging,
  this.blockedOutputsMessaging,
  this.contentPolicyConfig,
  this.contextualGroundingPolicyConfig,
  this.createdAt,
  this.crossRegionConfig,
  this.description,
  this.guardrailArn,
  this.guardrailId,
  this.kmsKeyArn,
  this.name,
  this.region,
  this.sensitiveInformationPolicyConfig,
  this.status,
  this.tags,
  this.tagsAll,
  this.timeouts,
  this.topicPolicyConfig,
  this.updatedAt,
  this.version,
  this.wordPolicyConfig,
});