@awboost/cfn-resource-types 0.1.100 → 0.1.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
|
+
/**
|
|
4
|
+
* Resource Type definition for AWS::WorkSpaces::WorkspacesPool
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspaces-workspacespool.html}
|
|
6
|
+
*/
|
|
7
|
+
export type WorkSpacesWorkspacesPoolProperties = {
|
|
8
|
+
ApplicationSettings?: ApplicationSettings;
|
|
9
|
+
/**
|
|
10
|
+
* @pattern `^wsb-[0-9a-z]{8,63}$`
|
|
11
|
+
*/
|
|
12
|
+
BundleId: string;
|
|
13
|
+
Capacity: Capacity;
|
|
14
|
+
/**
|
|
15
|
+
* @minLength `1`
|
|
16
|
+
* @maxLength `255`
|
|
17
|
+
* @pattern `^[a-zA-Z0-9_./() -]+$`
|
|
18
|
+
*/
|
|
19
|
+
Description?: string;
|
|
20
|
+
/**
|
|
21
|
+
* @minLength `10`
|
|
22
|
+
* @maxLength `65`
|
|
23
|
+
* @pattern `^wsd-[0-9a-z]{8,63}$`
|
|
24
|
+
*/
|
|
25
|
+
DirectoryId: string;
|
|
26
|
+
/**
|
|
27
|
+
* @pattern `^[A-Za-z0-9][A-Za-z0-9_.-]{0,63}$`
|
|
28
|
+
*/
|
|
29
|
+
PoolName: string;
|
|
30
|
+
Tags?: Tag[];
|
|
31
|
+
TimeoutSettings?: TimeoutSettings;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Attribute type definition for `AWS::WorkSpaces::WorkspacesPool`.
|
|
35
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspaces-workspacespool.html#aws-resource-workspaces-workspacespool-return-values}
|
|
36
|
+
*/
|
|
37
|
+
export type WorkSpacesWorkspacesPoolAttributes = {
|
|
38
|
+
CreatedAt: string;
|
|
39
|
+
/**
|
|
40
|
+
* @pattern `^arn:aws[a-z-]{0,7}:[A-Za-z0-9][A-za-z0-9_/.-]{0,62}:[A-za-z0-9_/.-]{0,63}:[A-za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-za-z0-9_/.-]{0,127}$`
|
|
41
|
+
*/
|
|
42
|
+
PoolArn: string;
|
|
43
|
+
/**
|
|
44
|
+
* @pattern `^wspool-[0-9a-z]{9}$`
|
|
45
|
+
*/
|
|
46
|
+
PoolId: string;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Type definition for `AWS::WorkSpaces::WorkspacesPool.ApplicationSettings`.
|
|
50
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspaces-workspacespool-applicationsettings.html}
|
|
51
|
+
*/
|
|
52
|
+
export type ApplicationSettings = {
|
|
53
|
+
/**
|
|
54
|
+
* @maxLength `100`
|
|
55
|
+
* @pattern `^[A-Za-z0-9_./()!*'-]+$`
|
|
56
|
+
*/
|
|
57
|
+
SettingsGroup?: string;
|
|
58
|
+
Status: ApplicationSettingsStatus;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Type definition for `AWS::WorkSpaces::WorkspacesPool.ApplicationSettingsStatus`.
|
|
62
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspaces-workspacespool-applicationsettingsstatus.html}
|
|
63
|
+
*/
|
|
64
|
+
export type ApplicationSettingsStatus = "DISABLED" | "ENABLED";
|
|
65
|
+
/**
|
|
66
|
+
* Type definition for `AWS::WorkSpaces::WorkspacesPool.Capacity`.
|
|
67
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspaces-workspacespool-capacity.html}
|
|
68
|
+
*/
|
|
69
|
+
export type Capacity = {
|
|
70
|
+
/**
|
|
71
|
+
* @min `0`
|
|
72
|
+
*/
|
|
73
|
+
DesiredUserSessions: number;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Type definition for `AWS::WorkSpaces::WorkspacesPool.Tag`.
|
|
77
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspaces-workspacespool-tag.html}
|
|
78
|
+
*/
|
|
79
|
+
export type Tag = {
|
|
80
|
+
Key: string;
|
|
81
|
+
Value: string;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Type definition for `AWS::WorkSpaces::WorkspacesPool.TimeoutSettings`.
|
|
85
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspaces-workspacespool-timeoutsettings.html}
|
|
86
|
+
*/
|
|
87
|
+
export type TimeoutSettings = {
|
|
88
|
+
/**
|
|
89
|
+
* @min `60`
|
|
90
|
+
* @max `36000`
|
|
91
|
+
*/
|
|
92
|
+
DisconnectTimeoutInSeconds?: number;
|
|
93
|
+
/**
|
|
94
|
+
* @min `0`
|
|
95
|
+
* @max `36000`
|
|
96
|
+
*/
|
|
97
|
+
IdleDisconnectTimeoutInSeconds?: number;
|
|
98
|
+
/**
|
|
99
|
+
* @min `600`
|
|
100
|
+
* @max `432000`
|
|
101
|
+
*/
|
|
102
|
+
MaxUserDurationInSeconds?: number;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Resource Type definition for AWS::WorkSpaces::WorkspacesPool
|
|
106
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspaces-workspacespool.html}
|
|
107
|
+
*/
|
|
108
|
+
export declare class WorkSpacesWorkspacesPool extends $Resource<"AWS::WorkSpaces::WorkspacesPool", WorkSpacesWorkspacesPoolProperties, WorkSpacesWorkspacesPoolAttributes> {
|
|
109
|
+
static readonly Type = "AWS::WorkSpaces::WorkspacesPool";
|
|
110
|
+
constructor(logicalId: string, properties: WorkSpacesWorkspacesPoolProperties, options?: $ResourceOptions);
|
|
111
|
+
}
|
|
112
|
+
//# sourceMappingURL=AWS-WorkSpaces-WorkspacesPool.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Resource Type definition for AWS::WorkSpaces::WorkspacesPool
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspaces-workspacespool.html}
|
|
5
|
+
*/
|
|
6
|
+
export class WorkSpacesWorkspacesPool extends $Resource {
|
|
7
|
+
static Type = "AWS::WorkSpaces::WorkspacesPool";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, WorkSpacesWorkspacesPool.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-WorkSpaces-WorkspacesPool.js.map
|