Skip to content

AgentEnforcedPolicy

Source code in docs_src/capo_workspaces/types/agent_enforced_policy.py
class AgentEnforcedPolicy(TypedDict, closed=True):
    id: "capo_workspaces.types.agent_enforced_policy_id.AgentEnforcedPolicyId"
    """<p>The identifier of the agent-enforced policy.</p>"""
    name: "capo_workspaces.types.enforced_policy_name.EnforcedPolicyName"
    """<p>The name of the agent-enforced policy.</p>"""
    policy_body: "capo_workspaces.types.enforced_policy_body.EnforcedPolicyBody"
    """<p>Specifies the policy document, in JSON format, that defines the enforced policy. It can be up to 65,536 characters long.</p>"""
    created_at: "capo_workspaces.types.timestamp.Timestamp"
    """<p>The time when the agent-enforced policy was created.</p>"""
    owner: "capo_workspaces.types.resource_owner_type.ResourceOwnerType"
    """<p>The owner of the agent-enforced policy:</p> <ul> <li> <p> <code>SELF</code> – Your account owns the policy.</p> </li> <li> <p> <code>AMAZON</code> – Amazon owns the policy. You can use it, but you can't change or delete it.</p> </li> </ul>"""

created_at instance-attribute

created_at: Timestamp

The time when the agent-enforced policy was created.

id instance-attribute

The identifier of the agent-enforced policy.

name instance-attribute

The name of the agent-enforced policy.

owner instance-attribute

The owner of the agent-enforced policy:

  • SELF – Your account owns the policy.

  • AMAZON – Amazon owns the policy. You can use it, but you can't change or delete it.

policy_body instance-attribute

policy_body: EnforcedPolicyBody

Specifies the policy document, in JSON format, that defines the enforced policy. It can be up to 65,536 characters long.