Skip to main content

managed_views

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

Overview

Namemanaged_views
TypeResource
Idaws.resource_explorer_2.managed_views

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
filtersobjectA search filter defines which resources can be part of a search query result set.
included_propertiesarrayA structure that contains additional information about the managed view.
last_updated_atstring (date-time)The date and time when this managed view was last modified.
managed_view_arnstringThe Amazon resource name (ARN) of the managed view.
managed_view_namestringThe name of the managed view.
ownerstringThe Amazon Web Services account that owns this managed view.
resource_policystringThe resource policy that defines access to the managed view. To learn more about this policy, review Managed views.
scopestringAn Amazon resource name (ARN) of an Amazon Web Services account or organization that specifies whether this managed view includes resources from only the specified Amazon Web Services account or all accounts in the specified organization.
trusted_servicestringThe service principal of the Amazon Web Services service that created and manages the managed view.
versionstringThe version of the managed view.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_managed_viewselectregionRetrieves details of the specified Amazon Web Services-managed view.
list_managed_viewsselectregionLists the Amazon resource names (ARNs) of the Amazon Web Services-managed views available in the Amazon Web Services Region in which you call this operation.

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 details of the specified Amazon Web Services-managed view.

SELECT
filters,
included_properties,
last_updated_at,
managed_view_arn,
managed_view_name,
owner,
resource_policy,
scope,
trusted_service,
version
FROM aws.resource_explorer_2.managed_views
WHERE region = '{{ region }}' -- required
;