PolicyGeneration

Represents a policy generation request within the AgentCore Policy system. Tracks the AI-powered conversion of natural language descriptions into Cedar policy statements, enabling users to author policies by describing authorization requirements in plain English. The generation process analyzes the natural language input along with the Gateway's tool context and Cedar schema to produce one or more validated policy options. Each generation request tracks the status of the conversion process and maintains findings about the generated policies, including validation results and potential issues. Generated policy assets remain available for one week after successful generation, allowing time to review and create policies from the generated options.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val createdAt: <Error class: unknown class>

The timestamp when this policy generation request was created.

Link copied to clipboard

Findings and insights from this policy generation process.

Link copied to clipboard

The customer-assigned name for this policy generation request.

Link copied to clipboard

The identifier of the policy engine associated with this generation request.

Link copied to clipboard

The ARN of this policy generation request.

Link copied to clipboard

The unique identifier for this policy generation request.

Link copied to clipboard

The resource information associated with this policy generation.

Link copied to clipboard

The current status of this policy generation request.

Link copied to clipboard

Additional information about the generation status.

Link copied to clipboard
val updatedAt: <Error class: unknown class>

The timestamp when this policy generation was last updated.

Functions

Link copied to clipboard
inline fun copy(block: PolicyGeneration.Builder.() -> Unit = {}): PolicyGeneration
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String