Skip to content

AwsIamRoleDetails

Source code in docs_src/capo_securityhub/types/aws_iam_role_details.py
class AwsIamRoleDetails(TypedDict, closed=True):
    assume_role_policy_document: NotRequired[
        "capo_securityhub.types.aws_iam_role_assume_role_policy_document.AwsIamRoleAssumeRolePolicyDocument"
    ]
    """<p>The trust policy that grants permission to assume the role.</p>"""
    attached_managed_policies: NotRequired[
        "capo_securityhub.types.aws_iam_attached_managed_policy_list.AwsIamAttachedManagedPolicyList"
    ]
    """<p>The list of the managed policies that are attached to the role.</p>"""
    create_date: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>Indicates when the role was created.</p> <p>For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see <a href="https://docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps">Timestamps</a>.</p>"""
    instance_profile_list: NotRequired[
        "capo_securityhub.types.aws_iam_instance_profile_list.AwsIamInstanceProfileList"
    ]
    """<p>The list of instance profiles that contain this role.</p>"""
    permissions_boundary: NotRequired[
        "capo_securityhub.types.aws_iam_permissions_boundary.AwsIamPermissionsBoundary"
    ]
    role_id: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The stable and unique string identifying the role.</p>"""
    role_name: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The friendly name that identifies the role.</p>"""
    role_policy_list: NotRequired[
        "capo_securityhub.types.aws_iam_role_policy_list.AwsIamRolePolicyList"
    ]
    """<p>The list of inline policies that are embedded in the role.</p>"""
    max_session_duration: NotRequired["capo_securityhub.types.integer.Integer"]
    """<p>The maximum session duration (in seconds) that you want to set for the specified role.</p>"""
    path: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The path to the role.</p>"""

assume_role_policy_document instance-attribute

assume_role_policy_document: NotRequired[AwsIamRoleAssumeRolePolicyDocument]

The trust policy that grants permission to assume the role.

attached_managed_policies instance-attribute

attached_managed_policies: NotRequired[AwsIamAttachedManagedPolicyList]

The list of the managed policies that are attached to the role.

create_date instance-attribute

create_date: NotRequired[NonEmptyString]

Indicates when the role was created.

For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps.

instance_profile_list instance-attribute

instance_profile_list: NotRequired[AwsIamInstanceProfileList]

The list of instance profiles that contain this role.

max_session_duration instance-attribute

max_session_duration: NotRequired[Integer]

The maximum session duration (in seconds) that you want to set for the specified role.

path instance-attribute

path: NotRequired[NonEmptyString]

The path to the role.

permissions_boundary instance-attribute

permissions_boundary: NotRequired[AwsIamPermissionsBoundary]

role_id instance-attribute

role_id: NotRequired[NonEmptyString]

The stable and unique string identifying the role.

role_name instance-attribute

role_name: NotRequired[NonEmptyString]

The friendly name that identifies the role.

role_policy_list instance-attribute

role_policy_list: NotRequired[AwsIamRolePolicyList]

The list of inline policies that are embedded in the role.