@awboost/cfn-resource-types 0.1.190 → 0.1.192

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.
@@ -5,6 +5,14 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html}
6
6
  */
7
7
  export type GameLiftContainerGroupDefinitionProperties = {
8
+ /**
9
+ * The scope of the container group
10
+ */
11
+ ContainerGroupType?: "GAME_SERVER" | "PER_INSTANCE";
12
+ /**
13
+ * Specifies the information required to run game servers with this container group
14
+ */
15
+ GameServerContainerDefinition?: GameServerContainerDefinition;
8
16
  /**
9
17
  * A descriptive label for the container group definition.
10
18
  * @minLength `1`
@@ -26,13 +34,31 @@ export type GameLiftContainerGroupDefinitionProperties = {
26
34
  * @minLength `1`
27
35
  * @maxLength `10`
28
36
  */
29
- SupportContainerDefinitions?: any[];
37
+ SupportContainerDefinitions?: SupportContainerDefinition[];
30
38
  /**
31
39
  * An array of key-value pairs to apply to this resource.
32
40
  * @minLength `0`
33
41
  * @maxLength `200`
34
42
  */
35
43
  Tags?: Tag[];
44
+ /**
45
+ * The total memory limit of container groups following this definition in MiB
46
+ * @min `4`
47
+ * @max `1024000`
48
+ */
49
+ TotalMemoryLimitMebibytes: number;
50
+ /**
51
+ * The total amount of virtual CPUs on the container group definition
52
+ * @min `0.125`
53
+ * @max `10`
54
+ */
55
+ TotalVcpuLimit: number;
56
+ /**
57
+ * The description of this version
58
+ * @minLength `1`
59
+ * @maxLength `1024`
60
+ */
61
+ VersionDescription?: string;
36
62
  };
37
63
  /**
38
64
  * Attribute type definition for `AWS::GameLift::ContainerGroupDefinition`.
@@ -43,7 +69,7 @@ export type GameLiftContainerGroupDefinitionAttributes = {
43
69
  * The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift container group resource and uniquely identifies it across all AWS Regions.
44
70
  * @minLength `1`
45
71
  * @maxLength `512`
46
- * @pattern `^arn:.*:containergroupdefinition/containergroupdefinition-[a-zA-Z0-9-]+$|^arn:.*:containergroupdefinition/[a-zA-Z0-9-\:]+$`
72
+ * @pattern `^arn:.*:containergroupdefinition\/[a-zA-Z0-9\-]+(:[0-9]+)?$`
47
73
  */
48
74
  ContainerGroupDefinitionArn: string;
49
75
  /**
@@ -58,6 +84,270 @@ export type GameLiftContainerGroupDefinitionAttributes = {
58
84
  * A string indicating the reason for ContainerGroupDefinition status.
59
85
  */
60
86
  StatusReason: string;
