@awboost/cfn-resource-types 0.1.12 → 0.1.14

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.
@@ -6,34 +6,36 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
6
6
  */
7
7
  export type AmplifyUIBuilderComponentProperties = {
8
8
  AppId?: string;
9
- BindingProperties: ComponentBindingProperties;
9
+ BindingProperties?: ComponentBindingProperties;
10
10
  Children?: ComponentChild[];
11
11
  CollectionProperties?: ComponentCollectionProperties;
12
12
  /**
13
13
  * @minLength `1`
14
14
  * @maxLength `255`
15
15
  */
16
- ComponentType: string;
16
+ ComponentType?: string;
17
17
  EnvironmentName?: string;
18
18
  Events?: ComponentEvents;
19
19
  /**
20
20
  * @minLength `1`
21
21
  * @maxLength `255`
22
22
  */
23
- Name: string;
24
- Overrides: ComponentOverrides;
25
- Properties: ComponentProperties;
23
+ Name?: string;
24
+ Overrides?: ComponentOverrides;
25
+ Properties?: ComponentProperties;
26
26
  SchemaVersion?: string;
27
27
  SourceId?: string;
28
28
  Tags?: Tags;
29
- Variants: ComponentVariant[];
29
+ Variants?: ComponentVariant[];
30
30
  };
31
31
  /**
32
32
  * Attribute type definition for `AWS::AmplifyUIBuilder::Component`.
33
33
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#aws-resource-amplifyuibuilder-component-return-values}
34
34
  */
35
35
  export type AmplifyUIBuilderComponentAttributes = {
36
+ CreatedAt: string;
36
37
  Id: string;
38
+ ModifiedAt: string;
37
39
  };
38
40
  /**
39
41
  * Type definition for `AWS::AmplifyUIBuilder::Component.ActionParameters`.
@@ -75,6 +77,7 @@ export type ComponentBindingPropertiesValueProperties = {
75
77
  Key?: string;
76
78
  Model?: string;
77
79
  Predicates?: Predicate[];
80
+ SlotName?: string;
78
81
  UserAttribute?: string;
79
82
  };
80
83
  /**
@@ -87,6 +90,7 @@ export type ComponentChild = {
87
90
  Events?: ComponentEvents;
88
91
  Name: string;
89
92
  Properties: ComponentProperties;
93
+ SourceId?: string;
90
94
  };
91
95
  /**
92
96
  * Type definition for `AWS::AmplifyUIBuilder::Component.ComponentCollectionProperties`.
@@ -122,6 +126,7 @@ export type ComponentDataConfiguration = {
122
126
  */
123
127
  export type ComponentEvent = {
124
128
  Action?: string;
129
+ BindingEvent?: string;
125
130
  Parameters?: ActionParameters;
126
131
  };
127
132
  /**
@@ -216,6 +221,10 @@ export type Predicate = {
216
221
  And?: Predicate[];
217
222
  Field?: string;
218
223
  Operand?: string;
224
+ /**
225
+ * @pattern `^boolean|string|number$`
226
+ */
227
+ OperandType?: string;
219
228
  Operator?: string;
220
229
  Or?: Predicate[];
221
230
  };
@@ -7,19 +7,19 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
7
7
  export type AmplifyUIBuilderFormProperties = {
8
8
  AppId?: string;
9
9
  Cta?: FormCTA;
10
- DataType: FormDataTypeConfig;
10
+ DataType?: FormDataTypeConfig;
11
11
  EnvironmentName?: string;
12
- Fields: FieldsMap;
13
- FormActionType: FormActionType;
12
+ Fields?: FieldsMap;
13
+ FormActionType?: FormActionType;
14
14
  LabelDecorator?: LabelDecorator;
15
15
  /**
16
16
  * @minLength `1`
17
17
  * @maxLength `255`
18
18
  */
19
- Name: string;
20
- SchemaVersion: string;
21
- SectionalElements: SectionalElementMap;
22
- Style: FormStyle;
19
+ Name?: string;
20
+ SchemaVersion?: string;
21
+ SectionalElements?: SectionalElementMap;
22
+ Style?: FormStyle;
23
23
  Tags?: Tags;
24
24
  };
25
25
  /**
@@ -147,13 +147,43 @@ export type FormDataTypeConfig = {
147
147
  DataSourceType: FormDataSourceType;
148
148
  DataTypeName: string;
149
149
  };
150
+ /**
151
+ * Type definition for `AWS::AmplifyUIBuilder::Form.FormInputBindingProperties`.
152
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-form-forminputbindingproperties.html}
153
+ */
154
+ export type FormInputBindingProperties = Record<string, FormInputBindingPropertiesValue>;
155
+ /**
156
+ * Type definition for `AWS::AmplifyUIBuilder::Form.FormInputBindingPropertiesValue`.
157
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-form-forminputbindingpropertiesvalue.html}
158
+ */
159
+ export type FormInputBindingPropertiesValue = {
160
+ BindingProperties?: FormInputBindingPropertiesValueProperties;
161
+ Type?: string;
162
+ };
163
+ /**
164
+ * Type definition for `AWS::AmplifyUIBuilder::Form.FormInputBindingPropertiesValueProperties`.
165
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-form-forminputbindingpropertiesvalueproperties.html}
166
+ */
167
+ export type FormInputBindingPropertiesValueProperties = {
168
+ Model?: string;
169
+ };
150
170
  /**
151
171
  * Type definition for `AWS::AmplifyUIBuilder::Form.FormInputValueProperty`.
152
172
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-form-forminputvalueproperty.html}
153
173
  */
