Class: Aws::ManagedGrafana::Types::UpdateWorkspaceRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-managedgrafana/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:organization_role_name, :workspace_description, :workspace_name, :workspace_organizational_units, :workspace_role_arn]

Instance Attribute Summary collapse

Instance Attribute Details

#account_access_typeString

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.

Returns:

  • (String)


1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'lib/aws-sdk-managedgrafana/types.rb', line 1856

class UpdateWorkspaceRequest < Struct.new(
  :account_access_type,
  :network_access_control,
  :organization_role_name,
  :permission_type,
  :remove_network_access_configuration,
  :remove_vpc_configuration,
  :stack_set_name,
  :vpc_configuration,
  :workspace_data_sources,
  :workspace_description,
  :workspace_id,
  :workspace_name,
  :workspace_notification_destinations,
  :workspace_organizational_units,
  :workspace_role_arn)
  SENSITIVE = [:organization_role_name, :workspace_description, :workspace_name, :workspace_organizational_units, :workspace_role_arn]
  include Aws::Structure
end

#network_access_controlTypes::NetworkAccessConfiguration

The configuration settings 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.



1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'lib/aws-sdk-managedgrafana/types.rb', line 1856

class UpdateWorkspaceRequest < Struct.new(
  :account_access_type,
  :network_access_control,
  :organization_role_name,
  :permission_type,
  :remove_network_access_configuration,
  :remove_vpc_configuration,
  :stack_set_name,
  :vpc_configuration,
  :workspace_data_sources,
  :workspace_description,
  :workspace_id,
  :workspace_name,
  :workspace_notification_destinations,
  :workspace_organizational_units,
  :workspace_role_arn)
  SENSITIVE = [:organization_role_name, :workspace_description, :workspace_name, :workspace_organizational_units, :workspace_role_arn]
  include Aws::Structure
end

#organization_role_nameString

The name of an IAM role that already exists to use to access resources through Organizations. This can only be used with a workspace that has the ‘permissionType` set to `CUSTOMER_MANAGED`.

Returns:

  • (String)


1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'lib/aws-sdk-managedgrafana/types.rb', line 1856

class UpdateWorkspaceRequest < Struct.new(
  :account_access_type,
  :network_access_control,
  :organization_role_name,
  :permission_type,
  :remove_network_access_configuration,
  :remove_vpc_configuration,
  :stack_set_name,
  :vpc_configuration,
  :workspace_data_sources,
  :workspace_description,
  :workspace_id,
  :workspace_name,
  :workspace_notification_destinations,
  :workspace_organizational_units,
  :workspace_role_arn)
  SENSITIVE = [:organization_role_name, :workspace_description, :workspace_name, :workspace_organizational_units, :workspace_role_arn]
  include Aws::Structure
end

#permission_typeString

Use this parameter if you want to change a workspace from ‘SERVICE_MANAGED` to `CUSTOMER_MANAGED`. This allows you to manage the permissions that the workspace uses to access datasources and notification channels. If the workspace is in a member Amazon Web Services 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, you must choose `CUSTOMER_MANAGED`.

If you specify this as ‘CUSTOMER_MANAGED`, you must also specify a `workspaceRoleArn` that the workspace will use for accessing Amazon Web Services resources.

For more information on the role and permissions needed, see [Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels]

<note markdown=“1”> Do not use this to convert a ‘CUSTOMER_MANAGED` workspace to `SERVICE_MANAGED`. Do not include this parameter if you want to leave the workspace as `SERVICE_MANAGED`.

You can convert a `CUSTOMER_MANAGED` workspace to `SERVICE_MANAGED`

using the Amazon Managed Grafana console. For more information, see [Managing permissions for data sources and notification channels].

</note>

[1]: docs.aws.amazon.com/grafana/latest/userguide/AMG-manage-permissions.html [2]: docs.aws.amazon.com/grafana/latest/userguide/AMG-datasource-and-notification.html

Returns:

  • (String)


1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'lib/aws-sdk-managedgrafana/types.rb', line 1856

class UpdateWorkspaceRequest < Struct.new(
  :account_access_type,
  :network_access_control,
  :organization_role_name,
  :permission_type,
  :remove_network_access_configuration,
  :remove_vpc_configuration,
  :stack_set_name,
  :vpc_configuration,
  :workspace_data_sources,
  :workspace_description,
  :workspace_id,
  :workspace_name,
  :workspace_notification_destinations,
  :workspace_organizational_units,
  :workspace_role_arn)
  SENSITIVE = [:organization_role_name, :workspace_description, :workspace_name, :workspace_organizational_units, :workspace_role_arn]
  include Aws::Structure
end

