Builder

class Builder

Properties

Link copied to clipboard

A unique, case-sensitive identifier to ensure the idempotency of the request. The AWS SDK automatically generates this token, so you don't need to provide it in most cases. If you retry a request with the same client token, the service returns the same response without starting a duplicate generation.

Link copied to clipboard

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

Link copied to clipboard
var name: String?

A customer-assigned name for the policy generation request. This helps track and identify generation operations, especially when running multiple generations simultaneously.

Link copied to clipboard

The identifier of the policy engine that provides the context for policy generation. This engine's schema and tool context are used to ensure generated policies are valid and applicable.

Link copied to clipboard

The resource information that provides context for policy generation. This helps the AI understand the target resources and generate appropriate access control rules.