Cedar

data class Cedar(val value: CedarPolicy) : PolicyDefinition

The Cedar policy definition within the policy definition structure. This contains the Cedar policy statement that defines the authorization logic using Cedar's human-readable, analyzable policy language. Cedar policies specify principals (who can access), actions (what operations are allowed), resources (what can be accessed), and optional conditions for fine-grained control. Cedar provides a formal policy language designed for authorization with deterministic evaluation, making policies testable, reviewable, and auditable. All Cedar policies follow a default-deny model where actions are denied unless explicitly permitted, and forbid policies always override permit policies.

Constructors

Link copied to clipboard
constructor(value: CedarPolicy)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

Casts this PolicyDefinition as a Cedar and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.CedarPolicy value. Throws an exception if the PolicyDefinition is not a Cedar.

Link copied to clipboard