Skip to content

CreateWorkspaceRequest

Source code in docs_src/capo_grafana/types/create_workspace_request.py
class CreateWorkspaceRequest(TypedDict, closed=True):
    account_access_type: "capo_grafana.types.account_access_type.AccountAccessType"
    """<p>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 <code>ORGANIZATION</code>, you must specify which organizational units the workspace can access in the <code>workspaceOrganizationalUnits</code> parameter.</p>"""
    client_token: NotRequired["capo_grafana.types.client_token.ClientToken"]
    """<p>A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.</p>"""
    organization_role_name: NotRequired[
        "capo_grafana.types.organization_role_name.OrganizationRoleName"
    ]
    """<p>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.</p>"""
    permission_type: "capo_grafana.types.permission_type.PermissionType"
    """<p>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.</p> <p>You must also specify a <code>workspaceRoleArn</code> for a role that you will manage for the workspace to use when accessing those datasources and notification channels.</p> <p>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 <code>SERVICE_MANAGED</code>.</p> <note> <p>Use only the <code>CUSTOMER_MANAGED</code> permission type when creating a workspace with the API, CLI or Amazon Web Services CloudFormation. </p> </note> <p>For more information, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/AMG-manage-permissions.html">Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels</a>.</p>"""
    stack_set_name: NotRequired["capo_grafana.types.stack_set_name.StackSetName"]
    """<p>The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace.</p>"""
    workspace_data_sources: NotRequired[
        "capo_grafana.types.data_source_types_list.DataSourceTypesList"
    ]
    """<p>This parameter is for internal use only, and should not be used.</p>"""
    workspace_description: NotRequired["capo_grafana.types.description.Description"]
    r"""<p>A description for the workspace. This is used only to help you identify this workspace.</p> <p>Pattern: <code>^[\\p{L}\\p{Z}\\p{N}\\p{P}]{0,2048}$</code> </p>"""
    workspace_name: NotRequired["capo_grafana.types.workspace_name.WorkspaceName"]
    """<p>The name for the workspace. It does not have to be unique.</p>"""
    workspace_notification_destinations: NotRequired[
        "capo_grafana.types.notification_destinations_list.NotificationDestinationsList"
    ]
    """<p>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.</p>"""
    workspace_organizational_units: NotRequired[
        "capo_grafana.types.organizational_unit_list.OrganizationalUnitList"
    ]
    """<p>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.</p>"""
    workspace_role_arn: NotRequired["capo_grafana.types.iam_role_arn.IamRoleArn"]
    """<p>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. </p>"""
    authentication_providers: (
        "capo_grafana.types.authentication_providers.AuthenticationProviders"
    )
    """<p>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 <a href="https://docs.aws.amazon.com/grafana/latest/userguide/authentication-in-AMG.html">User authentication in Amazon Managed Grafana</a>.</p>"""
    tags: NotRequired["capo_grafana.types.tag_map.TagMap"]
    """<p>The list of tags associated with the workspace.</p>"""
    vpc_configuration: NotRequired[
        "capo_grafana.types.vpc_configuration.VpcConfiguration"
    ]
    """<p>The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to.</p> <note> <p>Connecting to a private VPC is not yet available in the Asia Pacific (Seoul) Region (ap-northeast-2).</p> </note>"""
    configuration: NotRequired[
        "capo_grafana.types.overridable_configuration_json.OverridableConfigurationJson"
    ]
    """<p>The configuration string for the workspace that you create. For more information about the format and configuration options available, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/AMG-configure-workspace.html">Working in your Grafana workspace</a>.</p>"""
    network_access_control: NotRequired[
        "capo_grafana.types.network_access_configuration.NetworkAccessConfiguration"
    ]
    """<p>Configuration for network access to your workspace.</p> <p>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.</p> <p>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.</p>"""
    grafana_version: NotRequired["capo_grafana.types.grafana_version.GrafanaVersion"]
    """<p>Specifies the version of Grafana to support in the new workspace. If not specified, defaults to the latest version (for example, 10.4).</p> <p>To get a list of supported versions, use the <code>ListVersions</code> operation.</p>"""
    ip_address_type: NotRequired["capo_grafana.types.ip_address_type.IPAddressType"]
    """<p>Specifies whether the workspace supports IPv4 only, or IPv4 and IPv6. Valid values are <code>IPv4</code> and <code>DualStack</code>. For more information about IP address types, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/AMG-configure-nac.html">Network access control</a>.</p>"""
    kms_key_id: NotRequired["capo_grafana.types.kms_key_id.KmsKeyId"]
    """<p>The ID or ARN of the Key Management Service key to use for encrypting workspace data.</p>"""

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.

tags instance-attribute

tags: NotRequired[TagMap]

The list of tags associated with the 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.