Skip to content

Data Source: awsGrafanaWorkspace

Provides an Amazon Managed Grafana workspace data source.

Example Usage

Basic configuration

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsGrafanaWorkspace.DataAwsGrafanaWorkspace(this, "example", {
  workspaceId: "g-2054c75a02",
});

Argument Reference

The following arguments are required:

  • workspaceId - (Required) Grafana workspace ID.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • accountAccessType - (Required) Type of account access for the workspace. Valid values are CURRENT_ACCOUNT and organization. If organization is specified, then organizationalUnits must also be present.
  • authenticationProviders - (Required) Authentication providers for the workspace. Valid values are AWS_SSO, saml, or both.
  • arn - ARN of the Grafana workspace.
  • createdDate - Creation date of the Grafana workspace.
  • dataSources - Data sources for the workspace.
  • description - Workspace description.
  • endpoint - Endpoint of the Grafana workspace.
  • grafanaVersion - Version of Grafana running on the workspace.
  • lastUpdatedDate - Last updated date of the Grafana workspace.
  • name - Grafana workspace name.
  • notificationDestinations - The notification destinations.
  • organizationRoleName - The role name that the workspace uses to access resources through Amazon Organizations.
  • organizationalUnits - The Amazon Organizations organizational units that the workspace is authorized to use data sources from.
  • permissionType - Permission type of the workspace.
  • roleArn - IAM role ARN that the workspace assumes.
  • stackSetName - AWS CloudFormation stack set name that provisions IAM roles to be used by the workspace.
  • status - Status of the Grafana workspace.
  • tags - Tags assigned to the resource