87
+ /**
88
+ * The version of this ContainerGroupDefinition
89
+ * @min `0`
90
+ */
91
+ VersionNumber: number;
92
+ };
93
+ /**
94
+ * Type definition for `AWS::GameLift::ContainerGroupDefinition.ContainerDependency`.
95
+ * A dependency that impacts a container's startup and shutdown.
96
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdependency.html}
97
+ */
98
+ export type ContainerDependency = {
99
+ /**
100
+ * The type of dependency.
101
+ */
102
+ Condition: "START" | "COMPLETE" | "SUCCESS" | "HEALTHY";
103
+ /**
104
+ * A descriptive label for the container definition. The container being defined depends on this container's condition.
105
+ * @minLength `1`
106
+ * @maxLength `128`
107
+ * @pattern `^[a-zA-Z0-9-]+$`
108
+ */
109
+ ContainerName: string;
110
+ };
111
+ /**
112
+ * Type definition for `AWS::GameLift::ContainerGroupDefinition.ContainerEnvironment`.
113
+ * An environment variable to set inside a container, in the form of a key-value pair.
114
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerenvironment.html}
115
+ */
116
+ export type ContainerEnvironment = {
117
+ /**
118
+ * The environment variable name.
119
+ * @minLength `1`
120
+ * @maxLength `255`
121
+ * @pattern `^.*$`
122
+ */
123
+ Name: string;
124
+ /**
125
+ * The environment variable value.
126
+ * @minLength `1`
127
+ * @maxLength `255`
128
+ * @pattern `^.*$`
129
+ */
130
+ Value: string;
131
+ };
132
+ /**
133
+ * Type definition for `AWS::GameLift::ContainerGroupDefinition.ContainerHealthCheck`.
134
+ * Specifies how the process manager checks the health of containers.
135
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerhealthcheck.html}
136
+ */
137
+ export type ContainerHealthCheck = {
138
+ /**
139
+ * A string array representing the command that the container runs to determine if it is healthy.
140
+ * @minLength `1`
141
+ * @maxLength `20`
142
+ */
143
+ Command: string[];
144
+ /**
145
+ * How often (in seconds) the health is checked.
146
+ * @min `60`
147
+ * @max `300`
148
+ */
149
+ Interval?: number;
150
+ /**
151
+ * How many times the process manager will retry the command after a timeout. (The first run of the command does not count as a retry.)
152
+ * @min `5`
153
+ * @max `10`
154
+ */
155
+ Retries?: number;
156
+ /**
157
+ * The optional grace period (in seconds) to give a container time to boostrap before teh health check is declared failed.
158
+ * @min `0`
159
+ * @max `300`
160
+ */
161
+ StartPeriod?: number;
162
+ /**
163
+ * How many seconds the process manager allows the command to run before canceling it.
164
+ * @min `30`
165
+ * @max `60`
166
+ */
167
+ Timeout?: number;
168
+ };
169
+ /**
170
+ * Type definition for `AWS::GameLift::ContainerGroupDefinition.ContainerMountPoint`.
171
+ * Defines the mount point configuration within a container.
172
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containermountpoint.html}
173
+ */
174
+ export type ContainerMountPoint = {
175
+ /**
176
+ * The access permissions for the mounted path.
177
+ */
178
+ AccessLevel?: "READ_ONLY" | "READ_AND_WRITE";
179
+ /**
180
+ * The path inside the container where the mount is accessible.
181
+ * @minLength `1`
182
+ * @maxLength `1024`
183
+ * @pattern `^(\/+[^\/]+\/*)+$`
184
+ */
185
+ ContainerPath?: string;
186
+ /**
187
+ * The path on the host that will be mounted in the container.
188
+ * @minLength `1`
189
+ * @maxLength `1024`
190
+ * @pattern `^\/[\s\S]*$`
191
+ */
192
+ InstancePath: string;
193
+ };
194
+ /**
195
+ * Type definition for `AWS::GameLift::ContainerGroupDefinition.ContainerPortRange`.
196
+ * A set of one or more port numbers that can be opened on the container.
197
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerportrange.html}
198
+ */
199
+ export type ContainerPortRange = {
200
+ /**
201
+ * A starting value for the range of allowed port numbers.
202
+ * @min `1`
203
+ * @max `60000`
204
+ */
205
+ FromPort: number;
206
+ /**
207
+ * Defines the protocol of these ports.
208
+ */
209
+ Protocol: "TCP" | "UDP";
210
+ /**
211
+ * An ending value for the range of allowed port numbers. Port numbers are end-inclusive. This value must be equal to or greater than FromPort.
212
+ * @min `1`
213
+ * @max `60000`
214
+ */
215
+ ToPort: number;
216
+ };
217
+ /**
218
+ * Type definition for `AWS::GameLift::ContainerGroupDefinition.GameServerContainerDefinition`.
219
+ * Specifies the information required to run game servers with this container group
220
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-gameservercontainerdefinition.html}
221
+ */
222
+ export type GameServerContainerDefinition = {
223
+ /**
224
+ * A descriptive label for the container definition. Container definition names must be unique with a container group definition.
225
+ * @minLength `1`
226
+ * @maxLength `128`
227
+ * @pattern `^[a-zA-Z0-9-]+$`
228
+ */
229
+ ContainerName: string;
230
+ /**
231
+ * A list of container dependencies that determines when this container starts up and shuts down. For container groups with multiple containers, dependencies let you define a startup/shutdown sequence across the containers.
232
+ * @minLength `1`
233
+ * @maxLength `10`
234
+ */
235
+ DependsOn?: ContainerDependency[];
236
+ /**
237
+ * The environment variables to pass to a container.
238
+ * @minLength `1`
239
+ * @maxLength `20`
240
+ */
241
+ EnvironmentOverride?: ContainerEnvironment[];
242
+ /**
243
+ * Specifies the image URI of this container.
244
+ * @minLength `1`
245
+ * @maxLength `255`
246
+ * @pattern `^[a-zA-Z0-9-_\.@\/:]+$`
247
+ */
248
+ ImageUri: string;
249
+ /**
250
+ * A list of mount point configurations to be used in a container.
251
+ * @minLength `1`
252
+ * @maxLength `10`
253
+ */
254
+ MountPoints?: ContainerMountPoint[];
255
+ /**
256
+ * Defines the ports on the container.
257
+ */
258
+ PortConfiguration?: PortConfiguration;
259
+ /**
260
+ * The digest of the container image.
261
+ * @pattern `^sha256:[a-fA-F0-9]{64}$`
262
+ */
263
+ ResolvedImageDigest?: string;
264
+ /**
265
+ * The version of the server SDK used in this container group
266
+ * @maxLength `128`
267
+ * @pattern `^\d+\.\d+\.\d+$`
268
+ */
269
+ ServerSdkVersion: string;
270
+ };
271
+ /**
272
+ * Type definition for `AWS::GameLift::ContainerGroupDefinition.PortConfiguration`.
273
+ * Defines the ports on a container.
274
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-portconfiguration.html}
275
+ */
276
+ export type PortConfiguration = {
277
+ /**
278
+ * Specifies one or more ranges of ports on a container.
279
+ * @minLength `1`
280
+ * @maxLength `100`
281
+ */
282
+ ContainerPortRanges: ContainerPortRange[];
283
+ };
284
+ /**
285
+ * Type definition for `AWS::GameLift::ContainerGroupDefinition.SupportContainerDefinition`.
286
+ * Supports the function of the main container group
287
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-supportcontainerdefinition.html}
288
+ */
289
+ export type SupportContainerDefinition = {
290
+ /**
291
+ * A descriptive label for the container definition.
292
+ * @minLength `1`
293
+ * @maxLength `128`
294
+ * @pattern `^[a-zA-Z0-9-]+$`
295
+ */
296
+ ContainerName: string;
297
+ /**
298
+ * A list of container dependencies that determines when this container starts up and shuts down. For container groups with multiple containers, dependencies let you define a startup/shutdown sequence across the containers.
299
+ * @minLength `1`
300
+ * @maxLength `10`
301
+ */
302
+ DependsOn?: ContainerDependency[];
303
+ /**
304
+ * The environment variables to pass to a container.
305
+ * @minLength `1`
306
+ * @maxLength `20`
307
+ */
308
+ EnvironmentOverride?: ContainerEnvironment[];
309
+ /**
310
+ * Specifies if the container is essential. If an essential container fails a health check, then all containers in the container group will be restarted. You must specify exactly 1 essential container in a container group.
311
+ */
312
+ Essential?: boolean;
313
+ /**
314
+ * Specifies how the health of the containers will be checked.
315
+ */
316
+ HealthCheck?: ContainerHealthCheck;
317
+ /**
318
+ * Specifies the image URI of this container.
319
+ * @minLength `1`
320
+ * @maxLength `255`
321
+ * @pattern `^[a-zA-Z0-9-_\.@\/:]+$`
322
+ */
323
+ ImageUri: string;
324
+ /**
325
+ * The total memory limit of container groups following this definition in MiB
326
+ * @min `4`
327
+ * @max `1024000`
328
+ */
329
+ MemoryHardLimitMebibytes?: number;
330
+ /**
331
+ * A list of mount point configurations to be used in a container.
332
+ * @minLength `1`
333
+ * @maxLength `10`
334
+ */
335
+ MountPoints?: ContainerMountPoint[];
336
+ /**
337
+ * Defines the ports on the container.
338
+ */
339
+ PortConfiguration?: PortConfiguration;
340
+ /**
341
+ * The digest of the container image.
342
+ * @pattern `^sha256:[a-fA-F0-9]{64}$`
343
+ */
344
+ ResolvedImageDigest?: string;
345
+ /**
346
+ * The number of virtual CPUs to give to the support group
347
+ * @min `0.125`
348
+ * @max `10`
349
+ */
350
+ Vcpu?: number;
61
351
  };
