WorkspaceDescription
¶
Source code in docs_src/capo_grafana/types/workspace_description.py
account_access_type
instance-attribute
¶
account_access_type: NotRequired[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 this is ORGANIZATION, the workspaceOrganizationalUnits parameter specifies which organizational units the workspace can access.
authentication
instance-attribute
¶
authentication: AuthenticationSummary
A structure that describes whether the workspace uses SAML, IAM Identity Center, or both methods for user authentication.
data_sources
instance-attribute
¶
data_sources: DataSourceTypesList
Specifies the Amazon Web Services data sources that have been configured to have IAM roles and permissions created to allow Amazon Managed Grafana to read data from these sources.
This list is only used when the workspace was created through the Amazon Web Services console, and the permissionType is SERVICE_MANAGED.
degraded_workspace_reason
instance-attribute
¶
degraded_workspace_reason: NotRequired[DegradedWorkspaceReason]
If the workspace is in the DEGRADED status, this field describes the reason the workspace is degraded.
description
instance-attribute
¶
description: NotRequired[Description]
The user-defined description of the workspace.
endpoint
instance-attribute
¶
endpoint: Endpoint
The URL that users can use to access the Grafana console in the workspace.
free_trial_consumed
instance-attribute
¶
free_trial_consumed: NotRequired[bool]
Specifies whether this workspace has already fully used its free trial for Grafana Enterprise.
Amazon Managed Grafana workspaces no longer support Grafana Enterprise free trials.
free_trial_expiration
instance-attribute
¶
free_trial_expiration: NotRequired[datetime]
If this workspace is currently in the free trial period for Grafana Enterprise, this value specifies when that free trial ends.
Amazon Managed Grafana workspaces no longer support Grafana Enterprise free trials.
grafana_token
instance-attribute
¶
grafana_token: NotRequired[GrafanaToken]
The token that ties this workspace to a Grafana Labs account. For more information, see Link your account with Grafana Labs.
grafana_version
instance-attribute
¶
grafana_version: GrafanaVersion
The version of Grafana supported in this workspace.
ip_address_type
instance-attribute
¶
ip_address_type: NotRequired[IPAddressType]
The type of IP addresses supported for connection to the workspace. Valid values are IPv4 and DualStack.
kms_key_id
instance-attribute
¶
kms_key_id: NotRequired[KmsKeyId]
The ID or ARN of the Key Management Service key used for encrypting workspace data.
license_expiration
instance-attribute
¶
license_expiration: NotRequired[datetime]
If this workspace has a full Grafana Enterprise license purchased through Amazon Web Services Marketplace, this specifies when the license ends and will need to be renewed. Purchasing the Enterprise plugins option through Amazon Managed Grafana does not have an expiration. It is valid until the license is removed.
license_type
instance-attribute
¶
license_type: NotRequired[LicenseType]
Specifies whether this workspace has a full Grafana Enterprise license.
Amazon Managed Grafana workspaces no longer support Grafana Enterprise free trials.
modified
instance-attribute
¶
modified: datetime
The most recent date that the workspace was modified.
network_access_control
instance-attribute
¶
network_access_control: NotRequired[NetworkAccessConfiguration]
The configuration settings for network access to your workspace.
notification_destinations
instance-attribute
¶
notification_destinations: NotRequired[NotificationDestinationsList]
The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, to allow Amazon Managed Grafana to use these channels.
organization_role_name
instance-attribute
¶
organization_role_name: NotRequired[OrganizationRoleName]
The name of the IAM role that is used to access resources through Organizations.
organizational_units
instance-attribute
¶
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.
permission_type
instance-attribute
¶
permission_type: NotRequired[PermissionType]
If this is SERVICE_MANAGED, and the workplace was created through the Amazon Managed Grafana console, then 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 this is CUSTOMER_MANAGED, you must manage those roles and permissions yourself.
If you are working with a workspace in a member account of an organization and that account is not a delegated administrator account, and you want the workspace to access data sources in other Amazon Web Services accounts in the organization, this parameter must be set to CUSTOMER_MANAGED.
For more information about converting between customer and service managed, see Managing permissions for data sources and notification channels. For more information about the roles and permissions that must be managed for customer managed workspaces, 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 that is used to generate IAM roles to be used for this workspace.
vpc_configuration
instance-attribute
¶
vpc_configuration: NotRequired[VpcConfiguration]
The configuration for connecting to data sources in a private VPC (Amazon Virtual Private Cloud).
workspace_role_arn
instance-attribute
¶
workspace_role_arn: NotRequired[IamRoleArn]
The IAM role that grants permissions to the Amazon Web Services resources that the workspace will view data from. This role must already exist.