Skip to content

ProfileDetail

Source code in docs_src/capo_rolesanywhere/types/profile_detail.py
class ProfileDetail(TypedDict, closed=True):
    profile_id: NotRequired["capo_rolesanywhere.types.uuid.Uuid"]
    """<p>The unique identifier of the profile.</p>"""
    profile_arn: NotRequired[
        "capo_rolesanywhere.types.profile_resource_arn.ProfileResourceArn"
    ]
    """<p>The ARN of the profile.</p>"""
    name: NotRequired["capo_rolesanywhere.types.resource_name.ResourceName"]
    """<p>The name of the profile.</p>"""
    require_instance_properties: NotRequired["bool"]
    """<p>Unused, saved for future use. Will likely specify whether instance properties are required in temporary credential requests with this profile. </p>"""
    enabled: NotRequired["bool"]
    """<p>Indicates whether the profile is enabled.</p>"""
    created_by: NotRequired["str"]
    """<p>The Amazon Web Services account that created the profile.</p>"""
    session_policy: NotRequired["str"]
    """<p>A session policy that applies to the trust boundary of the vended session credentials. </p>"""
    role_arns: NotRequired["capo_rolesanywhere.types.role_arn_list.RoleArnList"]
    """<p>A list of IAM roles that this profile can assume in a temporary credential request.</p>"""
    managed_policy_arns: NotRequired[
        "capo_rolesanywhere.types.managed_policy_list.ManagedPolicyList"
    ]
    """<p>A list of managed policy ARNs that apply to the vended session credentials. </p>"""
    created_at: NotRequired["datetime.datetime"]
    """<p>The ISO-8601 timestamp when the profile was created. </p>"""
    updated_at: NotRequired["datetime.datetime"]
    """<p>The ISO-8601 timestamp when the profile was last updated. </p>"""
    duration_seconds: NotRequired["int"]
    """<p> Used to determine how long sessions vended using this profile are valid for. See the <code>Expiration</code> section of the <a href="https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object">CreateSession API documentation</a> page for more details. In requests, if this value is not provided, the default value will be 3600. </p>"""
    accept_role_session_name: NotRequired["bool"]
    """<p>Used to determine if a custom role session name will be accepted in a temporary credential request.</p>"""
    attribute_mappings: NotRequired[
        "capo_rolesanywhere.types.attribute_mappings.AttributeMappings"
    ]
    """<p>A mapping applied to the authenticating end-entity certificate.</p>"""
    alias_name: NotRequired["capo_rolesanywhere.types.alias_name.AliasName"]
    """<p>The alias of the profile. Present only if the profile has an alias.</p>"""
    alias_arn: NotRequired["capo_rolesanywhere.types.profile_alias_arn.ProfileAliasArn"]
    """<p>The alias ARN of the profile, in the form <code>arn:<i>partition</i>:rolesanywhere:<i>region</i>:<i>account</i>:alias/profile/<i>alias-name</i> </code>. Present only if the profile has an alias.</p> <p>You can use the alias ARN in place of the resource ID or ARN in the request parameters whose descriptions say that they accept an alias ARN. Don't use the alias ARN in Identity and Access Management (IAM) policies. A policy statement that names an alias ARN doesn't apply to the resource that holds the alias. Write policies with the ARN that contains the resource ID instead.</p>"""
    tip_configuration: NotRequired[
        "capo_rolesanywhere.types.tip_configuration.TipConfiguration"
    ]
    """<p>The trusted identity propagation (TIP) settings of the profile.</p>"""
    previous_alias_name: NotRequired["capo_rolesanywhere.types.alias_name.AliasName"]
    """<p>The alias that the resource had before the update request. IAM Roles Anywhere returns this value only in the response to an update request that changed or removed an existing alias. It isn't returned when the alias was unchanged, when the resource had no alias before the request, or by other operations.</p>"""

accept_role_session_name instance-attribute

accept_role_session_name: NotRequired[bool]

Used to determine if a custom role session name will be accepted in a temporary credential request.

alias_arn instance-attribute

alias_arn: NotRequired[ProfileAliasArn]

The alias ARN of the profile, in the form arn:partition:rolesanywhere:region:account:alias/profile/alias-name . Present only if the profile has an alias.

You can use the alias ARN in place of the resource ID or ARN in the request parameters whose descriptions say that they accept an alias ARN. Don't use the alias ARN in Identity and Access Management (IAM) policies. A policy statement that names an alias ARN doesn't apply to the resource that holds the alias. Write policies with the ARN that contains the resource ID instead.

alias_name instance-attribute

alias_name: NotRequired[AliasName]

The alias of the profile. Present only if the profile has an alias.

attribute_mappings instance-attribute

attribute_mappings: NotRequired[AttributeMappings]

A mapping applied to the authenticating end-entity certificate.

created_at instance-attribute

created_at: NotRequired[datetime]

The ISO-8601 timestamp when the profile was created.

created_by instance-attribute

created_by: NotRequired[str]

The Amazon Web Services account that created the profile.

duration_seconds instance-attribute

duration_seconds: NotRequired[int]

Used to determine how long sessions vended using this profile are valid for. See the Expiration section of the CreateSession API documentation page for more details. In requests, if this value is not provided, the default value will be 3600.

enabled instance-attribute

enabled: NotRequired[bool]

Indicates whether the profile is enabled.

managed_policy_arns instance-attribute

managed_policy_arns: NotRequired[ManagedPolicyList]

A list of managed policy ARNs that apply to the vended session credentials.

name instance-attribute

name: NotRequired[ResourceName]

The name of the profile.

previous_alias_name instance-attribute

previous_alias_name: NotRequired[AliasName]

The alias that the resource had before the update request. IAM Roles Anywhere returns this value only in the response to an update request that changed or removed an existing alias. It isn't returned when the alias was unchanged, when the resource had no alias before the request, or by other operations.

profile_arn instance-attribute

profile_arn: NotRequired[ProfileResourceArn]

The ARN of the profile.

profile_id instance-attribute

profile_id: NotRequired[Uuid]

The unique identifier of the profile.

require_instance_properties instance-attribute

require_instance_properties: NotRequired[bool]

Unused, saved for future use. Will likely specify whether instance properties are required in temporary credential requests with this profile.

role_arns instance-attribute

role_arns: NotRequired[RoleArnList]

A list of IAM roles that this profile can assume in a temporary credential request.

session_policy instance-attribute

session_policy: NotRequired[str]

A session policy that applies to the trust boundary of the vended session credentials.

tip_configuration instance-attribute

tip_configuration: NotRequired[TipConfiguration]

The trusted identity propagation (TIP) settings of the profile.

updated_at instance-attribute

updated_at: NotRequired[datetime]

The ISO-8601 timestamp when the profile was last updated.