WorkspaceState constructor

const WorkspaceState({
  1. Input<String?>? accountAccessType,
  2. Input<String?>? arn,
  3. Input<List<String>?>? authenticationProviders,
  4. Input<String?>? configuration,
  5. Input<List<String>?>? dataSources,
  6. Input<String?>? description,
  7. Input<String?>? endpoint,
  8. Input<String?>? grafanaVersion,
  9. Input<String?>? kmsKeyId,
  10. Input<String?>? name,
  11. Input<WorkspaceNetworkAccessControl?>? networkAccessControl,
  12. Input<List<String>?>? notificationDestinations,
  13. Input<String?>? organizationRoleName,
  14. Input<List<String>?>? organizationalUnits,
  15. Input<String?>? permissionType,
  16. Input<String?>? region,
  17. Input<String?>? roleArn,
  18. Input<String?>? samlConfigurationStatus,
  19. Input<String?>? stackSetName,
  20. Input<Map<String, String>?>? tags,
  21. Input<Map<String, String>?>? tagsAll,
  22. Input<WorkspaceVpcConfiguration?>? vpcConfiguration,
})

Creates a new WorkspaceState. accountAccessType The type of account access for the workspace. Valid values are CURRENT_ACCOUNT and ORGANIZATION. If ORGANIZATION is specified, then organizationalUnits must also be present. arn ARN of the Grafana workspace. authenticationProviders The authentication providers for the workspace. Valid values are AWS_SSO, SAML, or both. configuration 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. dataSources The data sources for the workspace. Valid values are AMAZON_OPENSEARCH_SERVICE, ATHENA, CLOUDWATCH, PROMETHEUS, REDSHIFT, SITEWISE, TIMESTREAM, TWINMAKER, XRAY description The workspace description. endpoint The endpoint of the Grafana workspace. grafanaVersion Specifies the version of Grafana to support in the new workspace. Supported values are 9.4, 10.4 and 12.4. If not specified, defaults to the latest version. kmsKeyId The ARN of the AWS KMS key for encrypting workspace data. name The Grafana workspace name. networkAccessControl Configuration for network access to your workspace.See Network Access Control below. notificationDestinations The notification destinations. If a data source is specified here, Amazon Managed Grafana will create IAM roles and permissions needed to use these destinations. Must be set to SNS. organizationRoleName The role name that the workspace uses to access resources through Amazon Organizations. organizationalUnits The Amazon Organizations organizational units that the workspace is authorized to use data sources from. permissionType The permission type of the workspace. If SERVICE_MANAGED is specified, the IAM roles and IAM policy attachments are generated automatically. If CUSTOMER_MANAGED is specified, the IAM roles and IAM policy attachments will not be created. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. roleArn The IAM role ARN that the workspace assumes. samlConfigurationStatus Optional. stackSetName The AWS CloudFormation stack set name that provisions IAM roles to be used by the workspace. tags Key-value mapping of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. vpcConfiguration The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to. See VPC Configuration below.

Implementation

const WorkspaceState({
  this.accountAccessType,
  this.arn,
  this.authenticationProviders,
  this.configuration,
  this.dataSources,
  this.description,
  this.endpoint,
  this.grafanaVersion,
  this.kmsKeyId,
  this.name,
  this.networkAccessControl,
  this.notificationDestinations,
  this.organizationRoleName,
  this.organizationalUnits,
  this.permissionType,
  this.region,
  this.roleArn,
  this.samlConfigurationStatus,
  this.stackSetName,
  this.tags,
  this.tagsAll,
  this.vpcConfiguration,
});