Skip to main content

resource_policy

Gets an individual resource_policy resource

Overview

Nameresource_policy
TypeResource
Descriptionresource_policy
Idawscc.vpclattice.resource_policy

Fields

NameDatatypeDescription
resource_arnstring
policyobject
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
resource_arn,
policy
FROM awscc.vpclattice.resource_policy
WHERE data__Identifier = '<ResourceArn>';

Permissions

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

Read

vpc-lattice:GetResourcePolicy

Update

vpc-lattice:GetResourcePolicy,
vpc-lattice:PutResourcePolicy

Delete

vpc-lattice:GetResourcePolicy,
vpc-lattice:DeleteResourcePolicy