Skip to content

UnusedPermissionsRecommendedStep

Source code in docs_src/capo_accessanalyzer/types/unused_permissions_recommended_step.py
class UnusedPermissionsRecommendedStep(TypedDict, closed=True):
    policy_updated_at: NotRequired["capo_accessanalyzer.types.timestamp.Timestamp"]
    """<p>The time at which the existing policy for the unused permissions finding was last updated.</p>"""
    recommended_action: "capo_accessanalyzer.types.recommended_remediation_action.RecommendedRemediationAction"
    """<p>A recommendation of whether to create or detach a policy for an unused permissions finding.</p>"""
    recommended_policy: NotRequired["str"]
    """<p>If the recommended action for the unused permissions finding is to replace the existing policy, the contents of the recommended policy to replace the policy specified in the <code>existingPolicyId</code> field.</p>"""
    existing_policy_id: NotRequired["str"]
    """<p>If the recommended action for the unused permissions finding is to detach a policy, the ID of an existing policy to be detached.</p>"""
existing_policy_id: NotRequired[str]

If the recommended action for the unused permissions finding is to detach a policy, the ID of an existing policy to be detached.

policy_updated_at: NotRequired[Timestamp]

The time at which the existing policy for the unused permissions finding was last updated.

recommended_action: RecommendedRemediationAction

A recommendation of whether to create or detach a policy for an unused permissions finding.

recommended_policy: NotRequired[str]

If the recommended action for the unused permissions finding is to replace the existing policy, the contents of the recommended policy to replace the policy specified in the existingPolicyId field.