@awboost/cfn-resource-types 0.1.355 → 0.1.356

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.
@@ -88,7 +88,7 @@ export type KMSKeyProperties = {
88
88
  + SM2 key pairs (encryption and decryption *or* signing and verification *or* deriving shared secrets)
89
89
  + ``SM2`` (China Regions only)
90
90
  */
91
- KeySpec?: "SYMMETRIC_DEFAULT" | "RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2";
91
+ KeySpec?: "SYMMETRIC_DEFAULT" | "RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2" | "ML_DSA_44" | "ML_DSA_65" | "ML_DSA_87";
92
92
  /**
93
93
  * Determines the [cryptographic operations](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations) for which you can use the KMS key. The default value is ``ENCRYPT_DECRYPT``. This property is required for asymmetric KMS keys and HMAC KMS keys. You can't change the ``KeyUsage`` value after the KMS key is created.
94
94
  If you change the value of the ``KeyUsage`` property on an existing KMS key, the update request fails, regardless of the value of the [UpdateReplacePolicy attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatereplacepolicy.html). This prevents you from accidentally deleting a KMS key by changing an immutable property value.
@@ -157,6 +157,10 @@ export type MWAAEnvironmentProperties = {
157
157
  * @pattern `(MON|TUE|WED|THU|FRI|SAT|SUN):([01]\d|2[0-3]):(00|30)`
158
158
  */
159
159
  WeeklyMaintenanceWindowStart?: string;
160
+ /**
161
+ * The worker replacement strategy to use when updating the environment. Valid values: `FORCED`, `GRACEFUL`. FORCED means Apache Airflow workers will be stopped and replaced without waiting for tasks to complete before an update. GRACEFUL means Apache Airflow workers will be able to complete running tasks for up to 12 hours during an update before being stopped and replaced.
162
+ */
163
+ WorkerReplacementStrategy?: WorkerReplacementStrategy;
160
164
  };
161
165
  /**
162
166
  * Attribute type definition for `AWS::MWAA::Environment`.
@@ -320,6 +324,12 @@ export type NetworkConfiguration = {
320
324
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-webserveraccessmode.html}
321
325
  */
322
326
  export type WebserverAccessMode = "PRIVATE_ONLY" | "PUBLIC_ONLY";
327
+ /**
328
+ * Type definition for `AWS::MWAA::Environment.WorkerReplacementStrategy`.
329
+ * The worker replacement strategy to use when updating the environment. Valid values: `FORCED`, `GRACEFUL`. FORCED means Apache Airflow workers will be stopped and replaced without waiting for tasks to complete before an update. GRACEFUL means Apache Airflow workers will be able to complete running tasks for up to 12 hours during an update before being stopped and replaced.
330
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-workerreplacementstrategy.html}
331
+ */
332
+ export type WorkerReplacementStrategy = "FORCED" | "GRACEFUL";
323
333
  /**
324
334
  * Resource schema for AWS::MWAA::Environment
325
335
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html}
@@ -22,6 +22,7 @@ export type OpsWorksCMServerProperties = {
22
22
  PreferredBackupWindow?: string;
23
23
  PreferredMaintenanceWindow?: string;
24
24
  SecurityGroupIds?: string[];
25
+ ServerName?: string;
25
26
  ServiceRoleArn: string;
26
27
  SubnetIds?: string[];
27
28
  Tags?: Tag[];
@@ -34,7 +35,6 @@ export type OpsWorksCMServerAttributes = {
34
35
  Arn: string;
35
36
  Endpoint: string;
36
37
  Id: string;
37
- ServerName: string;
38
38
  };
39
39
  /**
40
40
  * Type definition for `AWS::OpsWorksCM::Server.EngineAttribute`.
@@ -101,6 +101,14 @@ export type AllowAction = {
101
101
  export type AndStatement = {
102
102
  Statements: Statement[];
103
103
  };
104
+ /**
105
+ * Type definition for `AWS::WAFv2::RuleGroup.AsnMatchStatement`.
106
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-asnmatchstatement.html}
107
+ */
108
+ export type AsnMatchStatement = {
109
+ AsnList?: number[];
110
+ ForwardedIPConfig?: ForwardedIPConfiguration;
111
+ };
104
112
  /**
105
113
  * Type definition for `AWS::WAFv2::RuleGroup.BlockAction`.
106
114
  * Block traffic towards application.
@@ -625,6 +633,10 @@ export type RateBasedStatement = {
625
633
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ratebasedstatementcustomkey.html}
626
634
  */
