Skip to content

PolicyGeneration

Source code in docs_src/capo_accessanalyzer/types/policy_generation.py
class PolicyGeneration(TypedDict, closed=True):
    job_id: "capo_accessanalyzer.types.job_id.JobId"
    """<p>The <code>JobId</code> that is returned by the <code>StartPolicyGeneration</code> operation. The <code>JobId</code> can be used with <code>GetGeneratedPolicy</code> to retrieve the generated policies or used with <code>CancelPolicyGeneration</code> to cancel the policy generation request.</p>"""
    principal_arn: "capo_accessanalyzer.types.principal_arn.PrincipalArn"
    """<p>The ARN of the IAM entity (user or role) for which you are generating a policy.</p>"""
    status: "capo_accessanalyzer.types.job_status.JobStatus"
    """<p>The status of the policy generation request.</p>"""
    started_on: "capo_accessanalyzer.types.timestamp.Timestamp"
    """<p>A timestamp of when the policy generation started.</p>"""
    completed_on: NotRequired["capo_accessanalyzer.types.timestamp.Timestamp"]
    """<p>A timestamp of when the policy generation was completed.</p>"""

completed_on instance-attribute

completed_on: NotRequired[Timestamp]

A timestamp of when the policy generation was completed.

job_id instance-attribute

job_id: JobId

The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.

principal_arn instance-attribute

principal_arn: PrincipalArn

The ARN of the IAM entity (user or role) for which you are generating a policy.

started_on instance-attribute

started_on: Timestamp

A timestamp of when the policy generation started.

status instance-attribute

status: JobStatus

The status of the policy generation request.