@awboost/cfn-resource-types 0.1.11 → 0.1.13
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.
- package/lib/AWS-AutoScaling-AutoScalingGroup.d.ts +1 -0
- package/lib/AWS-InspectorV2-CisScanConfiguration.d.ts +127 -0
- package/lib/AWS-InspectorV2-CisScanConfiguration.js +13 -0
- package/lib/AWS-Location-Map.d.ts +4 -0
- package/lib/AWS-SageMaker-AppImageConfig.d.ts +58 -0
- package/lib/AWS-SageMaker-Domain.d.ts +21 -0
- package/lib/AWS-SageMaker-Space.d.ts +129 -1
- package/package.json +1 -1
|
@@ -96,6 +96,7 @@ export type InstanceRequirements = {
|
|
|
96
96
|
InstanceGenerations?: string[];
|
|
97
97
|
LocalStorage?: string;
|
|
98
98
|
LocalStorageTypes?: string[];
|
|
99
|
+
MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number;
|
|
99
100
|
MemoryGiBPerVCpu?: MemoryGiBPerVCpuRequest;
|
|
100
101
|
MemoryMiB: MemoryMiBRequest;
|
|
101
102
|
NetworkBandwidthGbps?: NetworkBandwidthGbpsRequest;
|
|
@@ -0,0 +1,127 @@
|
|
|
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::InspectorV2::CisScanConfiguration`.
|
|
5
|
+
* CIS Scan Configuration resource schema
|
|
6
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html}
|
|
7
|
+
*/
|
|
8
|
+
export type InspectorV2CisScanConfigurationProperties = {
|
|
9
|
+
/**
|
|
10
|
+
* Name of the scan
|
|
11
|
+
* @minLength `1`
|
|
12
|
+
*/
|
|
13
|
+
ScanName?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Choose a Schedule cadence
|
|
16
|
+
*/
|
|
17
|
+
Schedule?: Schedule;
|
|
18
|
+
SecurityLevel?: CisSecurityLevel;
|
|
19
|
+
Tags?: CisTagMap;
|
|
20
|
+
Targets?: CisTargets;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Attribute type definition for `AWS::InspectorV2::CisScanConfiguration`.
|
|
24
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html#aws-resource-inspectorv2-cisscanconfiguration-return-values}
|
|
25
|
+
*/
|
|
26
|
+
export type InspectorV2CisScanConfigurationAttributes = {
|
|
27
|
+
/**
|
|
28
|
+
* CIS Scan configuration unique identifier
|
|
29
|
+
*/
|
|
30
|
+
Arn: string;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Type definition for `AWS::InspectorV2::CisScanConfiguration.CisSecurityLevel`.
|
|
34
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-cissecuritylevel.html}
|
|
35
|
+
*/
|
|
36
|
+
export type CisSecurityLevel = "LEVEL_1" | "LEVEL_2";
|
|
37
|
+
/**
|
|
38
|
+
* Type definition for `AWS::InspectorV2::CisScanConfiguration.CisTagMap`.
|
|
39
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-cistagmap.html}
|
|
40
|
+
*/
|
|
41
|
+
export type CisTagMap = Record<string, string>;
|
|
42
|
+
/**
|
|
43
|
+
* Type definition for `AWS::InspectorV2::CisScanConfiguration.CisTargets`.
|
|
44
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-cistargets.html}
|
|
45
|
+
*/
|
|
46
|
+
export type CisTargets = {
|
|
47
|
+
/**
|
|
48
|
+
* @minLength `1`
|
|
49
|
+
* @maxLength `10000`
|
|
50
|
+
*/
|
|
51
|
+
AccountIds: string[];
|
|
52
|
+
TargetResourceTags?: TargetResourceTags;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Type definition for `AWS::InspectorV2::CisScanConfiguration.DailySchedule`.
|
|
56
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-dailyschedule.html}
|
|
57
|
+
*/
|
|
58
|
+
export type DailySchedule = {
|
|
59
|
+
StartTime: Time;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Type definition for `AWS::InspectorV2::CisScanConfiguration.Day`.
|
|
63
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-day.html}
|
|
64
|
+
*/
|
|
65
|
+
export type Day = "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN";
|
|
66
|
+
/**
|
|
67
|
+
* Type definition for `AWS::InspectorV2::CisScanConfiguration.MonthlySchedule`.
|
|
68
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-monthlyschedule.html}
|
|
69
|
+
*/
|
|
70
|
+
export type MonthlySchedule = {
|
|
71
|
+
Day: Day;
|
|
72
|
+
StartTime: Time;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Type definition for `AWS::InspectorV2::CisScanConfiguration.OneTimeSchedule`.
|
|
76
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-onetimeschedule.html}
|
|
77
|
+
*/
|
|
78
|
+
export type OneTimeSchedule = Record<string, any>;
|
|
79
|
+
/**
|
|
80
|
+
* Type definition for `AWS::InspectorV2::CisScanConfiguration.Schedule`.
|
|
81
|
+
* Choose a Schedule cadence
|
|
82
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-schedule.html}
|
|
83
|
+
*/
|
|
84
|
+
export type Schedule = {
|
|
85
|
+
Daily?: DailySchedule;
|
|
86
|
+
Monthly?: MonthlySchedule;
|
|
87
|
+
OneTime?: OneTimeSchedule;
|
|
88
|
+
Weekly?: WeeklySchedule;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* Type definition for `AWS::InspectorV2::CisScanConfiguration.TargetResourceTags`.
|
|
92
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-targetresourcetags.html}
|
|
93
|
+
*/
|
|
94
|
+
export type TargetResourceTags = Record<string, string[]>;
|
|
95
|
+
/**
|
|
96
|
+
* Type definition for `AWS::InspectorV2::CisScanConfiguration.Time`.
|
|
97
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-time.html}
|
|
98
|
+
*/
|
|
99
|
+
export type Time = {
|
|
100
|
+
/**
|
|
101
|
+
* @pattern `^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$`
|
|
102
|
+
*/
|
|
103
|
+
TimeOfDay: string;
|
|
104
|
+
TimeZone: string;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* Type definition for `AWS::InspectorV2::CisScanConfiguration.WeeklySchedule`.
|
|
108
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-cisscanconfiguration-weeklyschedule.html}
|
|
109
|
+
*/
|
|
110
|
+
export type WeeklySchedule = {
|
|
111
|
+
/**
|
|
112
|
+
* @minLength `1`
|
|
113
|
+
* @maxLength `7`
|
|
114
|
+
*/
|
|
115
|
+
Days: Day[];
|
|
116
|
+
StartTime: Time;
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Resource type definition for `AWS::InspectorV2::CisScanConfiguration`.
|
|
120
|
+
* CIS Scan Configuration resource schema
|
|
121
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html}
|
|
122
|
+
*/
|
|
123
|
+
export declare class InspectorV2CisScanConfiguration extends $Resource<"AWS::InspectorV2::CisScanConfiguration", InspectorV2CisScanConfigurationProperties, InspectorV2CisScanConfigurationAttributes> {
|
|
124
|
+
static readonly Type = "AWS::InspectorV2::CisScanConfiguration";
|
|
125
|
+
constructor(logicalId: string, properties: InspectorV2CisScanConfigurationProperties, options?: $ResourceOptions);
|
|
126
|
+
}
|
|
127
|
+
//# sourceMappingURL=AWS-InspectorV2-CisScanConfiguration.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Resource type definition for `AWS::InspectorV2::CisScanConfiguration`.
|
|
4
|
+
* CIS Scan Configuration resource schema
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html}
|
|
6
|
+
*/
|
|
7
|
+
export class InspectorV2CisScanConfiguration extends $Resource {
|
|
8
|
+
static Type = "AWS::InspectorV2::CisScanConfiguration";
|
|
9
|
+
constructor(logicalId, properties, options) {
|
|
10
|
+
super(logicalId, InspectorV2CisScanConfiguration.Type, properties, options);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=AWS-InspectorV2-CisScanConfiguration.js.map
|
|
@@ -56,6 +56,10 @@ export type LocationMapAttributes = {
|
|
|
56
56
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-location-map-mapconfiguration.html}
|
|
57
57
|
*/
|
|
58
58
|
export type MapConfiguration = {
|
|
59
|
+
/**
|
|
60
|
+
* @maxLength `10`
|
|
61
|
+
*/
|
|
62
|
+
CustomLayers?: string[];
|
|
59
63
|
/**
|
|
60
64
|
* @minLength `3`
|
|
61
65
|
* @maxLength `3`
|
|
@@ -12,6 +12,10 @@ export type SageMakerAppImageConfigProperties = {
|
|
|
12
12
|
* @pattern `^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}`
|
|
13
13
|
*/
|
|
14
14
|
AppImageConfigName: string;
|
|
15
|
+
/**
|
|
16
|
+
* The JupyterLabAppImageConfig.
|
|
17
|
+
*/
|
|
18
|
+
JupyterLabAppImageConfig?: JupyterLabAppImageConfig;
|
|
15
19
|
/**
|
|
16
20
|
* The KernelGatewayImageConfig.
|
|
17
21
|
*/
|
|
@@ -36,6 +40,49 @@ export type SageMakerAppImageConfigAttributes = {
|
|
|
36
40
|
*/
|
|
37
41
|
AppImageConfigArn: string;
|
|
38
42
|
};
|
|
43
|
+
/**
|
|
44
|
+
* Type definition for `AWS::SageMaker::AppImageConfig.ContainerConfig`.
|
|
45
|
+
* The container configuration for a SageMaker image.
|
|
46
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-containerconfig.html}
|
|
47
|
+
*/
|
|
48
|
+
export type ContainerConfig = {
|
|
49
|
+
/**
|
|
50
|
+
* A list of arguments to apply to the container.
|
|
51
|
+
* @minLength `0`
|
|
52
|
+
* @maxLength `50`
|
|
53
|
+
*/
|
|
54
|
+
ContainerArguments?: string[];
|
|
55
|
+
/**
|
|
56
|
+
* The custom entry point to use on container.
|
|
57
|
+
* @minLength `0`
|
|
58
|
+
* @maxLength `1`
|
|
59
|
+
*/
|
|
60
|
+
ContainerEntrypoint?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* A list of variables to apply to the custom container.
|
|
63
|
+
* @minLength `0`
|
|
64
|
+
* @maxLength `25`
|
|
65
|
+
*/
|
|
66
|
+
ContainerEnvironmentVariables?: CustomImageContainerEnvironmentVariable[];
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Type definition for `AWS::SageMaker::AppImageConfig.CustomImageContainerEnvironmentVariable`.
|
|
70
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-customimagecontainerenvironmentvariable.html}
|
|
71
|
+
*/
|
|
72
|
+
export type CustomImageContainerEnvironmentVariable = {
|
|
73
|
+
/**
|
|
74
|
+
* @minLength `1`
|
|
75
|
+
* @maxLength `256`
|
|
76
|
+
* @pattern `^(?!\s*$).+`
|
|
77
|
+
*/
|
|
78
|
+
Key: string;
|
|
79
|
+
/**
|
|
80
|
+
* @minLength `1`
|
|
81
|
+
* @maxLength `256`
|
|
82
|
+
* @pattern `^(?!\s*$).+`
|
|
83
|
+
*/
|
|
84
|
+
Value: string;
|
|
85
|
+
};
|
|
39
86
|
/**
|
|
40
87
|
* Type definition for `AWS::SageMaker::AppImageConfig.FileSystemConfig`.
|
|
41
88
|
* The Amazon Elastic File System (EFS) storage configuration for a SageMaker image.
|
|
@@ -62,6 +109,17 @@ export type FileSystemConfig = {
|
|
|
62
109
|
*/
|
|
63
110
|
MountPath?: string;
|
|
64
111
|
};
|
|
112
|
+
/**
|
|
113
|
+
* Type definition for `AWS::SageMaker::AppImageConfig.JupyterLabAppImageConfig`.
|
|
114
|
+
* The configuration for the file system and kernels in a SageMaker image running as a JupyterLab app.
|
|
115
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-jupyterlabappimageconfig.html}
|
|
116
|
+
*/
|
|
117
|
+
export type JupyterLabAppImageConfig = {
|
|
118
|
+
/**
|
|
119
|
+
* The container configuration for a SageMaker image.
|
|
120
|
+
*/
|
|
121
|
+
ContainerConfig?: ContainerConfig;
|
|
122
|
+
};
|
|
65
123
|
/**
|
|
66
124
|
* Type definition for `AWS::SageMaker::AppImageConfig.KernelGatewayImageConfig`.
|
|
67
125
|
* The configuration for the file system and kernels in a SageMaker image running as a KernelGateway app.
|
|
@@ -238,12 +238,33 @@ export type DefaultSpaceStorageSettings = {
|
|
|
238
238
|
*/
|
|
239
239
|
DefaultEbsStorageSettings?: DefaultEbsStorageSettings;
|
|
240
240
|
};
|
|
241
|
+
/**
|
|
242
|
+
* Type definition for `AWS::SageMaker::Domain.DockerSettings`.
|
|
243
|
+
* A collection of settings that are required to start docker-proxy server.
|
|
244
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-dockersettings.html}
|
|
245
|
+
*/
|
|
246
|
+
export type DockerSettings = {
|
|
247
|
+
/**
|
|
248
|
+
* The flag to enable/disable docker-proxy server
|
|
249
|
+
*/
|
|
250
|
+
EnableDockerAccess?: "ENABLED" | "DISABLED";
|
|
251
|
+
/**
|
|
252
|
+
* A list of account id's that would be used to pull images from in VpcOnly mode
|
|
253
|
+
* @minLength `0`
|
|
254
|
+
* @maxLength `10`
|
|
255
|
+
*/
|
|
256
|
+
VpcOnlyTrustedAccounts?: string[];
|
|
257
|
+
};
|
|
241
258
|
/**
|
|
242
259
|
* Type definition for `AWS::SageMaker::Domain.DomainSettings`.
|
|
243
260
|
* A collection of Domain settings.
|
|
244
261
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-domainsettings.html}
|
|
245
262
|
*/
|
|
246
263
|
export type DomainSettings = {
|
|
264
|
+
/**
|
|
265
|
+
* A collection of settings that are required to start docker-proxy server.
|
|
266
|
+
*/
|
|
267
|
+
DockerSettings?: DockerSettings;
|
|
247
268
|
/**
|
|
248
269
|
* A collection of settings that update the current configuration for the RStudioServerPro Domain-level app.
|
|
249
270
|
*/
|
|
@@ -11,6 +11,12 @@ export type SageMakerSpaceProperties = {
|
|
|
11
11
|
* @maxLength `63`
|
|
12
12
|
*/
|
|
13
13
|
DomainId: string;
|
|
14
|
+
OwnershipSettings?: OwnershipSettings;
|
|
15
|
+
/**
|
|
16
|
+
* @maxLength `64`
|
|
17
|
+
* @pattern `^(?!\s*$).+`
|
|
18
|
+
*/
|
|
19
|
+
SpaceDisplayName?: string;
|
|
14
20
|
/**
|
|
15
21
|
* A name for the Space.
|
|
16
22
|
* @minLength `1`
|
|
@@ -21,6 +27,7 @@ export type SageMakerSpaceProperties = {
|
|
|
21
27
|
* A collection of settings.
|
|
22
28
|
*/
|
|
23
29
|
SpaceSettings?: SpaceSettings;
|
|
30
|
+
SpaceSharingSettings?: SpaceSharingSettings;
|
|
24
31
|
/**
|
|
25
32
|
* A list of tags to apply to the space.
|
|
26
33
|
* @minLength `0`
|
|
@@ -39,6 +46,34 @@ export type SageMakerSpaceAttributes = {
|
|
|
39
46
|
* @pattern `arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:space/.*`
|
|
40
47
|
*/
|
|
41
48
|
SpaceArn: string;
|
|
49
|
+
/**
|
|
50
|
+
* @maxLength `1024`
|
|
51
|
+
*/
|
|
52
|
+
Url: string;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Type definition for `AWS::SageMaker::Space.AppType`.
|
|
56
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-apptype.html}
|
|
57
|
+
*/
|
|
58
|
+
export type AppType = "JupyterServer" | "KernelGateway" | "TensorBoard" | "RStudioServerPro" | "RSessionGateway" | "JupyterLab" | "CodeEditor";
|
|
59
|
+
/**
|
|
60
|
+
* Type definition for `AWS::SageMaker::Space.CodeRepository`.
|
|
61
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-coderepository.html}
|
|
62
|
+
*/
|
|
63
|
+
export type CodeRepository = {
|
|
64
|
+
/**
|
|
65
|
+
* A CodeRepository (valid URL) to be used within Jupyter's Git extension.
|
|
66
|
+
* @maxLength `256`
|
|
67
|
+
* @pattern `^https://([.\-_a-zA-Z0-9]+/?){3,1016}$`
|
|
68
|
+
*/
|
|
69
|
+
RepositoryUrl: string;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Type definition for `AWS::SageMaker::Space.CustomFileSystem`.
|
|
73
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-customfilesystem.html}
|
|
74
|
+
*/
|
|
75
|
+
export type CustomFileSystem = {
|
|
76
|
+
EFSFileSystem?: EFSFileSystem;
|
|
42
77
|
};
|
|
43
78
|
/**
|
|
44
79
|
* Type definition for `AWS::SageMaker::Space.CustomImage`.
|
|
@@ -64,6 +99,31 @@ export type CustomImage = {
|
|
|
64
99
|
*/
|
|
65
100
|
ImageVersionNumber?: number;
|
|
66
101
|
};
|
|
102
|
+
/**
|
|
103
|
+
* Type definition for `AWS::SageMaker::Space.EbsStorageSettings`.
|
|
104
|
+
* Properties related to the space's Amazon Elastic Block Store volume.
|
|
105
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-ebsstoragesettings.html}
|
|
106
|
+
*/
|
|
107
|
+
export type EbsStorageSettings = {
|
|
108
|
+
/**
|
|
109
|
+
* Size of the Amazon EBS volume in Gb
|
|
110
|
+
* @min `5`
|
|
111
|
+
* @max `16384`
|
|
112
|
+
*/
|
|
113
|
+
EbsVolumeSizeInGb: number;
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* Type definition for `AWS::SageMaker::Space.EFSFileSystem`.
|
|
117
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-efsfilesystem.html}
|
|
118
|
+
*/
|
|
119
|
+
export type EFSFileSystem = {
|
|
120
|
+
/**
|
|
121
|
+
* @minLength `11`
|
|
122
|
+
* @maxLength `21`
|
|
123
|
+
* @pattern `^(fs-[0-9a-f]{8,})$`
|
|
124
|
+
*/
|
|
125
|
+
FileSystemId: string;
|
|
126
|
+
};
|
|
67
127
|
/**
|
|
68
128
|
* Type definition for `AWS::SageMaker::Space.JupyterServerAppSettings`.
|
|
69
129
|
* The JupyterServer app settings.
|
|
@@ -89,6 +149,17 @@ export type KernelGatewayAppSettings = {
|
|
|
89
149
|
*/
|
|
90
150
|
DefaultResourceSpec?: ResourceSpec;
|
|
91
151
|
};
|
|
152
|
+
/**
|
|
153
|
+
* Type definition for `AWS::SageMaker::Space.OwnershipSettings`.
|
|
154
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-ownershipsettings.html}
|
|
155
|
+
*/
|
|
156
|
+
export type OwnershipSettings = {
|
|
157
|
+
/**
|
|
158
|
+
* @maxLength `63`
|
|
159
|
+
* @pattern `^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}`
|
|
160
|
+
*/
|
|
161
|
+
OwnerUserProfileName: string;
|
|
162
|
+
};
|
|
92
163
|
/**
|
|
93
164
|
* Type definition for `AWS::SageMaker::Space.ResourceSpec`.
|
|
94
165
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-resourcespec.html}
|
|
@@ -97,7 +168,7 @@ export type ResourceSpec = {
|
|
|
97
168
|
/**
|
|
98
169
|
* The instance type that the image version runs on.
|
|
99
170
|
*/
|
|
100
|
-
InstanceType?: "system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.p3dn.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.12xlarge" | "ml.g5.16xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.geospatial.interactive";
|
|
171
|
+
InstanceType?: "system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.p3dn.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.12xlarge" | "ml.g5.16xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.geospatial.interactive" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge";
|
|
101
172
|
/**
|
|
102
173
|
* The ARN of the SageMaker image that the image version belongs to.
|
|
103
174
|
* @maxLength `256`
|
|
@@ -111,12 +182,48 @@ export type ResourceSpec = {
|
|
|
111
182
|
*/
|
|
112
183
|
SageMakerImageVersionArn?: string;
|
|
113
184
|
};
|
|
185
|
+
/**
|
|
186
|
+
* Type definition for `AWS::SageMaker::Space.SpaceCodeEditorAppSettings`.
|
|
187
|
+
* The CodeEditor app settings.
|
|
188
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacecodeeditorappsettings.html}
|
|
189
|
+
*/
|
|
190
|
+
export type SpaceCodeEditorAppSettings = {
|
|
191
|
+
DefaultResourceSpec?: ResourceSpec;
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* Type definition for `AWS::SageMaker::Space.SpaceJupyterLabAppSettings`.
|
|
195
|
+
* The JupyterServer app settings.
|
|
196
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacejupyterlabappsettings.html}
|
|
197
|
+
*/
|
|
198
|
+
export type SpaceJupyterLabAppSettings = {
|
|
199
|
+
/**
|
|
200
|
+
* A list of CodeRepositories available for use with JupyterLab apps.
|
|
201
|
+
* @minLength `0`
|
|
202
|
+
* @maxLength `30`
|
|
203
|
+
*/
|
|
204
|
+
CodeRepositories?: CodeRepository[];
|
|
205
|
+
DefaultResourceSpec?: ResourceSpec;
|
|
206
|
+
};
|
|
114
207
|
/**
|
|
115
208
|
* Type definition for `AWS::SageMaker::Space.SpaceSettings`.
|
|
116
209
|
* A collection of settings that apply to spaces of Amazon SageMaker Studio. These settings are specified when the CreateSpace API is called.
|
|
117
210
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacesettings.html}
|
|
118
211
|
*/
|
|
119
212
|
export type SpaceSettings = {
|
|
213
|
+
AppType?: AppType;
|
|
214
|
+
/**
|
|
215
|
+
* The CodeEditor app settings.
|
|
216
|
+
*/
|
|
217
|
+
CodeEditorAppSettings?: SpaceCodeEditorAppSettings;
|
|
218
|
+
/**
|
|
219
|
+
* @minLength `0`
|
|
220
|
+
* @maxLength `1`
|
|
221
|
+
*/
|
|
222
|
+
CustomFileSystems?: CustomFileSystem[];
|
|
223
|
+
/**
|
|
224
|
+
* The JupyterLab app settings.
|
|
225
|
+
*/
|
|
226
|
+
JupyterLabAppSettings?: SpaceJupyterLabAppSettings;
|
|
120
227
|
/**
|
|
121
228
|
* The Jupyter server's app settings.
|
|
122
229
|
*/
|
|
@@ -125,6 +232,27 @@ export type SpaceSettings = {
|
|
|
125
232
|
* The kernel gateway app settings.
|
|
126
233
|
*/
|
|
127
234
|
KernelGatewayAppSettings?: KernelGatewayAppSettings;
|
|
235
|
+
/**
|
|
236
|
+
* Default storage settings for a space.
|
|
237
|
+
*/
|
|
238
|
+
SpaceStorageSettings?: SpaceStorageSettings;
|
|
239
|
+
};
|
|
240
|
+
/**
|
|
241
|
+
* Type definition for `AWS::SageMaker::Space.SpaceSharingSettings`.
|
|
242
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacesharingsettings.html}
|
|
243
|
+
*/
|
|
244
|
+
export type SpaceSharingSettings = {
|
|
245
|
+
SharingType: "Private" | "Shared";
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* Type definition for `AWS::SageMaker::Space.SpaceStorageSettings`.
|
|
249
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacestoragesettings.html}
|
|
250
|
+
*/
|
|
251
|
+
export type SpaceStorageSettings = {
|
|
252
|
+
/**
|
|
253
|
+
* Properties related to the space's Amazon Elastic Block Store volume.
|
|
254
|
+
*/
|
|
255
|
+
EbsStorageSettings?: EbsStorageSettings;
|
|
128
256
|
};
|
|
129
257
|
/**
|
|
130
258
|
* Type definition for `AWS::SageMaker::Space.Tag`.
|