Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CreateWorkspaceRequest

import type { CreateWorkspaceRequest } from "https://aws-api.deno.dev/v0.3/services/grafana.ts?docs=full";
interface CreateWorkspaceRequest {
accountAccessType: AccountAccessType;
authenticationProviders: AuthenticationProviderTypes[];
clientToken?: string | null;
organizationRoleName?: string | null;
permissionType: PermissionType;
stackSetName?: string | null;
workspaceDataSources?: DataSourceType[] | null;
workspaceDescription?: string | null;
workspaceName?: string | null;
workspaceNotificationDestinations?: NotificationDestinationType[] | null;
workspaceOrganizationalUnits?: string[] | null;
workspaceRoleArn?: string | null;
}

§Properties

§
accountAccessType: AccountAccessType
[src]

Specifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services account only, or whether it can also access Amazon Web Services resources in other accounts in the same organization. If you specify ORGANIZATION, you must specify which organizational units the workspace can access in the workspaceOrganizationalUnits parameter.

§
authenticationProviders: AuthenticationProviderTypes[]
[src]

Specifies whether this workspace uses SAML 2.0, Amazon Web Services Single Sign On, or both to authenticate users for using the Grafana console within a workspace. For more information, see User authentication in Amazon Managed Grafana.

§
clientToken?: string | null
[src]

A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

§
organizationRoleName?: string | null
[src]

The name of an IAM role that already exists to use with Organizations to access Amazon Web Services data sources and notification channels in other accounts in an organization.

§
permissionType: PermissionType
[src]

If you specify Service Managed, Amazon Managed Grafana automatically creates the IAM roles and provisions the permissions that the workspace needs to use Amazon Web Services data sources and notification channels.

If you specify CUSTOMER_MANAGED, you will manage those roles and permissions yourself. If you are creating this workspace in a member account of an organization that is not a delegated administrator account, and you want the workspace to access data sources in other Amazon Web Services accounts in the organization, you must choose CUSTOMER_MANAGED.

For more information, see Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels

§
stackSetName?: string | null
[src]

The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace.

§
workspaceDataSources?: DataSourceType[] | null
[src]

Specify the Amazon Web Services data sources that you want to be queried in this workspace. Specifying these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow Amazon Managed Grafana to read data from these sources. You must still add them as data sources in the Grafana console in the workspace.

If you don't specify a data source here, you can still add it as a data source in the workspace console later. However, you will then have to manually configure permissions for it.

§
workspaceDescription?: string | null
[src]

A description for the workspace. This is used only to help you identify this workspace.

§
workspaceName?: string | null
[src]

The name for the workspace. It does not have to be unique.

§
workspaceNotificationDestinations?: NotificationDestinationType[] | null
[src]

Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow Amazon Managed Grafana to use these channels.

§
workspaceOrganizationalUnits?: string[] | null
[src]

Specifies the organizational units that this workspace is allowed to use data sources from, if this workspace is in an account that is part of an organization.

§
workspaceRoleArn?: string | null
[src]

The workspace needs an IAM role that grants permissions to the Amazon Web Services resources that the workspace will view data from. If you already have a role that you want to use, specify it here. If you omit this field and you specify some Amazon Web Services resources in workspaceDataSources or workspaceNotificationDestinations, a new IAM role with the necessary permissions is automatically created.