Skip to main content

workspaces_list_only

Lists workspaces in a region or regions, for all properties use workspaces

Overview

Nameworkspaces_list_only
TypeResource
DescriptionDefinition of AWS::Grafana::Workspace Resource Type
Idaws.grafana.workspaces_list_only

Fields

NameDatatypeDescription
authentication_providersarrayList of authentication providers to enable.
sso_client_idstringThe client ID of the AWS SSO Managed Application.
saml_configurationobjectSAML configuration data associated with an AMG workspace.
network_access_controlobjectThe configuration settings for Network Access Control.
vpc_configurationobjectThe configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to.
saml_configuration_statusstringValid SAML configuration statuses.
client_tokenstringA unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
statusstringThese enums represent the status of a workspace.
creation_timestampstringTimestamp when the workspace was created.
modification_timestampstringTimestamp when the workspace was last modified
grafana_versionstringThe version of Grafana to support in your workspace.
endpointstringEndpoint for the Grafana workspace.
account_access_typestringThese enums represent valid account access types. Specifically these enums determine whether the workspace can access AWS resources in the AWS account only, or whether it can also access resources in other accounts in the same organization. If the value CURRENT_ACCOUNT is used, a workspace role ARN must be provided. If the value is ORGANIZATION, a list of organizational units must be provided.
organization_role_namestringThe name of an IAM role that already exists to use with AWS Organizations to access AWS data sources and notification channels in other accounts in an organization.
permission_typestringThese enums represent valid permission types to use when creating or configuring a Grafana workspace. The SERVICE_MANAGED permission type means the Managed Grafana service will create a workspace IAM role on your behalf. The CUSTOMER_MANAGED permission type means that the customer is expected to provide an IAM role that the Grafana workspace can use to query data sources.
stack_set_namestringThe name of the AWS CloudFormation stack set to use to generate IAM roles to be used for this workspace.
data_sourcesarrayList of data sources on the service managed IAM role.
descriptionstringDescription of a workspace.
idstringThe id that uniquely identifies a Grafana workspace.
namestringThe user friendly name of a workspace.
notification_destinationsarrayList of notification destinations on the customers service managed IAM role that the Grafana workspace can query.
organizational_unitsarrayList of Organizational Units containing AWS accounts the Grafana workspace can pull data from.
role_arnstringIAM Role that will be used to grant the Grafana workspace access to a customers AWS resources.
plugin_admin_enabledbooleanAllow workspace admins to install plugins
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all workspaces in a region.

SELECT
region,
id
FROM aws.grafana.workspaces_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the workspaces_list_only resource, see workspaces