Interface CedarPolicy.Builder

  • Method Details

    • statement

      CedarPolicy.Builder statement(String statement)

      The Cedar policy statement that defines the authorization logic. This statement follows Cedar syntax and specifies principals, actions, resources, and conditions that determine when access should be allowed or denied.

      Parameters:
      statement - The Cedar policy statement that defines the authorization logic. This statement follows Cedar syntax and specifies principals, actions, resources, and conditions that determine when access should be allowed or denied.
      Returns:
      Returns a reference to this object so that method calls can be chained together.