Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data WorkspaceDirectory = WorkspaceDirectory' {
- registrationCode :: Maybe Text
- iamRoleId :: Maybe Text
- directoryId :: Maybe Text
- state :: Maybe WorkspaceDirectoryState
- customerUserName :: Maybe Text
- subnetIds :: Maybe [Text]
- ipGroupIds :: Maybe [Text]
- alias :: Maybe Text
- workspaceSecurityGroupId :: Maybe Text
- directoryType :: Maybe WorkspaceDirectoryType
- tenancy :: Maybe Tenancy
- workspaceCreationProperties :: Maybe DefaultWorkspaceCreationProperties
- dnsIpAddresses :: Maybe [Text]
- workspaceAccessProperties :: Maybe WorkspaceAccessProperties
- directoryName :: Maybe Text
- selfservicePermissions :: Maybe SelfservicePermissions
- newWorkspaceDirectory :: WorkspaceDirectory
- workspaceDirectory_registrationCode :: Lens' WorkspaceDirectory (Maybe Text)
- workspaceDirectory_iamRoleId :: Lens' WorkspaceDirectory (Maybe Text)
- workspaceDirectory_directoryId :: Lens' WorkspaceDirectory (Maybe Text)
- workspaceDirectory_state :: Lens' WorkspaceDirectory (Maybe WorkspaceDirectoryState)
- workspaceDirectory_customerUserName :: Lens' WorkspaceDirectory (Maybe Text)
- workspaceDirectory_subnetIds :: Lens' WorkspaceDirectory (Maybe [Text])
- workspaceDirectory_ipGroupIds :: Lens' WorkspaceDirectory (Maybe [Text])
- workspaceDirectory_alias :: Lens' WorkspaceDirectory (Maybe Text)
- workspaceDirectory_workspaceSecurityGroupId :: Lens' WorkspaceDirectory (Maybe Text)
- workspaceDirectory_directoryType :: Lens' WorkspaceDirectory (Maybe WorkspaceDirectoryType)
- workspaceDirectory_tenancy :: Lens' WorkspaceDirectory (Maybe Tenancy)
- workspaceDirectory_workspaceCreationProperties :: Lens' WorkspaceDirectory (Maybe DefaultWorkspaceCreationProperties)
- workspaceDirectory_dnsIpAddresses :: Lens' WorkspaceDirectory (Maybe [Text])
- workspaceDirectory_workspaceAccessProperties :: Lens' WorkspaceDirectory (Maybe WorkspaceAccessProperties)
- workspaceDirectory_directoryName :: Lens' WorkspaceDirectory (Maybe Text)
- workspaceDirectory_selfservicePermissions :: Lens' WorkspaceDirectory (Maybe SelfservicePermissions)
Documentation
data WorkspaceDirectory Source #
Describes a directory that is used with Amazon WorkSpaces.
See: newWorkspaceDirectory
smart constructor.
WorkspaceDirectory' | |
|
Instances
newWorkspaceDirectory :: WorkspaceDirectory Source #
Create a value of WorkspaceDirectory
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:registrationCode:WorkspaceDirectory'
, workspaceDirectory_registrationCode
- The registration code for the directory. This is the code that users
enter in their Amazon WorkSpaces client application to connect to the
directory.
$sel:iamRoleId:WorkspaceDirectory'
, workspaceDirectory_iamRoleId
- 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.
$sel:directoryId:WorkspaceDirectory'
, workspaceDirectory_directoryId
- The directory identifier.
$sel:state:WorkspaceDirectory'
, workspaceDirectory_state
- 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.
$sel:customerUserName:WorkspaceDirectory'
, workspaceDirectory_customerUserName
- The user name for the service account.
$sel:subnetIds:WorkspaceDirectory'
, workspaceDirectory_subnetIds
- The identifiers of the subnets used with the directory.
$sel:ipGroupIds:WorkspaceDirectory'
, workspaceDirectory_ipGroupIds
- The identifiers of the IP access control groups associated with the
directory.
$sel:alias:WorkspaceDirectory'
, workspaceDirectory_alias
- The directory alias.
$sel:workspaceSecurityGroupId:WorkspaceDirectory'
, workspaceDirectory_workspaceSecurityGroupId
- The identifier of the security group that is assigned to new WorkSpaces.
$sel:directoryType:WorkspaceDirectory'
, workspaceDirectory_directoryType
- The directory type.
$sel:tenancy:WorkspaceDirectory'
, workspaceDirectory_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.
$sel:workspaceCreationProperties:WorkspaceDirectory'
, workspaceDirectory_workspaceCreationProperties
- The default creation properties for all WorkSpaces in the directory.
$sel:dnsIpAddresses:WorkspaceDirectory'
, workspaceDirectory_dnsIpAddresses
- The IP addresses of the DNS servers for the directory.
$sel:workspaceAccessProperties:WorkspaceDirectory'
, workspaceDirectory_workspaceAccessProperties
- The devices and operating systems that users can use to access
WorkSpaces.
$sel:directoryName:WorkspaceDirectory'
, workspaceDirectory_directoryName
- The name of the directory.
$sel:selfservicePermissions:WorkspaceDirectory'
, workspaceDirectory_selfservicePermissions
- The default self-service permissions for WorkSpaces in the directory.
workspaceDirectory_registrationCode :: Lens' WorkspaceDirectory (Maybe Text) Source #
The registration code for the directory. This is the code that users enter in their Amazon WorkSpaces client application to connect to the directory.
workspaceDirectory_iamRoleId :: Lens' WorkspaceDirectory (Maybe Text) Source #
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.
workspaceDirectory_directoryId :: Lens' WorkspaceDirectory (Maybe Text) Source #
The directory identifier.
workspaceDirectory_state :: Lens' WorkspaceDirectory (Maybe WorkspaceDirectoryState) Source #
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.
workspaceDirectory_customerUserName :: Lens' WorkspaceDirectory (Maybe Text) Source #
The user name for the service account.
workspaceDirectory_subnetIds :: Lens' WorkspaceDirectory (Maybe [Text]) Source #
The identifiers of the subnets used with the directory.
workspaceDirectory_ipGroupIds :: Lens' WorkspaceDirectory (Maybe [Text]) Source #
The identifiers of the IP access control groups associated with the directory.
workspaceDirectory_alias :: Lens' WorkspaceDirectory (Maybe Text) Source #
The directory alias.
workspaceDirectory_workspaceSecurityGroupId :: Lens' WorkspaceDirectory (Maybe Text) Source #
The identifier of the security group that is assigned to new WorkSpaces.
workspaceDirectory_directoryType :: Lens' WorkspaceDirectory (Maybe WorkspaceDirectoryType) Source #
The directory type.
workspaceDirectory_tenancy :: Lens' WorkspaceDirectory (Maybe Tenancy) Source #
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.
workspaceDirectory_workspaceCreationProperties :: Lens' WorkspaceDirectory (Maybe DefaultWorkspaceCreationProperties) Source #
The default creation properties for all WorkSpaces in the directory.
workspaceDirectory_dnsIpAddresses :: Lens' WorkspaceDirectory (Maybe [Text]) Source #
The IP addresses of the DNS servers for the directory.
workspaceDirectory_workspaceAccessProperties :: Lens' WorkspaceDirectory (Maybe WorkspaceAccessProperties) Source #
The devices and operating systems that users can use to access WorkSpaces.
workspaceDirectory_directoryName :: Lens' WorkspaceDirectory (Maybe Text) Source #
The name of the directory.
workspaceDirectory_selfservicePermissions :: Lens' WorkspaceDirectory (Maybe SelfservicePermissions) Source #
The default self-service permissions for WorkSpaces in the directory.