CreateWorkspaceRequest
¶
Source code in docs_src/capo_grafana/types/create_workspace_request.py
account_access_type
instance-attribute
¶
account_access_type: AccountAccessType
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.
authentication_providers
instance-attribute
¶
authentication_providers: AuthenticationProviders
Specifies whether this workspace uses SAML 2.0, IAM Identity Center, or both to authenticate users for using the Grafana console within a workspace. For more information, see User authentication in Amazon Managed Grafana.
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
configuration
instance-attribute
¶
configuration: NotRequired[OverridableConfigurationJson]
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.
grafana_version
instance-attribute
¶
grafana_version: NotRequired[GrafanaVersion]
Specifies the version of Grafana to support in the new workspace. If not specified, defaults to the latest version (for example, 10.4).
To get a list of supported versions, use the ListVersions operation.
ip_address_type
instance-attribute
¶
ip_address_type: NotRequired[IPAddressType]
Specifies whether the workspace supports IPv4 only, or IPv4 and IPv6. Valid values are IPv4 and DualStack. For more information about IP address types, see Network access control.
kms_key_id
instance-attribute
¶
kms_key_id: NotRequired[KmsKeyId]
The ID or ARN of the Key Management Service key to use for encrypting workspace data.
network_access_control
instance-attribute
¶
network_access_control: NotRequired[NetworkAccessConfiguration]
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.
organization_role_name
instance-attribute
¶
organization_role_name: NotRequired[OrganizationRoleName]
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.
permission_type
instance-attribute
¶
permission_type: PermissionType
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.
stack_set_name
instance-attribute
¶
stack_set_name: NotRequired[StackSetName]
The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace.
vpc_configuration
instance-attribute
¶
vpc_configuration: NotRequired[VpcConfiguration]
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).
workspace_data_sources
instance-attribute
¶
workspace_data_sources: NotRequired[DataSourceTypesList]
This parameter is for internal use only, and should not be used.
workspace_description
instance-attribute
¶
workspace_description: NotRequired[Description]
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}$
workspace_name
instance-attribute
¶
workspace_name: NotRequired[WorkspaceName]
The name for the workspace. It does not have to be unique.
workspace_notification_destinations
instance-attribute
¶
workspace_notification_destinations: NotRequired[NotificationDestinationsList]
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.
workspace_organizational_units
instance-attribute
¶
workspace_organizational_units: NotRequired[OrganizationalUnitList]
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.
workspace_role_arn
instance-attribute
¶
workspace_role_arn: NotRequired[IamRoleArn]
Specified the IAM role that grants permissions to the Amazon Web Services resources that the workspace will view data from, including both data sources and notification channels. You are responsible for managing the permissions for this role as new data sources or notification channels are added.