@awboost/cfn-resource-types 0.1.13 → 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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },