Skip to main content

resource_policy

Gets an individual resource_policy resource

Overview

Nameresource_policy
TypeResource
Descriptionresource_policy
Idawscc.lex.resource_policy

Fields

NameDatatypeDescription
resource_arnstring
revision_idstring
policyobject
idstring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
resource_arn,
revision_id,
policy,
id
FROM awscc.lex.resource_policy
WHERE data__Identifier = '<Id>';

Permissions

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

Read

lex:DescribeResourcePolicy

Update

lex:UpdateResourcePolicy,
lex:DescribeResourcePolicy

Delete

lex:DeleteResourcePolicy,
lex:DescribeResourcePolicy