627
635
  export type RateBasedStatementCustomKey = {
636
+ /**
637
+ * Specifies the request's ASN as an aggregate key for a rate-based rule.
638
+ */
639
+ ASN?: RateLimitAsn;
628
640
  /**
629
641
  * Specifies a cookie as an aggregate key for a rate-based rule.
630
642
  */
@@ -670,6 +682,12 @@ export type RateBasedStatementCustomKey = {
670
682
  */
671
683
  UriPath?: RateLimitUriPath;
672
684
  };
685
+ /**
686
+ * Type definition for `AWS::WAFv2::RuleGroup.RateLimitAsn`.
687
+ * Specifies the request's ASN as an aggregate key for a rate-based rule.
688
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ratelimitasn.html}
689
+ */
690
+ export type RateLimitAsn = Record<string, any>;
673
691
  /**
674
692
  * Type definition for `AWS::WAFv2::RuleGroup.RateLimitCookie`.
675
693
  * Specifies a cookie as an aggregate key for a rate-based rule.
@@ -931,6 +949,7 @@ export type SqliMatchStatement = {
931
949
  */
932
950
  export type Statement = {
933
951
  AndStatement?: AndStatement;
952
+ AsnMatchStatement?: AsnMatchStatement;
934
953
  /**
935
954
  * Byte Match statement.
936
955
  */
@@ -34,7 +34,10 @@ export type WAFv2WebACLProperties = {
34
34
  * @pattern `^[0-9A-Za-z_-]{1,128}$`
35
35
  */
36
36
  Name?: string;
37
- OnSourceDDoSProtectionConfig?: any;
37
+ /**
38
+ * Configures the options for on-source DDoS protection provided by supported resource type.
39
+ */
40
+ OnSourceDDoSProtectionConfig?: OnSourceDDoSProtectionConfig;
38
41
  /**
39
42
  * Collection of Rules.
40
43
  */
@@ -105,6 +108,14 @@ export type AllowAction = {
105
108
  export type AndStatement = {
106
109
  Statements: Statement[];
107
110
  };
111
+ /**
112
+ * Type definition for `AWS::WAFv2::WebACL.AsnMatchStatement`.
113
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-asnmatchstatement.html}
114
+ */
115
+ export type AsnMatchStatement = {
116
+ AsnList?: number[];
117
+ ForwardedIPConfig?: ForwardedIPConfiguration;
118
+ };
108
119
  /**
109
120
  * Type definition for `AWS::WAFv2::WebACL.AssociationConfig`.
110
121
  * AssociationConfig for body inspection
@@ -134,6 +145,18 @@ export type AWSManagedRulesACFPRuleSet = {
134
145
  */
135
146
  ResponseInspection?: ResponseInspection;
136
147
  };
148
+ /**
149
+ * Type definition for `AWS::WAFv2::WebACL.AWSManagedRulesAntiDDoSRuleSet`.
150
+ * Configures how to use the AntiDDOS AWS managed rule group in the web ACL
151
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-awsmanagedrulesantiddosruleset.html}
152
+ */
153
+ export type AWSManagedRulesAntiDDoSRuleSet = {
154
+ /**
155
+ * Client side action config for AntiDDOS AMR.
156
+ */
157
+ ClientSideActionConfig: ClientSideActionConfig;
158
+ SensitivityToBlock?: SensitivityToAct;
159
+ };
137
160
  /**
138
161
  * Type definition for `AWS::WAFv2::WebACL.AWSManagedRulesATPRuleSet`.
139
162
  * Configures how to use the Account Takeover Prevention managed rule group in the web ACL
@@ -248,6 +271,27 @@ export type ChallengeAction = {
248
271
  export type ChallengeConfig = {
249
272
  ImmunityTimeProperty?: ImmunityTimeProperty;
250
273
  };
274
+ /**
275
+ * Type definition for `AWS::WAFv2::WebACL.ClientSideAction`.
276
+ * Client side action config for AntiDDOS AMR.
277
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-clientsideaction.html}
278
+ */
279
+ export type ClientSideAction = {
280
+ ExemptUriRegularExpressions?: Regex[];
281
+ Sensitivity?: SensitivityToAct;
282
+ UsageOfAction: UsageOfAction;
283
+ };
284
+ /**
285
+ * Type definition for `AWS::WAFv2::WebACL.ClientSideActionConfig`.
286
+ * Client side action config for AntiDDOS AMR.
287
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-clientsideactionconfig.html}
288
+ */
289
+ export type ClientSideActionConfig = {
290
+ /**
291
+ * Client side action config for AntiDDOS AMR.
292
+ */
293
+ Challenge: ClientSideAction;
294
+ };
251
295
  /**
252
296
  * Type definition for `AWS::WAFv2::WebACL.CookieMatchPattern`.
253
297
  * The pattern to look for in the request cookies.
@@ -716,6 +760,10 @@ export type ManagedRuleGroupConfig = {
716
760
  * Configures how to use the Account Takeover Prevention managed rule group in the web ACL
717
761
  */
718
762
  AWSManagedRulesATPRuleSet?: AWSManagedRulesATPRuleSet;
763
+ /**
764
+ * Configures how to use the AntiDDOS AWS managed rule group in the web ACL
765
+ */
766
+ AWSManagedRulesAntiDDoSRuleSet?: AWSManagedRulesAntiDDoSRuleSet;
719
767
  /**
720
768
  * Configures how to use the Bot Control managed rule group in the web ACL
721
769
  */
@@ -778,6 +826,14 @@ export type NotStatement = {
778
826
  */
779
827
  Statement: Statement;
780
828
  };
829
+ /**
830
+ * Type definition for `AWS::WAFv2::WebACL.OnSourceDDoSProtectionConfig`.
831
+ * Configures the options for on-source DDoS protection provided by supported resource type.
832
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-onsourceddosprotectionconfig.html}
833
+ */
834
+ export type OnSourceDDoSProtectionConfig = {
835
+ ALBLowReputationMode: "ACTIVE_UNDER_DDOS" | "ALWAYS_ON";
836
+ };
781
837
  /**
782
838
  * Type definition for `AWS::WAFv2::WebACL.OrStatement`.
783
839
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-orstatement.html}
@@ -846,6 +902,10 @@ export type RateBasedStatement = {
846
902
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ratebasedstatementcustomkey.html}
847
903
  */
848
904
  export type RateBasedStatementCustomKey = {
905
+ /**
906
+ * Specifies the request's ASN as an aggregate key for a rate-based rule.
907
+ */
908
+ ASN?: RateLimitAsn;
849
909
  /**
850
910
  * Specifies a cookie as an aggregate key for a rate-based rule.
851
911
  */
@@ -891,6 +951,12 @@ export type RateBasedStatementCustomKey = {
891
951
  */
892
952
  UriPath?: RateLimitUriPath;
893
953
  };
954
+ /**
955
+ * Type definition for `AWS::WAFv2::WebACL.RateLimitAsn`.
956
+ * Specifies the request's ASN as an aggregate key for a rate-based rule.
957
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ratelimitasn.html}
958
+ */
959
+ export type RateLimitAsn = Record<string, any>;
894
960
  /**
895
961
  * Type definition for `AWS::WAFv2::WebACL.RateLimitCookie`.
896
962
  * Specifies a cookie as an aggregate key for a rate-based rule.
@@ -998,6 +1064,18 @@ export type RateLimitQueryString = {
998
1064
  export type RateLimitUriPath = {
999
1065
  TextTransformations: TextTransformation[];
1000
1066
  };
1067
+ /**
1068
+ * Type definition for `AWS::WAFv2::WebACL.Regex`.
1069
+ * Regex
1070
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-regex.html}
1071
+ */
1072
+ export type Regex = {
1073
+ /**
1074
+ * @minLength `1`
1075
+ * @maxLength `512`
1076
+ */
1077
+ RegexString?: string;
1078
+ };
1001
1079
  /**
1002
1080
  * Type definition for `AWS::WAFv2::WebACL.RegexMatchStatement`.
1003
1081
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-regexmatchstatement.html}
@@ -1289,6 +1367,11 @@ export type Scope = "CLOUDFRONT" | "REGIONAL";
1289
1367
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-sensitivitylevel.html}
1290
1368
  */
1291
1369
  export type SensitivityLevel = "LOW" | "HIGH";
1370
+ /**
1371
+ * Type definition for `AWS::WAFv2::WebACL.SensitivityToAct`.
1372
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-sensitivitytoact.html}
1373
+ */
1374
+ export type SensitivityToAct = "LOW" | "MEDIUM" | "HIGH";
1292
1375
  /**
1293
1376
  * Type definition for `AWS::WAFv2::WebACL.SizeConstraintStatement`.
1294
1377
  * Size Constraint statement.
@@ -1335,6 +1418,7 @@ export type SqliMatchStatement = {
1335
1418
  */
1336
1419
  export type Statement = {
1337
1420
  AndStatement?: AndStatement;
1421
+ AsnMatchStatement?: AsnMatchStatement;
1338
1422
  /**
1339
1423
  * Byte Match statement.
1340
1424
  */
@@ -1408,6 +1492,11 @@ export type TextTransformationType = "NONE" | "COMPRESS_WHITE_SPACE" | "HTML_ENT
1408
1492
  export type UriFragment = {
1409
1493
  FallbackBehavior?: "MATCH" | "NO_MATCH";
1410
1494
  };
1495
+ /**
1496
+ * Type definition for `AWS::WAFv2::WebACL.UsageOfAction`.
1497
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-usageofaction.html}
1498
+ */
1499
+ export type UsageOfAction = "ENABLED" | "DISABLED";
1411
1500
  /**
1412
1501
  * Type definition for `AWS::WAFv2::WebACL.VisibilityConfig`.
1413
1502
  * Visibility Metric of the WebACL.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.355",
3
+ "version": "0.1.356",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },