Skip to content

CreateRoleAliasRequest

Source code in docs_src/capo_iot/types/create_role_alias_request.py
class CreateRoleAliasRequest(TypedDict, closed=True):
    role_alias: "capo_iot.types.role_alias.RoleAlias"
    """<p>The role alias that points to a role ARN. This allows you to change the role without having to update the device.</p>"""
    role_arn: "capo_iot.types.role_arn.RoleArn"
    """<p>The role ARN.</p>"""
    credential_duration_seconds: NotRequired[
        "capo_iot.types.credential_duration_seconds.CredentialDurationSeconds"
    ]
    """<p>How long (in seconds) the credentials will be valid. The default value is 3,600 seconds.</p> <p>This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.</p>"""
    tags: NotRequired["capo_iot.types.tag_list.TagList"]
    """<p>Metadata which can be used to manage the role alias.</p> <note> <p>For URI Request parameters use format: ...key1=value1&key2=value2...</p> <p>For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."</p> <p>For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."</p> </note>"""

credential_duration_seconds instance-attribute

credential_duration_seconds: NotRequired[CredentialDurationSeconds]

How long (in seconds) the credentials will be valid. The default value is 3,600 seconds.

This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.

role_alias instance-attribute

role_alias: RoleAlias

The role alias that points to a role ARN. This allows you to change the role without having to update the device.

role_arn instance-attribute

role_arn: RoleArn

The role ARN.

tags instance-attribute

tags: NotRequired[TagList]

Metadata which can be used to manage the role alias.

For URI Request parameters use format: ...key1=value1&key2=value2...

For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."

For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."