import * as core from "@terrascript/core"; export interface DsWorkspaceArgs { /** * The tags assigned to the resource */ tags?: core.Map | core.MapOut; /** * (Required) The Grafana workspace ID. */ workspaceId: string | core.StringOut; } export class DsWorkspace extends core.Data { /** * (Required) The type of account access for the workspace. Valid values are `CURRENT_ACCOUNT` and `ORG * ANIZATION`. If `ORGANIZATION` is specified, then `organizational_units` must also be present. */ @core.attr(String, { computed: true }) public accountAccessType!: string | core.StringOut; /** * The Amazon Resource Name (ARN) of the Grafana workspace. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required) The authentication providers for the workspace. Valid values are `AWS_SSO`, `SAML`, or bo * th. */ @core.attr(String, { computed: true, kind: "array" }) public authenticationProviders!: | core.Array | core.ArrayOut; /** * The creation date of the Grafana workspace. */ @core.attr(String, { computed: true }) public createdDate!: string | core.StringOut; /** * The data sources for the workspace. */ @core.attr(String, { computed: true, kind: "array" }) public dataSources!: core.Array | core.ArrayOut; /** * The workspace description. */ @core.attr(String, { computed: true }) public description!: string | core.StringOut; /** * The endpoint of the Grafana workspace. */ @core.attr(String, { computed: true }) public endpoint!: string | core.StringOut; /** * The version of Grafana running on the workspace. */ @core.attr(String, { computed: true }) public grafanaVersion!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The last updated date of the Grafana workspace. */ @core.attr(String, { computed: true }) public lastUpdatedDate!: string | core.StringOut; /** * The Grafana workspace name. */ @core.attr(String, { computed: true }) public name!: string | core.StringOut; /** * The notification destinations. */ @core.attr(String, { computed: true, kind: "array" }) public notificationDestinations!: | core.Array | core.ArrayOut; /** * The role name that the workspace uses to access resources through Amazon Organizations. */ @core.attr(String, { computed: true }) public organizationRoleName!: string | core.StringOut; /** * The Amazon Organizations organizational units that the workspace is authorized to use data sources f * rom. */ @core.attr(String, { computed: true, kind: "array" }) public organizationalUnits!: | core.Array | core.ArrayOut; /** * The permission type of the workspace. */ @core.attr(String, { computed: true }) public permissionType!: string | core.StringOut; /** * The IAM role ARN that the workspace assumes. */ @core.attr(String, { computed: true }) public roleArn!: string | core.StringOut; @core.attr(String, { computed: true }) public samlConfigurationStatus!: string | core.StringOut; /** * The AWS CloudFormation stack set name that provisions IAM roles to be used by the workspace. */ @core.attr(String, { computed: true }) public stackSetName!: string | core.StringOut; /** * The status of the Grafana workspace. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; /** * The tags assigned to the resource */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * (Required) The Grafana workspace ID. */ @core.attr(String) public workspaceId!: string | core.StringOut; constructor(name: string, args?: DsWorkspaceArgs) { super(name, "aws_grafana_workspace", args); } public override getNamespace(): string { return "aws_grafana"; } }