Class WorkspaceArgs


  • public final class WorkspaceArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • accountAccessType

        public com.pulumi.core.Output<java.lang.String> accountAccessType()
        Returns:
        Type of account access for the workspace. Valid values are `CURRENT_ACCOUNT` and `ORGANIZATION`. If `ORGANIZATION` is specified, then `organizationalUnits` must also be present.
      • authenticationProviders

        public com.pulumi.core.Output<java.util.List<java.lang.String>> authenticationProviders()
        Returns:
        Authentication providers for the workspace. Valid values are `AWS_SSO`, `SAML`, or both.
      • configuration

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> configuration()
        Returns:
        Configuration string for the workspace that you create. For more information about the format and configuration options available, see [Working in your Grafana workspace](https://docs.aws.amazon.com/grafana/latest/userguide/AMG-configure-workspace.html).
      • dataSources

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> dataSources()
        Returns:
        Data sources for the workspace. Valid values are `AMAZON_OPENSEARCH_SERVICE`, `ATHENA`, `CLOUDWATCH`, `PROMETHEUS`, `REDSHIFT`, `SITEWISE`, `TIMESTREAM`, `TWINMAKER`, `XRAY`
      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        Workspace description.
      • grafanaVersion

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> grafanaVersion()
        Returns:
        Version of Grafana to support in the new workspace. Supported values are `9.4`, `10.4`, `12.4` and `13.2`. If not specified, defaults to the latest version.
      • kmsKeyId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> kmsKeyId()
        Returns:
        ARN of the AWS KMS key for encrypting workspace data.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Grafana workspace name.
      • networkAccessControl

        public java.util.Optional<com.pulumi.core.Output<WorkspaceNetworkAccessControlArgs>> networkAccessControl()
        Returns:
        Configuration for network access to your workspace. See `networkAccessControl` Block below.
      • notificationDestinations

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> notificationDestinations()
        Returns:
        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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> organizationRoleName()
        Returns:
        Role name that the workspace uses to access resources through Amazon Organizations.
      • organizationalUnits

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> organizationalUnits()
        Returns:
        Amazon Organizations organizational units that the workspace is authorized to use data sources from.
      • permissionType

        public com.pulumi.core.Output<java.lang.String> permissionType()
        Returns:
        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. The following arguments are optional:
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • roleArn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> roleArn()
        Returns:
        IAM role ARN that the workspace assumes.
      • stackSetName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> stackSetName()
        Returns:
        AWS CloudFormation stack set name that provisions IAM roles to be used by the workspace.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        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
      • vpcConfiguration

        public java.util.Optional<com.pulumi.core.Output<WorkspaceVpcConfigurationArgs>> vpcConfiguration()
        Returns:
        Configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to. See `vpcConfiguration` Block below.