#[non_exhaustive]
pub struct WorkspaceDirectory {
Show 16 fields pub directory_id: Option<String>, pub alias: Option<String>, pub directory_name: Option<String>, pub registration_code: Option<String>, pub subnet_ids: Option<Vec<String>>, pub dns_ip_addresses: Option<Vec<String>>, pub customer_user_name: Option<String>, pub iam_role_id: Option<String>, pub directory_type: Option<WorkspaceDirectoryType>, pub workspace_security_group_id: Option<String>, pub state: Option<WorkspaceDirectoryState>, pub workspace_creation_properties: Option<DefaultWorkspaceCreationProperties>, pub ip_group_ids: Option<Vec<String>>, pub workspace_access_properties: Option<WorkspaceAccessProperties>, pub tenancy: Option<Tenancy>, pub selfservice_permissions: Option<SelfservicePermissions>,
}
Expand description

Describes a directory that is used with Amazon WorkSpaces.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
directory_id: Option<String>

The directory identifier.

alias: Option<String>

The directory alias.

directory_name: Option<String>

The name of the directory.

registration_code: Option<String>

The registration code for the directory. This is the code that users enter in their Amazon WorkSpaces client application to connect to the directory.

subnet_ids: Option<Vec<String>>

The identifiers of the subnets used with the directory.

dns_ip_addresses: Option<Vec<String>>

The IP addresses of the DNS servers for the directory.

customer_user_name: Option<String>

The user name for the service account.

iam_role_id: Option<String>

The identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf.

directory_type: Option<WorkspaceDirectoryType>

The directory type.

workspace_security_group_id: Option<String>

The identifier of the security group that is assigned to new WorkSpaces.

state: Option<WorkspaceDirectoryState>

The state of the directory's registration with Amazon WorkSpaces. After a directory is deregistered, the DEREGISTERED state is returned very briefly before the directory metadata is cleaned up, so this state is rarely returned. To confirm that a directory is deregistered, check for the directory ID by using DescribeWorkspaceDirectories. If the directory ID isn't returned, then the directory has been successfully deregistered.

workspace_creation_properties: Option<DefaultWorkspaceCreationProperties>

The default creation properties for all WorkSpaces in the directory.

ip_group_ids: Option<Vec<String>>

The identifiers of the IP access control groups associated with the directory.

workspace_access_properties: Option<WorkspaceAccessProperties>

The devices and operating systems that users can use to access WorkSpaces.

tenancy: Option<Tenancy>

Specifies whether the directory is dedicated or shared. To use Bring Your Own License (BYOL), this value must be set to DEDICATED. For more information, see Bring Your Own Windows Desktop Images.

selfservice_permissions: Option<SelfservicePermissions>

The default self-service permissions for WorkSpaces in the directory.

Implementations

The directory identifier.

The directory alias.

The name of the directory.

The registration code for the directory. This is the code that users enter in their Amazon WorkSpaces client application to connect to the directory.

The identifiers of the subnets used with the directory.

The IP addresses of the DNS servers for the directory.

The user name for the service account.

The identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf.

The directory type.

The identifier of the security group that is assigned to new WorkSpaces.

The state of the directory's registration with Amazon WorkSpaces. After a directory is deregistered, the DEREGISTERED state is returned very briefly before the directory metadata is cleaned up, so this state is rarely returned. To confirm that a directory is deregistered, check for the directory ID by using DescribeWorkspaceDirectories. If the directory ID isn't returned, then the directory has been successfully deregistered.

The default creation properties for all WorkSpaces in the directory.

The identifiers of the IP access control groups associated with the directory.

The devices and operating systems that users can use to access WorkSpaces.

Specifies whether the directory is dedicated or shared. To use Bring Your Own License (BYOL), this value must be set to DEDICATED. For more information, see Bring Your Own Windows Desktop Images.

The default self-service permissions for WorkSpaces in the directory.

Creates a new builder-style object to manufacture WorkspaceDirectory

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more