62
352
  /**
63
353
  * Type definition for `AWS::GameLift::ContainerGroupDefinition.Tag`.
@@ -7,6 +7,7 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
7
7
  export type KinesisFirehoseDeliveryStreamProperties = {
8
8
  AmazonOpenSearchServerlessDestinationConfiguration?: AmazonOpenSearchServerlessDestinationConfiguration;
9
9
  AmazonopensearchserviceDestinationConfiguration?: AmazonopensearchserviceDestinationConfiguration;
10
+ DatabaseSourceConfiguration?: DatabaseSourceConfiguration;
10
11
  DeliveryStreamEncryptionConfigurationInput?: DeliveryStreamEncryptionConfigurationInput;
11
12
  /**
12
13
  * @minLength `1`
@@ -14,7 +15,7 @@ export type KinesisFirehoseDeliveryStreamProperties = {
14
15
  * @pattern `[a-zA-Z0-9._-]+`
15
16
  */
16
17
  DeliveryStreamName?: string;
17
- DeliveryStreamType?: "DirectPut" | "KinesisStreamAsSource" | "MSKAsSource";
18
+ DeliveryStreamType?: "DatabaseAsSource" | "DirectPut" | "KinesisStreamAsSource" | "MSKAsSource";
18
19
  ElasticsearchDestinationConfiguration?: ElasticsearchDestinationConfiguration;
19
20
  ExtendedS3DestinationConfiguration?: ExtendedS3DestinationConfiguration;