#remove_network_access_configurationBoolean

Whether to remove the network access configuration from the workspace.

Setting this to ‘true` and providing a `networkAccessControl` to set will return an error.

If you remove this configuration by setting this to ‘true`, then all IP addresses and VPC endpoints will be allowed. Standard Grafana authentication and authorization will still be required.

Returns:

  • (Boolean)


1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'lib/aws-sdk-managedgrafana/types.rb', line 1856

class UpdateWorkspaceRequest < Struct.new(
  :account_access_type,
  :network_access_control,
  :organization_role_name,
  :permission_type,
  :remove_network_access_configuration,
  :remove_vpc_configuration,
  :stack_set_name,
  :vpc_configuration,
  :workspace_data_sources,
  :workspace_description,
  :workspace_id,
  :workspace_name,
  :workspace_notification_destinations,
  :workspace_organizational_units,
  :workspace_role_arn)
  SENSITIVE = [:organization_role_name, :workspace_description, :workspace_name, :workspace_organizational_units, :workspace_role_arn]
  include Aws::Structure
end

#remove_vpc_configurationBoolean

Whether to remove the VPC configuration from the workspace.

Setting this to ‘true` and providing a `vpcConfiguration` to set will return an error.

Returns:

  • (Boolean)


1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'lib/aws-sdk-managedgrafana/types.rb', line 1856

class UpdateWorkspaceRequest < Struct.new(
  :account_access_type,
  :network_access_control,
  :organization_role_name,
  :permission_type,
  :remove_network_access_configuration,
  :remove_vpc_configuration,
  :stack_set_name,
  :vpc_configuration,
  :workspace_data_sources,
  :workspace_description,
  :workspace_id,
  :workspace_name,
  :workspace_notification_destinations,
  :workspace_organizational_units,
  :workspace_role_arn)
  SENSITIVE = [:organization_role_name, :workspace_description, :workspace_name, :workspace_organizational_units, :workspace_role_arn]
  include Aws::Structure
end

#stack_set_nameString

The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace.

Returns:

  • (String)


1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'lib/aws-sdk-managedgrafana/types.rb', line 1856

class UpdateWorkspaceRequest < Struct.new(
  :account_access_type,
  :network_access_control,
  :organization_role_name,
  :permission_type,
  :remove_network_access_configuration,
  :remove_vpc_configuration,
  :stack_set_name,
  :vpc_configuration,
  :workspace_data_sources,
  :workspace_description,
  :workspace_id,
  :workspace_name,
  :workspace_notification_destinations,
  :workspace_organizational_units,
  :workspace_role_arn)
  SENSITIVE = [:organization_role_name, :workspace_description, :workspace_name, :workspace_organizational_units, :workspace_role_arn]
  include Aws::Structure
end

#vpc_configurationTypes::VpcConfiguration

The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to.



1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'lib/aws-sdk-managedgrafana/types.rb', line 1856

class UpdateWorkspaceRequest < Struct.new(
  :account_access_type,
  :network_access_control,
  :organization_role_name,
  :permission_type,
  :remove_network_access_configuration,
  :remove_vpc_configuration,
  :stack_set_name,
  :vpc_configuration,
  :workspace_data_sources,
  :workspace_description,
  :workspace_id,
  :workspace_name,
  :workspace_notification_destinations,
  :workspace_organizational_units,
  :workspace_role_arn)
  SENSITIVE = [:organization_role_name, :workspace_description, :workspace_name, :workspace_organizational_units, :workspace_role_arn]
  include Aws::Structure
end

#workspace_data_sourcesArray<String>

This parameter is for internal use only, and should not be used.

Returns:

  • (Array<String>)


1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'lib/aws-sdk-managedgrafana/types.rb', line 1856

class UpdateWorkspaceRequest < Struct.new(
  :account_access_type,
  :network_access_control,
  :organization_role_name,
  :permission_type,
  :remove_network_access_configuration,
  :remove_vpc_configuration,
  :stack_set_name,
  :vpc_configuration,
  :workspace_data_sources,
  :workspace_description,
  :workspace_id,
  :workspace_name,
  :workspace_notification_destinations,
  :workspace_organizational_units,
  :workspace_role_arn)
  SENSITIVE = [:organization_role_name, :workspace_description, :workspace_name, :workspace_organizational_units, :workspace_role_arn]
  include Aws::Structure
end

#workspace_descriptionString

A description for the workspace. This is used only to help you identify this workspace.

Returns:

  • (String)


1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'lib/aws-sdk-managedgrafana/types.rb', line 1856

class UpdateWorkspaceRequest < Struct.new(
  :account_access_type,
  :network_access_control,
  :organization_role_name,
  :permission_type,
  :remove_network_access_configuration,
  :remove_vpc_configuration,
  :stack_set_name,
  :vpc_configuration,
  :workspace_data_sources,
  :workspace_description,
  :workspace_id,
  :workspace_name,
  :workspace_notification_destinations,
  :workspace_organizational_units,
  :workspace_role_arn)
  SENSITIVE = [:organization_role_name, :workspace_description, :workspace_name, :workspace_organizational_units, :workspace_role_arn]
  include Aws::Structure
end

#workspace_idString

The ID of the workspace to update.

Returns:

  • (String)


1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'lib/aws-sdk-managedgrafana/types.rb', line 1856

class UpdateWorkspaceRequest < Struct.new(
  :account_access_type,
  :network_access_control,
  :organization_role_name,
  :permission_type,
  :remove_network_access_configuration,
  :remove_vpc_configuration,
  :stack_set_name,
  :vpc_configuration,
  :workspace_data_sources,
  :workspace_description,
  :workspace_id,
  :workspace_name,
  :workspace_notification_destinations,
  :workspace_organizational_units,
  :workspace_role_arn)
  SENSITIVE = [:organization_role_name, :workspace_description, :workspace_name, :workspace_organizational_units, :workspace_role_arn]
  include Aws::Structure
end

#workspace_nameString

A new name for the workspace to update.

Returns:

  • (String)


1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'lib/aws-sdk-managedgrafana/types.rb', line 1856

class UpdateWorkspaceRequest < Struct.new(
  :account_access_type,
  :network_access_control,
  :organization_role_name,
  :permission_type,
  :remove_network_access_configuration,
  :remove_vpc_configuration,
  :stack_set_name,
  :vpc_configuration,
  :workspace_data_sources,
  :workspace_description,
  :workspace_id,
  :workspace_name,
  :workspace_notification_destinations,
  :workspace_organizational_units,
  :workspace_role_arn)
  SENSITIVE = [:organization_role_name, :workspace_description, :workspace_name, :workspace_organizational_units, :workspace_role_arn]
  include Aws::Structure
end

#workspace_notification_destinationsArray<String>

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.

Returns:

  • (Array<String>)


1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'lib/aws-sdk-managedgrafana/types.rb', line 1856

class UpdateWorkspaceRequest < Struct.new(
  :account_access_type,
  :network_access_control,
  :organization_role_name,
  :permission_type,
  :remove_network_access_configuration,
  :remove_vpc_configuration,
  :stack_set_name,
  :vpc_configuration,
  :workspace_data_sources,
  :workspace_description,
  :workspace_id,
  :workspace_name,
  :workspace_notification_destinations,
  :workspace_organizational_units,
  :workspace_role_arn)
  SENSITIVE = [:organization_role_name, :workspace_description, :workspace_name, :workspace_organizational_units, :workspace_role_arn]
  include Aws::Structure
end

#workspace_organizational_unitsArray<String>

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.

Returns:

  • (Array<String>)


1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'lib/aws-sdk-managedgrafana/types.rb', line 1856

class UpdateWorkspaceRequest < Struct.new(
  :account_access_type,
  :network_access_control,
  :organization_role_name,
  :permission_type,
  :remove_network_access_configuration,
  :remove_vpc_configuration,
  :stack_set_name,
  :vpc_configuration,
  :workspace_data_sources,
  :workspace_description,
  :workspace_id,
  :workspace_name,
  :workspace_notification_destinations,
  :workspace_organizational_units,
  :workspace_role_arn)
  SENSITIVE = [:organization_role_name, :workspace_description, :workspace_name, :workspace_organizational_units, :workspace_role_arn]
  include Aws::Structure
end

#workspace_role_arnString

Specifies an IAM role that grants permissions to Amazon Web Services resources that the workspace accesses, such as data sources and notification channels. If this workspace has ‘permissionType` `CUSTOMER_MANAGED`, then this role is required.

Returns:

  • (String)


1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'lib/aws-sdk-managedgrafana/types.rb', line 1856

class UpdateWorkspaceRequest < Struct.new(
  :account_access_type,
  :network_access_control,
  :organization_role_name,
  :permission_type,
  :remove_network_access_configuration,
  :remove_vpc_configuration,
  :stack_set_name,
  :vpc_configuration,
  :workspace_data_sources,
  :workspace_description,
  :workspace_id,
  :workspace_name,
  :workspace_notification_destinations,
  :workspace_organizational_units,
  :workspace_role_arn)
  SENSITIVE = [:organization_role_name, :workspace_description, :workspace_name, :workspace_organizational_units, :workspace_role_arn]
  include Aws::Structure
end