managed_views
Creates, updates, deletes, gets or lists a managed_views resource.
Overview
| Name | managed_views |
| Type | Resource |
| Id | aws.resource_explorer_2.managed_views |
Fields
The following fields are returned by SELECT queries:
- get_managed_view
- list_managed_views
| Name | Datatype | Description |
|---|---|---|
filters | object | A search filter defines which resources can be part of a search query result set. |
included_properties | array | A structure that contains additional information about the managed view. |
last_updated_at | string (date-time) | The date and time when this managed view was last modified. |
managed_view_arn | string | The Amazon resource name (ARN) of the managed view. |
managed_view_name | string | The name of the managed view. |
owner | string | The Amazon Web Services account that owns this managed view. |
resource_policy | string | The resource policy that defines access to the managed view. To learn more about this policy, review Managed views. |
scope | string | An 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_service | string | The service principal of the Amazon Web Services service that created and manages the managed view. |
version | string | The version of the managed view. |
| Name | Datatype | Description |
|---|---|---|
managed_view | string | The list of managed views available in the Amazon Web Services Region in which you called this operation. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_managed_view | select | region | Retrieves details of the specified Amazon Web Services-managed view. | |
list_managed_views | select | region | Lists 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_managed_view
- list_managed_views
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
;
Lists 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.
SELECT
managed_view
FROM aws.resource_explorer_2.managed_views
WHERE region = '{{ region }}' -- required
;