resource_policy
Gets an individual resource_policy
resource
Overview
Name | resource_policy |
Type | Resource |
Description | resource_policy |
Id | awscc.vpclattice.resource_policy |
Fields
Name | Datatype | Description |
---|---|---|
resource_arn | string | |
policy | object | |
region | string | AWS 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