Skip to content

Bedrock Agentcore Control  >  Unions  >  Content

Content

Union Type

Content module-attribute

Content = Union[ContentRawText | ContentUnknown]

Represents content input for policy generation operations. This structure encapsulates the natural language descriptions or other content formats that are used as input for AI-powered policy generation.

Union Member Types

ContentRawText dataclass

The raw text content containing natural language descriptions of desired policy behavior. This text is processed by AI to generate corresponding Cedar policy statements that match the described intent.

Attributes

value instance-attribute
value: str

ContentUnknown dataclass

Represents an unknown variant.

If you receive this value, you will need to update your library to receive the parsed value.

This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str