{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-managed-grafana/refs/heads/main/json-schema/amazon-managed-grafana-create-workspace-request-schema.json",
"title": "CreateWorkspaceRequest",
"description": "CreateWorkspaceRequest schema from Amazon Managed Grafana API",
"type": "object",
"properties": {
"accountAccessType": {
"allOf": [
{
"$ref": "#/components/schemas/AccountAccessType"
},
{
"description": "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": {
"allOf": [
{
"$ref": "#/components/schemas/AuthenticationProviders"
},
{
"description": "Specifies whether this workspace uses SAML 2.0, IAM Identity Center (successor to 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": {
"allOf": [
{
"$ref": "#/components/schemas/ClientToken"
},
{
"description": "A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request."
}
]
},
"configuration": {
"allOf": [
{
"$ref": "#/components/schemas/OverridableConfigurationJson"
},
{
"description": "The configuration string for the workspace that you create. For more information about the format and configuration options available, see Working in your Grafana workspace."
}
]
},
"grafanaVersion": {
"allOf": [
{
"$ref": "#/components/schemas/GrafanaVersion"
},
{
"description": "
Specifies the version of Grafana to support in the new workspace.
To get a list of supported version, use the ListVersions operation.
Configuration for network access to your workspace.
When this is configured, only listed IP addresses and VPC endpoints will be able to access your workspace. Standard Grafana authentication and authorization will still be required.
If this is not configured, or is removed, then all IP addresses and VPC endpoints will be allowed. Standard Grafana authentication and authorization will still be required.
" } ] }, "organizationRoleName": { "allOf": [ { "$ref": "#/components/schemas/OrganizationRoleName" }, { "description": "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": { "allOf": [ { "$ref": "#/components/schemas/PermissionType" }, { "description": "When creating a workspace through the Amazon Web Services API, CLI or Amazon Web Services CloudFormation, you must manage IAM roles and provision the permissions that the workspace needs to use Amazon Web Services data sources and notification channels.
You must also specify a workspaceRoleArn for a role that you will manage for the workspace to use when accessing those datasources and notification channels.
The ability for Amazon Managed Grafana to create and update IAM roles on behalf of the user is supported only in the Amazon Managed Grafana console, where this value may be set to SERVICE_MANAGED.
Use only the CUSTOMER_MANAGED permission type when creating a workspace with the API, CLI or Amazon Web Services CloudFormation.
For more information, see Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels.
" } ] }, "stackSetName": { "allOf": [ { "$ref": "#/components/schemas/StackSetName" }, { "description": "The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace." } ] }, "tags": { "allOf": [ { "$ref": "#/components/schemas/TagMap" }, { "description": "The list of tags associated with the workspace." } ] }, "vpcConfiguration": { "allOf": [ { "$ref": "#/components/schemas/VpcConfiguration" }, { "description": "The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to.
Connecting to a private VPC is not yet available in the Asia Pacific (Seoul) Region (ap-northeast-2).
A description for the workspace. This is used only to help you identify this workspace.
Pattern: ^[\\\\p{L}\\\\p{Z}\\\\p{N}\\\\p{P}]{0,2048}$