Skip to content

AccessPolicy🔗

Constructor🔗

AccessPolicy()

Methods🔗

build🔗

Builds the object.

def build() -> accesspolicy.AccessPolicy

role🔗

The role that must apply this policy

def role(role: cogbuilder.Builder[accesspolicy.RoleRef]) -> typing.Self

rules🔗

The set of rules to apply. Note that * is required to modify

access policy rules, and that "none" will reject all actions

def rules(rule: cogbuilder.Builder[accesspolicy.AccessRule]) -> typing.Self

scope🔗

The scope where these policies should apply

def scope(scope: cogbuilder.Builder[accesspolicy.ResourceRef]) -> typing.Self

See also🔗