20
21
  HttpEndpointDestinationConfiguration?: HttpEndpointDestinationConfiguration;
@@ -204,6 +205,92 @@ export type CopyCommand = {
204
205
  */
205
206
  DataTableName: string;
206
207
  };
208
+ /**
209
+ * Type definition for `AWS::KinesisFirehose::DeliveryStream.DatabaseColumns`.
210
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasecolumns.html}
211
+ */
212
+ export type DatabaseColumns = {
213
+ Exclude?: string[];
214
+ Include?: string[];
215
+ };
216
+ /**
217
+ * Type definition for `AWS::KinesisFirehose::DeliveryStream.Databases`.
218
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databases.html}
219
+ */
220
+ export type Databases = {
221
+ Exclude?: string[];
222
+ Include?: string[];
223
+ };
224
+ /**
225
+ * Type definition for `AWS::KinesisFirehose::DeliveryStream.DatabaseSourceAuthenticationConfiguration`.
226
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasesourceauthenticationconfiguration.html}
227
+ */
228
+ export type DatabaseSourceAuthenticationConfiguration = {
229
+ SecretsManagerConfiguration: SecretsManagerConfiguration;
230
+ };
231
+ /**
232
+ * Type definition for `AWS::KinesisFirehose::DeliveryStream.DatabaseSourceConfiguration`.
233
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasesourceconfiguration.html}
234
+ */
235
+ export type DatabaseSourceConfiguration = {
236
+ Columns?: DatabaseColumns;
237
+ DatabaseSourceAuthenticationConfiguration: DatabaseSourceAuthenticationConfiguration;
238
+ DatabaseSourceVPCConfiguration: DatabaseSourceVPCConfiguration;
239
+ Databases: Databases;
240
+ /**
241
+ * @minLength `1`
242
+ * @maxLength `512`
243
+ * @pattern `.*`
244
+ */
245
+ Digest?: string;
246
+ /**
247
+ * @minLength `1`
248
+ * @maxLength `255`
249
+ * @pattern `^(?!\s*$).+`
250
+ */
251
+ Endpoint: string;
252
+ /**
253
+ * @min `0`
254
+ * @max `65535`
255
+ */
256
+ Port: number;
257
+ /**
258
+ * @minLength `1`
259
+ * @maxLength `4096`
260
+ * @pattern `.*`
261
+ */
262
+ PublicCertificate?: string;
263
+ SSLMode?: "Disabled" | "Enabled";
264
+ /**
265
+ * @minLength `1`
266
+ * @maxLength `129`
267
+ * @pattern `[\u0001-\uFFFF]*`
268
+ */
269
+ SnapshotWatermarkTable: string;
270
+ SurrogateKeys?: string[];
271
+ Tables: DatabaseTables;
272
+ Type: "MySQL" | "PostgreSQL";
273
+ };
274
+ /**
275
+ * Type definition for `AWS::KinesisFirehose::DeliveryStream.DatabaseSourceVPCConfiguration`.
276
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasesourcevpcconfiguration.html}
277
+ */
278
+ export type DatabaseSourceVPCConfiguration = {
279
+ /**
280
+ * @minLength `47`
281
+ * @maxLength `255`
282
+ * @pattern `([a-zA-Z0-9\-\_]+\.){2,3}vpce\.[a-zA-Z0-9\-]*\.vpce-svc\-[a-zA-Z0-9\-]{17}$`
283
+ */
284
+ VpcEndpointServiceName: string;
285
+ };
286
+ /**
287
+ * Type definition for `AWS::KinesisFirehose::DeliveryStream.DatabaseTables`.
288
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasetables.html}
289
+ */
290
+ export type DatabaseTables = {
291
+ Exclude?: string[];
292
+ Include?: string[];
293
+ };
207
294
  /**
208
295
  * Type definition for `AWS::KinesisFirehose::DeliveryStream.DataFormatConversionConfiguration`.
209
296
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-dataformatconversionconfiguration.html}
@@ -710,13 +797,13 @@ export type SecretsManagerConfiguration = {
710
797
  /**
711
798
  * @minLength `1`
712
799
  * @maxLength `512`
713
- * @pattern `arn:.*`
800
+ * @pattern `arn:.*:iam::\d{12}:role/[a-zA-Z_0-9+=,.@\-_/]+`
714
801
  */
715
802
  RoleARN?: string;
716
803
  /**
717
804
  * @minLength `1`
718
- * @maxLength `512`
719
- * @pattern `arn:.*`
805
+ * @maxLength `2048`
806
+ * @pattern `arn:.*:secretsmanager:[a-zA-Z0-9\-]+:\d{12}:secret:[a-zA-Z0-9\-/_+=.@]+`
720
807
  */
721
808
  SecretARN?: string;
722
809
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.190",
3
+ "version": "0.1.192",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },