service_linked_role
Gets an individual service_linked_role
resource
Overview
Name | service_linked_role |
Type | Resource |
Description | service_linked_role |
Id | awscc.iam.service_linked_role |
Fields
Name | Datatype | Description |
---|---|---|
role_name | string | The name of the role. |
custom_suffix | string | A string that you provide, which is combined with the service-provided prefix to form the complete role name. |
description | string | The description of the role. |
aws_service_name | string | The service principal for the AWS service to which this role is attached. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
role_name,
custom_suffix,
description,
aws_service_name
FROM awscc.iam.service_linked_role
WHERE data__Identifier = '<RoleName>';
Permissions
To operate on the service_linked_role
resource, the following permissions are required:
Read
iam:GetRole
Update
iam:UpdateRole,
iam:GetRole
Delete
iam:DeleteServiceLinkedRole,
iam:GetServiceLinkedRoleDeletionStatus,
iam:GetRole