154
174
  export type FormInputValueProperty = {
175
+ BindingProperties?: FormInputValuePropertyBindingProperties;
176
+ Concat?: FormInputValueProperty[];
155
177
  Value?: string;
156
178
  };
179
+ /**
180
+ * Type definition for `AWS::AmplifyUIBuilder::Form.FormInputValuePropertyBindingProperties`.
181
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-form-forminputvaluepropertybindingproperties.html}
182
+ */
183
+ export type FormInputValuePropertyBindingProperties = {
184
+ Field?: string;
185
+ Property: string;
186
+ };
157
187
  /**
158
188
  * Type definition for `AWS::AmplifyUIBuilder::Form.FormStyle`.
159
189
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-form-formstyle.html}
@@ -217,6 +247,7 @@ export type ValueMapping = {
217
247
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-form-valuemappings.html}
218
248
  */
219
249
  export type ValueMappings = {
250
+ BindingProperties?: FormInputBindingProperties;
220
251
  Values: ValueMapping[];
221
252
  };
222
253
  /**
@@ -11,17 +11,19 @@ export type AmplifyUIBuilderThemeProperties = {
11
11
  * @minLength `1`
12
12
  * @maxLength `255`
13
13
  */
14
- Name: string;
14
+ Name?: string;
15
15
  Overrides?: ThemeValues[];
16
16
  Tags?: Tags;
17
- Values: ThemeValues[];
17
+ Values?: ThemeValues[];
18
18
  };
19
19
  /**
20
20
  * Attribute type definition for `AWS::AmplifyUIBuilder::Theme`.
21
21
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-theme.html#aws-resource-amplifyuibuilder-theme-return-values}
22
22
  */
23
23
  export type AmplifyUIBuilderThemeAttributes = {
24
+ CreatedAt: string;
24
25
  Id: string;
26
+ ModifiedAt: string;
25
27
  };
26
28
  /**
27
29
  * Type definition for `AWS::AmplifyUIBuilder::Theme.Tags`.
@@ -5,6 +5,10 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-table.html}
6
6
  */
7
7
  export type CassandraTableProperties = {
8
+ /**
9
+ * Represents the read and write settings used for AutoScaling.
10
+ */
11
+ AutoScalingSpecifications?: AutoScalingSpecification;
8
12
  BillingMode?: BillingMode;
9
13
  /**
10
14
  * Indicates whether client side timestamps are enabled (true) or disabled (false) on the table. False by default, once it is enabled it cannot be disabled again.
@@ -41,6 +45,10 @@ export type CassandraTableProperties = {
41
45
  * Non-key columns of the table
42
46
  */
43
47
  RegularColumns?: Column[];
48
+ /**
49
+ * @minLength `1`
50
+ */
51
+ ReplicaSpecifications?: ReplicaSpecification[];
44
52
  /**
45
53
  * Name for Cassandra table
46
54
  * @pattern `^[a-zA-Z0-9][a-zA-Z0-9_]{1,47}$`
@@ -53,6 +61,41 @@ export type CassandraTableProperties = {
53
61
  */
54
62
  Tags?: Tag[];
55
63
  };
64
+ /**
65
+ * Type definition for `AWS::Cassandra::Table.AutoScalingSetting`.
66
+ * Represents configuration for auto scaling.
67
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-autoscalingsetting.html}
68
+ */
69
+ export type AutoScalingSetting = {
70
+ AutoScalingDisabled?: boolean;
71
+ /**
72
+ * @min `1`
73
+ */
74
+ MaximumUnits?: number;
75
+ /**
76
+ * @min `1`
77
+ */
78
+ MinimumUnits?: number;
79
+ /**
80
+ * Represents scaling policy.
81
+ */
82
+ ScalingPolicy?: ScalingPolicy;
83
+ };
84
+ /**
85
+ * Type definition for `AWS::Cassandra::Table.AutoScalingSpecification`.
86
+ * Represents the read and write settings used for AutoScaling.
87
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-autoscalingspecification.html}
88
+ */
89
+ export type AutoScalingSpecification = {
90
+ /**
91
+ * Represents configuration for auto scaling.
92
+ */
93
+ ReadCapacityAutoScaling?: AutoScalingSetting;
94
+ /**
95
+ * Represents configuration for auto scaling.
96
+ */
97
+ WriteCapacityAutoScaling?: AutoScalingSetting;
98
+ };
56
99
  /**
57
100
  * Type definition for `AWS::Cassandra::Table.BillingMode`.
58
101
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-billingmode.html}
@@ -128,6 +171,34 @@ export type ProvisionedThroughput = {
128
171
  */
