permission
Gets an individual permission
resource
Overview
Name | permission |
Type | Resource |
Description | permission |
Id | awscc.ram.permission |
Fields
Name | Datatype | Description |
---|---|---|
arn | string | |
name | string | The name of the permission. |
version | string | Version of the permission. |
is_resource_type_default | boolean | Set to true to use this as the default permission. |
permission_type | string | |
resource_type | string | The resource type this permission can be used with. |
policy_template | object | Policy template for the permission. |
tags | array | |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
arn,
name,
version,
is_resource_type_default,
permission_type,
resource_type,
policy_template,
tags
FROM awscc.ram.permission
WHERE data__Identifier = '<Arn>';
Permissions
To operate on the permission
resource, the following permissions are required:
Read
ram:GetPermission
Update
ram:CreatePermissionVersion,
ram:DeletePermissionVersion,
ram:SetDefaultPermissionVersion,
ram:GetPermission,
ram:ReplacePermissionAssociations,
ram:ListReplacePermissionAssociationsWork,
ram:ListPermissionVersions,
ram:UntagResource,
ram:TagResource
Delete
ram:DeletePermissionVersion,
ram:DeletePermission