UpdatePolicyRequest

Types

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

Properties

Link copied to clipboard

The new Cedar policy statement that defines the access control rules. This replaces the existing policy definition with new logic while maintaining the policy's identity.

Link copied to clipboard

The new human-readable description for the policy. This optional field allows updating the policy's documentation while keeping the same policy logic.

Link copied to clipboard

The identifier of the policy engine that manages the policy to be updated. This ensures the policy is updated within the correct policy engine context.

Link copied to clipboard

The unique identifier of the policy to be updated. This must be a valid policy ID that exists within the specified policy engine.

Link copied to clipboard

The validation mode for the policy update. Determines how Cedar analyzer validation results are handled during policy updates. FAIL_ON_ANY_FINDINGS runs the Cedar analyzer and fails the update if validation issues are detected, ensuring the policy conforms to the Cedar schema and tool context. IGNORE_ALL_FINDINGS runs the Cedar analyzer but allows updates despite validation warnings. Use FAIL_ON_ANY_FINDINGS to ensure policy correctness during updates, especially when modifying policy logic or conditions.

Functions

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