CmdID

CmdID / aws / aws iot

aws iot describe-role-alias

Describes a role alias. AWS CLI reference

1 example 1 option Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To get information about an AWS IoT role alias

The following describe-role-alias example displays details for the specified role alias.

aws iot describe-role-alias --role-alias LightBulbRoleIdentify
--role-aliasThe role alias to describe.
Its output
{
    "roleAliasDescription": {
        "roleAlias": "LightBulbRole",
        "roleAliasArn": "arn:aws:iot:us-west-2:123456789012:rolealias/LightBulbRole",
        "roleArn": "arn:aws:iam::123456789012:role/light_bulb_role_001",
        "owner": "123456789012",
        "credentialDurationSeconds": 3600,
        "creationDate": 1570558643.221,
        "lastModifiedDate": 1570558643.221
    }
}

For more information, see Authorizing direct calls to AWS services using AWS IoT Core credential provider in the AWS IoT Core Developer Guide.

Options

1 in the AWS CLI reference
--role-aliasThe role alias to describe.