129
172
  WriteCapacityUnits: number;
130
173
  };
174
+ /**
175
+ * Type definition for `AWS::Cassandra::Table.ReplicaSpecification`.
176
+ * Represents replica specifications.
177
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-replicaspecification.html}
178
+ */
179
+ export type ReplicaSpecification = {
180
+ /**
181
+ * Represents configuration for auto scaling.
182
+ */
183
+ ReadCapacityAutoScaling?: AutoScalingSetting;
184
+ ReadCapacityUnits?: number;
185
+ /**
186
+ * @minLength `2`
187
+ * @maxLength `25`
188
+ */
189
+ Region: string;
190
+ };
191
+ /**
192
+ * Type definition for `AWS::Cassandra::Table.ScalingPolicy`.
193
+ * Represents scaling policy.
194
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-scalingpolicy.html}
195
+ */
196
+ export type ScalingPolicy = {
197
+ /**
198
+ * Represents configuration for target tracking scaling policy.
199
+ */
200
+ TargetTrackingScalingPolicyConfiguration?: TargetTrackingScalingPolicyConfiguration;
201
+ };
131
202
  /**
132
203
  * Type definition for `AWS::Cassandra::Table.Tag`.
133
204
  * A key-value pair to apply to the resource
@@ -145,6 +216,17 @@ export type Tag = {
145
216
  */
146
217
  Value: string;
147
218
  };
219
+ /**
220
+ * Type definition for `AWS::Cassandra::Table.TargetTrackingScalingPolicyConfiguration`.
221
+ * Represents configuration for target tracking scaling policy.
222
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-targettrackingscalingpolicyconfiguration.html}
223
+ */
224
+ export type TargetTrackingScalingPolicyConfiguration = {
225
+ DisableScaleIn?: boolean;
226
+ ScaleInCooldown?: number;
227
+ ScaleOutCooldown?: number;
228
+ TargetValue: number;
229
+ };
148
230
  /**
149
231
  * Resource schema for AWS::Cassandra::Table
150
232
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-table.html}
@@ -109,6 +109,7 @@ export type KeySchema = {
109
109
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-kinesisstreamspecification.html}
110
110
  */
111
111
  export type KinesisStreamSpecification = {
112
+ ApproximateCreationDateTimePrecision?: "MICROSECOND" | "MILLISECOND";
112
113
  StreamArn: string;
113
114
  };
114
115
  /**
@@ -95,6 +95,7 @@ export type KeySchema = {
95
95
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-kinesisstreamspecification.html}
96
96
  */
97
97
  export type KinesisStreamSpecification = {
98
+ ApproximateCreationDateTimePrecision?: "MICROSECOND" | "MILLISECOND";
98
99
  StreamArn: string;
99
100
  };
100
101
  /**
@@ -374,6 +374,10 @@ export type InstanceRequirements = {
374
374
  * The type of local storage that is required.
375
375
  */
376
376
  LocalStorageTypes?: string[];
377
+ /**
378
+ * The price protection threshold for Spot Instances.
379
+ */
380
+ MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number;
377
381
  /**
378
382
  * The minimum and maximum amount of memory per vCPU, in GiB.
379
383
  */
@@ -0,0 +1,37 @@
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::Glue::TableOptimizer
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html}
6
+ */
7
+ export type GlueTableOptimizerProperties = {
8
+ CatalogId: string;
9
+ DatabaseName: string;
10
+ TableName: string;
11
+ TableOptimizerConfiguration: TableOptimizerConfiguration;
12
+ Type: string;
13
+ };
14
+ /**
15
+ * Attribute type definition for `AWS::Glue::TableOptimizer`.
16
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html#aws-resource-glue-tableoptimizer-return-values}
17
+ */
18
+ export type GlueTableOptimizerAttributes = {
19
+ Id: string;
20
+ };
21
+ /**
22
+ * Type definition for `AWS::Glue::TableOptimizer.TableOptimizerConfiguration`.
23
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-tableoptimizerconfiguration.html}
24
+ */
25
+ export type TableOptimizerConfiguration = {
26
+ Enabled?: boolean;
27
+ RoleArn?: string;
28
+ };
29
+ /**
30
+ * Resource Type definition for AWS::Glue::TableOptimizer
31
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html}
32
+ */
33
+ export declare class GlueTableOptimizer extends $Resource<"AWS::Glue::TableOptimizer", GlueTableOptimizerProperties, GlueTableOptimizerAttributes> {
34
+ static readonly Type = "AWS::Glue::TableOptimizer";
35
+ constructor(logicalId: string, properties: GlueTableOptimizerProperties, options?: $ResourceOptions);
36
+ }
37
+ //# sourceMappingURL=AWS-Glue-TableOptimizer.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::Glue::TableOptimizer
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html}
5
+ */
6
+ export class GlueTableOptimizer extends $Resource {
7
+ static Type = "AWS::Glue::TableOptimizer";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, GlueTableOptimizer.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-Glue-TableOptimizer.js.map
@@ -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`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },