Skip to content

RoleDetail

Source code in docs_src/capo_iam/types/role_detail.py
class RoleDetail(TypedDict, closed=True):
    path: NotRequired["capo_iam.types.path_type.pathType"]
    """<p>The path to the role. For more information about paths, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html">IAM identifiers</a> in the <i>IAM User Guide</i>.</p>"""
    role_name: NotRequired["capo_iam.types.role_name_type.roleNameType"]
    """<p>The friendly name that identifies the role.</p>"""
    role_id: NotRequired["capo_iam.types.id_type.idType"]
    """<p>The stable and unique string identifying the role. For more information about IDs, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html">IAM identifiers</a> in the <i>IAM User Guide</i>.</p>"""
    arn: NotRequired["capo_iam.types.arn_type.arnType"]
    create_date: NotRequired["capo_iam.types.date_type.dateType"]
    """<p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time format</a>, when the role was created.</p>"""
    assume_role_policy_document: NotRequired[
        "capo_iam.types.policy_document_type.policyDocumentType"
    ]
    """<p>The trust policy that grants permission to assume the role.</p>"""
    instance_profile_list: NotRequired[
        "capo_iam.types.instance_profile_list_type.instanceProfileListType"
    ]
    """<p>A list of instance profiles that contain this role.</p>"""
    role_policy_list: NotRequired[
        "capo_iam.types.policy_detail_list_type.policyDetailListType"
    ]
    """<p>A list of inline policies embedded in the role. These policies are the role's access (permissions) policies.</p>"""
    attached_managed_policies: NotRequired[
        "capo_iam.types.attached_policies_list_type.attachedPoliciesListType"
    ]
    """<p>A list of managed policies attached to the role. These policies are the role's access (permissions) policies.</p>"""
    permissions_boundary: NotRequired[
        "capo_iam.types.attached_permissions_boundary.AttachedPermissionsBoundary"
    ]
    """<p>The ARN of the policy used to set the permissions boundary for the role.</p> <p>For more information about permissions boundaries, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html">Permissions boundaries for IAM identities </a> in the <i>IAM User Guide</i>.</p>"""
    tags: NotRequired["capo_iam.types.tag_list_type.tagListType"]
    """<p>A list of tags that are attached to the role. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the <i>IAM User Guide</i>.</p>"""
    role_last_used: NotRequired["capo_iam.types.role_last_used.RoleLastUsed"]
    """<p>Contains information about the last time that an IAM role was used. This includes the date and time and the Region in which the role was last used. Activity is only reported for the trailing 400 days. This period can be shorter if your Region began supporting these features within the last year. The role might have been used more than 400 days ago. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period">Regions where data is tracked</a> in the <i>IAM User Guide</i>.</p>"""

arn instance-attribute

arn: NotRequired[arnType]

assume_role_policy_document instance-attribute

assume_role_policy_document: NotRequired[policyDocumentType]

The trust policy that grants permission to assume the role.

attached_managed_policies instance-attribute

attached_managed_policies: NotRequired[attachedPoliciesListType]

A list of managed policies attached to the role. These policies are the role's access (permissions) policies.

create_date instance-attribute

create_date: NotRequired[dateType]

The date and time, in ISO 8601 date-time format, when the role was created.

instance_profile_list instance-attribute

instance_profile_list: NotRequired[instanceProfileListType]

A list of instance profiles that contain this role.

path instance-attribute

path: NotRequired[pathType]

The path to the role. For more information about paths, see IAM identifiers in the IAM User Guide.

permissions_boundary instance-attribute

permissions_boundary: NotRequired[AttachedPermissionsBoundary]

The ARN of the policy used to set the permissions boundary for the role.

For more information about permissions boundaries, see Permissions boundaries for IAM identities in the IAM User Guide.

role_id instance-attribute

role_id: NotRequired[idType]

The stable and unique string identifying the role. For more information about IDs, see IAM identifiers in the IAM User Guide.

role_last_used instance-attribute

role_last_used: NotRequired[RoleLastUsed]

Contains information about the last time that an IAM role was used. This includes the date and time and the Region in which the role was last used. Activity is only reported for the trailing 400 days. This period can be shorter if your Region began supporting these features within the last year. The role might have been used more than 400 days ago. For more information, see Regions where data is tracked in the IAM User Guide.

role_name instance-attribute

role_name: NotRequired[roleNameType]

The friendly name that identifies the role.

role_policy_list instance-attribute

role_policy_list: NotRequired[policyDetailListType]

A list of inline policies embedded in the role. These policies are the role's access (permissions) policies.

tags instance-attribute

tags: NotRequired[tagListType]

A list of tags that are attached to the role. For more information about tagging, see Tagging IAM resources in the IAM User Guide.