#[non_exhaustive]pub struct CreateWorkspaceInput { /* private fields */ }
Implementations§
source§impl CreateWorkspaceInput
impl CreateWorkspaceInput
sourcepub fn account_access_type(&self) -> Option<&AccountAccessType>
pub fn account_access_type(&self) -> Option<&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.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
sourcepub fn organization_role_name(&self) -> Option<&str>
pub fn organization_role_name(&self) -> Option<&str>
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.
sourcepub fn permission_type(&self) -> Option<&PermissionType>
pub fn permission_type(&self) -> Option<&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.
sourcepub fn stack_set_name(&self) -> Option<&str>
pub fn stack_set_name(&self) -> Option<&str>
The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace.
sourcepub fn workspace_data_sources(&self) -> Option<&[DataSourceType]>
pub fn workspace_data_sources(&self) -> Option<&[DataSourceType]>
This parameter is for internal use only, and should not be used.
sourcepub fn workspace_description(&self) -> Option<&str>
pub fn workspace_description(&self) -> Option<&str>
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}$
sourcepub fn workspace_name(&self) -> Option<&str>
pub fn workspace_name(&self) -> Option<&str>
The name for the workspace. It does not have to be unique.
sourcepub fn workspace_notification_destinations(
&self
) -> Option<&[NotificationDestinationType]>
pub fn workspace_notification_destinations( &self ) -> Option<&[NotificationDestinationType]>
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.
sourcepub fn workspace_organizational_units(&self) -> Option<&[String]>
pub fn workspace_organizational_units(&self) -> Option<&[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.
sourcepub fn workspace_role_arn(&self) -> Option<&str>
pub fn workspace_role_arn(&self) -> Option<&str>
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.
sourcepub fn authentication_providers(&self) -> Option<&[AuthenticationProviderTypes]>
pub fn authentication_providers(&self) -> Option<&[AuthenticationProviderTypes]>
Specifies whether this workspace uses SAML 2.0, IAM Identity Center (successor to Single Sign-On), or both to authenticate users for using the Grafana console within a workspace. For more information, see User authentication in Amazon Managed Grafana.
The list of tags associated with the workspace.
sourcepub fn vpc_configuration(&self) -> Option<&VpcConfiguration>
pub fn vpc_configuration(&self) -> Option<&VpcConfiguration>
The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to.
sourcepub fn configuration(&self) -> Option<&str>
pub fn configuration(&self) -> Option<&str>
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.
sourcepub fn network_access_control(&self) -> Option<&NetworkAccessConfiguration>
pub fn network_access_control(&self) -> Option<&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.
source§impl CreateWorkspaceInput
impl CreateWorkspaceInput
sourcepub fn builder() -> CreateWorkspaceInputBuilder
pub fn builder() -> CreateWorkspaceInputBuilder
Creates a new builder-style object to manufacture CreateWorkspaceInput
.
source§impl CreateWorkspaceInput
impl CreateWorkspaceInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateWorkspace, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( self, _config: &Config ) -> Result<Operation<CreateWorkspace, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateWorkspace
>
Trait Implementations§
source§impl Clone for CreateWorkspaceInput
impl Clone for CreateWorkspaceInput
source§fn clone(&self) -> CreateWorkspaceInput
fn clone(&self) -> CreateWorkspaceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateWorkspaceInput
impl Debug for CreateWorkspaceInput
source§impl PartialEq<CreateWorkspaceInput> for CreateWorkspaceInput
impl PartialEq<CreateWorkspaceInput> for CreateWorkspaceInput
source§fn eq(&self, other: &CreateWorkspaceInput) -> bool
fn eq(&self, other: &CreateWorkspaceInput) -> bool
self
and other
values to be equal, and is used
by ==
.