Interface ICfnWorkspaceProps
Properties for defining a CfnWorkspace
.
Namespace: Amazon.CDK.AWS.WorkSpaces
Assembly: Amazon.CDK.AWS.WorkSpaces.dll
Syntax (csharp)
public interface ICfnWorkspaceProps
Syntax (vb)
Public Interface ICfnWorkspaceProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspaces-workspace.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.WorkSpaces;
var cfnWorkspaceProps = new CfnWorkspaceProps {
BundleId = "bundleId",
DirectoryId = "directoryId",
UserName = "userName",
// the properties below are optional
RootVolumeEncryptionEnabled = false,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
UserVolumeEncryptionEnabled = false,
VolumeEncryptionKey = "volumeEncryptionKey",
WorkspaceProperties = new WorkspacePropertiesProperty {
ComputeTypeName = "computeTypeName",
RootVolumeSizeGib = 123,
RunningMode = "runningMode",
RunningModeAutoStopTimeoutInMinutes = 123,
UserVolumeSizeGib = 123
}
};
Synopsis
Properties
BundleId | The identifier of the bundle for the WorkSpace. |
DirectoryId | The identifier of the AWS Directory Service directory for the WorkSpace. |
RootVolumeEncryptionEnabled | Indicates whether the data stored on the root volume is encrypted. |
Tags | The tags for the WorkSpace. |
UserName | The user name of the user for the WorkSpace. |
UserVolumeEncryptionEnabled | Indicates whether the data stored on the user volume is encrypted. |
VolumeEncryptionKey | The symmetric AWS KMS key used to encrypt data stored on your WorkSpace. |
WorkspaceProperties | The WorkSpace properties. |
Properties
BundleId
The identifier of the bundle for the WorkSpace.
string BundleId { get; }
Property Value
System.String
Remarks
DirectoryId
The identifier of the AWS Directory Service directory for the WorkSpace.
string DirectoryId { get; }
Property Value
System.String
Remarks
RootVolumeEncryptionEnabled
Indicates whether the data stored on the root volume is encrypted.
virtual object RootVolumeEncryptionEnabled { get; }
Property Value
System.Object
Remarks
Tags
UserName
The user name of the user for the WorkSpace.
string UserName { get; }
Property Value
System.String
Remarks
This user name must exist in the AWS Directory Service directory for the WorkSpace.
UserVolumeEncryptionEnabled
Indicates whether the data stored on the user volume is encrypted.
virtual object UserVolumeEncryptionEnabled { get; }
Property Value
System.Object
Remarks
VolumeEncryptionKey
The symmetric AWS KMS key used to encrypt data stored on your WorkSpace.
virtual string VolumeEncryptionKey { get; }
Property Value
System.String
Remarks
Amazon WorkSpaces does not support asymmetric KMS keys.
WorkspaceProperties
The WorkSpace properties.
virtual object WorkspaceProperties { get; }
Property Value
System.Object