Struct aws_sdk_workspaces::model::WorkspaceDirectory
source · [−]#[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
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 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for WorkspaceDirectory
impl Send for WorkspaceDirectory
impl Sync for WorkspaceDirectory
impl Unpin for WorkspaceDirectory
impl UnwindSafe for WorkspaceDirectory
Blanket Implementations
Mutably borrows from an owned value. Read more
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