Policy

data class Policy(val value: PolicyStatement) : PolicyDefinition

An AgentCore policy statement that defines the access control rules. The statement can be a Cedar policy or a guardrails definition.

Constructors

Link copied to clipboard
constructor(value: PolicyStatement)

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
Link copied to clipboard
Link copied to clipboard