@awboost/cfn-resource-types 0.1.535 → 0.1.536
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.
|
@@ -13,6 +13,10 @@ export type EC2VolumeAttachmentProperties = {
|
|
|
13
13
|
* The device name (for example, ``/dev/sdh`` or ``xvdh``).
|
|
14
14
|
*/
|
|
15
15
|
Device?: string;
|
|
16
|
+
/**
|
|
17
|
+
* The index of the EBS card. Some instance types support multiple EBS cards. The default EBS card index is 0.
|
|
18
|
+
*/
|
|
19
|
+
EbsCardIndex?: number;
|
|
16
20
|
/**
|
|
17
21
|
* The ID of the instance to which the volume attaches. This value can be a reference to an [AWS::EC2::Instance](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html) resource, or it can be the physical ID of an existing EC2 instance.
|
|
18
22
|
*/
|
|
@@ -261,6 +261,10 @@ export type LocationCapacity = {
|
|
|
261
261
|
* @min `0`
|
|
262
262
|
*/
|
|
263
263
|
DesiredEC2Instances?: number;
|
|
264
|
+
/**
|
|
265
|
+
* Configuration options for Amazon GameLift Servers-managed capacity behavior.
|
|
266
|
+
*/
|
|
267
|
+
ManagedCapacityConfiguration?: ManagedCapacityConfiguration;
|
|
264
268
|
/**
|
|
265
269
|
* The maximum value that is allowed for the fleet's instance count for a location.
|
|
266
270
|
* @min `0`
|
|
@@ -324,6 +328,23 @@ export type LogConfiguration = {
|
|
|
324
328
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containerfleet-logdestination.html}
|
|
325
329
|
*/
|
|
326
330
|
export type LogDestination = "NONE" | "CLOUDWATCH" | "S3";
|
|
331
|
+
/**
|
|
332
|
+
* Type definition for `AWS::GameLift::ContainerFleet.ManagedCapacityConfiguration`.
|
|
333
|
+
* Configuration options for GameLift-managed capacity behavior.
|
|
334
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containerfleet-managedcapacityconfiguration.html}
|
|
335
|
+
*/
|
|
336
|
+
export type ManagedCapacityConfiguration = {
|
|
337
|
+
/**
|
|
338
|
+
* Length of time, in minutes, that Amazon GameLift Servers will wait before scaling in your MinSize and DesiredInstances to 0 after a period with no game session activity.
|
|
339
|
+
* @min `5`
|
|
340
|
+
* @max `1440`
|
|
341
|
+
*/
|
|
342
|
+
ScaleInAfterInactivityMinutes?: number;
|
|
343
|
+
/**
|
|
344
|
+
* The strategy Amazon GameLift Servers will use to automatically scale your capacity to and from zero in response to game session activity. Game session activity refers to any active running sessions or game session requests. When set to SCALE_TO_AND_FROM_ZERO, MinSize must not be specified and will be managed automatically. When set to MANUAL, MinSize is required.
|
|
345
|
+
*/
|
|
346
|
+
ZeroCapacityStrategy: "SCALE_TO_AND_FROM_ZERO" | "MANUAL";
|
|
347
|
+
};
|
|
327
348
|
/**
|
|
328
349
|
* Type definition for `AWS::GameLift::ContainerFleet.ScalingPolicy`.
|
|
329
350
|
* Rule that controls how a fleet is scaled. Scaling policies are uniquely identified by the combination of name and fleet ID.
|
|
@@ -226,6 +226,10 @@ export type LocationCapacity = {
|
|
|
226
226
|
* @min `0`
|
|
227
227
|
*/
|
|
228
228
|
DesiredEC2Instances?: number;
|
|
229
|
+
/**
|
|
230
|
+
* Configuration options for Amazon GameLift Servers-managed capacity behavior.
|
|
231
|
+
*/
|
|
232
|
+
ManagedCapacityConfiguration?: ManagedCapacityConfiguration;
|
|
229
233
|
/**
|
|
230
234
|
* The maximum value that is allowed for the fleet's instance count for a location. When creating a new fleet, GameLift automatically sets this value to "1". Once the fleet is active, you can change this value.
|
|
231
235
|
* @min `0`
|
|
@@ -254,6 +258,23 @@ export type LocationConfiguration = {
|
|
|
254
258
|
*/
|
|
255
259
|
LocationCapacity?: LocationCapacity;
|
|
256
260
|
};
|
|
261
|
+
/**
|
|
262
|
+
* Type definition for `AWS::GameLift::Fleet.ManagedCapacityConfiguration`.
|
|
263
|
+
* Configuration options for Amazon GameLift Servers-managed capacity behavior.
|
|
264
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-managedcapacityconfiguration.html}
|
|
265
|
+
*/
|
|
266
|
+
export type ManagedCapacityConfiguration = {
|
|
267
|
+
/**
|
|
268
|
+
* Length of time, in minutes, that Amazon GameLift Servers will wait before scaling in your MinSize and DesiredInstances to 0 after a period with no game session activity.
|
|
269
|
+
* @min `5`
|
|
270
|
+
* @max `1440`
|
|
271
|
+
*/
|
|
272
|
+
ScaleInAfterInactivityMinutes?: number;
|
|
273
|
+
/**
|
|
274
|
+
* The strategy Amazon GameLift Servers will use to automatically scale your capacity to and from zero in response to game session activity. Game session activity refers to any active running sessions or game session requests. When set to SCALE_TO_AND_FROM_ZERO, MinSize must not be specified and will be managed automatically. When set to MANUAL, MinSize is required.
|
|
275
|
+
*/
|
|
276
|
+
ZeroCapacityStrategy: "SCALE_TO_AND_FROM_ZERO" | "MANUAL";
|
|
277
|
+
};
|
|
257
278
|
/**
|
|
258
279
|
* Type definition for `AWS::GameLift::Fleet.ResourceCreationLimitPolicy`.
|
|
259
280
|
* A policy that limits the number of game sessions a player can create on the same fleet. This optional policy gives game owners control over how players can consume available game server resources. A resource creation policy makes the following statement: "An individual player can create a maximum number of new game sessions within a specified time period".
|
|
@@ -348,6 +348,10 @@ export type FieldToMatch = {
|
|
|
348
348
|
* Includes cookies of a web request.
|
|
349
349
|
*/
|
|
350
350
|
Cookies?: Cookies;
|
|
351
|
+
/**
|
|
352
|
+
* The string containing the list of a web request's header names, ordered as they appear in the web request, separated by colons.
|
|
353
|
+
*/
|
|
354
|
+
HeaderOrder?: HeaderOrder;
|
|
351
355
|
/**
|
|
352
356
|
* Includes headers of a web request.
|
|
353
357
|
*/
|
|
@@ -430,6 +434,17 @@ export type HeaderMatchPattern = {
|
|
|
430
434
|
*/
|
|
431
435
|
IncludedHeaders?: string[];
|
|
432
436
|
};
|
|
437
|
+
/**
|
|
438
|
+
* Type definition for `AWS::WAFv2::RuleGroup.HeaderOrder`.
|
|
439
|
+
* The string containing the list of a web request's header names, ordered as they appear in the web request, separated by colons.
|
|
440
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-headerorder.html}
|
|
441
|
+
*/
|
|
442
|
+
export type HeaderOrder = {
|
|
443
|
+
/**
|
|
444
|
+
* Handling of requests containing oversize fields
|
|
445
|
+
*/
|
|
446
|
+
OversizeHandling: OversizeHandling;
|
|
447
|
+
};
|
|
433
448
|
/**
|
|
434
449
|
* Type definition for `AWS::WAFv2::RuleGroup.Headers`.
|
|
435
450
|
* Includes headers of a web request.
|
|
@@ -547,6 +547,10 @@ export type FieldToMatch = {
|
|
|
547
547
|
* Includes cookies of a web request.
|
|
548
548
|
*/
|
|
549
549
|
Cookies?: Cookies;
|
|
550
|
+
/**
|
|
551
|
+
* The string containing the list of a web request's header names, ordered as they appear in the web request, separated by colons.
|
|
552
|
+
*/
|
|
553
|
+
HeaderOrder?: HeaderOrder;
|
|
550
554
|
/**
|
|
551
555
|
* Includes headers of a web request.
|
|
552
556
|
*/
|
|
@@ -644,6 +648,17 @@ export type HeaderMatchPattern = {
|
|
|
644
648
|
*/
|
|
645
649
|
IncludedHeaders?: string[];
|
|
646
650
|
};
|
|
651
|
+
/**
|
|
652
|
+
* Type definition for `AWS::WAFv2::WebACL.HeaderOrder`.
|
|
653
|
+
* The string containing the list of a web request's header names, ordered as they appear in the web request, separated by colons.
|
|
654
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-headerorder.html}
|
|
655
|
+
*/
|
|
656
|
+
export type HeaderOrder = {
|
|
657
|
+
/**
|
|
658
|
+
* Handling of requests containing oversize fields
|
|
659
|
+
*/
|
|
660
|
+
OversizeHandling: OversizeHandling;
|
|
661
|
+
};
|
|
647
662
|
/**
|
|
648
663
|
* Type definition for `AWS::WAFv2::WebACL.Headers`.
|
|
649
664
|
* Includes headers of a web request.
|