Skip to content

Bedrock  >  Structures  >  AutomatedReasoningPolicyBuildWorkflowDocument

AutomatedReasoningPolicyBuildWorkflowDocument

Structure Class

AutomatedReasoningPolicyBuildWorkflowDocument dataclass

Represents a source document used in the policy build workflow, containing the content and metadata needed for policy generation.

Attributes

document class-attribute instance-attribute
document: bytes = field(repr=False)

The actual content of the source document that will be analyzed to extract policy rules and concepts.

document_content_type instance-attribute

The MIME type of the document content (e.g., text/plain, application/pdf, text/markdown).

document_description class-attribute instance-attribute
document_description: str | None = field(repr=False, default=None)

A detailed description of the document's content and how it should be used in the policy generation process.

document_name class-attribute instance-attribute
document_name: str = field(repr=False)

A descriptive name for the document that helps identify its purpose and content.