Skip to main content

resource_policies

Creates, updates, deletes, gets or lists a resource_policies resource.

Overview

Nameresource_policies
TypeResource
Idaws.bcm_dashboards.resource_policies

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
policy_documentstringThe JSON policy document that represents the dashboard's resource-based policy. (pattern: <code>[\S\s]*</code>)
resource_arnstringThe ARN of the dashboard for which the resource-based policy was retrieved. (pattern: <code>arn:aws[-a-z0-9]*:bcm-dashboards::[0-9]{12}:dashboard/(*|[-a-z0-9]+)</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_resource_policyselectregionRetrieves the resource-based policy attached to a dashboard, showing sharing configurations and permissions.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves the resource-based policy attached to a dashboard, showing sharing configurations and permissions.

SELECT
policy_document,
resource_arn
FROM aws.bcm_dashboards.resource_policies
WHERE region = '{{ region }}' -- required
;