-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsworkspaces_CfnWorkspaceProps.go
60 lines (57 loc) · 2.5 KB
/
awsworkspaces_CfnWorkspaceProps.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
package awsworkspaces
import (
"github.com/aws/aws-cdk-go/awscdk"
)
// Properties for defining a `CfnWorkspace`.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// cfnWorkspaceProps := &cfnWorkspaceProps{
// bundleId: jsii.String("bundleId"),
// directoryId: jsii.String("directoryId"),
// userName: jsii.String("userName"),
//
// // the properties below are optional
// rootVolumeEncryptionEnabled: jsii.Boolean(false),
// tags: []cfnTag{
// &cfnTag{
// key: jsii.String("key"),
// value: jsii.String("value"),
// },
// },
// userVolumeEncryptionEnabled: jsii.Boolean(false),
// volumeEncryptionKey: jsii.String("volumeEncryptionKey"),
// workspaceProperties: &workspacePropertiesProperty{
// computeTypeName: jsii.String("computeTypeName"),
// rootVolumeSizeGib: jsii.Number(123),
// runningMode: jsii.String("runningMode"),
// runningModeAutoStopTimeoutInMinutes: jsii.Number(123),
// userVolumeSizeGib: jsii.Number(123),
// },
// }
//
type CfnWorkspaceProps struct {
// The identifier of the bundle for the WorkSpace.
BundleId *string `field:"required" json:"bundleId" yaml:"bundleId"`
// The identifier of the AWS Directory Service directory for the WorkSpace.
DirectoryId *string `field:"required" json:"directoryId" yaml:"directoryId"`
// The user name of the user for the WorkSpace.
//
// This user name must exist in the AWS Directory Service directory for the WorkSpace.
UserName *string `field:"required" json:"userName" yaml:"userName"`
// Indicates whether the data stored on the root volume is encrypted.
RootVolumeEncryptionEnabled interface{} `field:"optional" json:"rootVolumeEncryptionEnabled" yaml:"rootVolumeEncryptionEnabled"`
// The tags for the WorkSpace.
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
// Indicates whether the data stored on the user volume is encrypted.
UserVolumeEncryptionEnabled interface{} `field:"optional" json:"userVolumeEncryptionEnabled" yaml:"userVolumeEncryptionEnabled"`
// The symmetric AWS KMS key used to encrypt data stored on your WorkSpace.
//
// Amazon WorkSpaces does not support asymmetric KMS keys.
VolumeEncryptionKey *string `field:"optional" json:"volumeEncryptionKey" yaml:"volumeEncryptionKey"`
// The WorkSpace properties.
WorkspaceProperties interface{} `field:"optional" json:"workspaceProperties" yaml:"workspaceProperties"`
}