Skip to main content

role_alias

Gets an individual role_alias resource

Overview

Namerole_alias
TypeResource
Descriptionrole_alias
Idawscc.iot.role_alias

Fields

NameDatatypeDescription
role_aliasstring
role_alias_arnstring
role_arnstring
credential_duration_secondsinteger
tagsarray
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
role_alias,
role_alias_arn,
role_arn,
credential_duration_seconds,
tags
FROM awscc.iot.role_alias
WHERE data__Identifier = '<RoleAlias>';

Permissions

To operate on the role_alias resource, the following permissions are required:

Read

iam:GetRole,
iam:PassRole,
iot:DescribeRoleAlias,
iot:ListTagsForResource

Update

iam:GetRole,
iam:PassRole,
iot:UpdateRoleAlias,
iot:DescribeRoleAlias,
iot:TagResource,
iot:UntagResource,
iot:ListTagsForResource

Delete

iot:DeleteRoleAlias,
iot:DescribeRoleAlias