@aws-solutions-constructs/core 2.79.0 → 2.80.0

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.
package/.jsii CHANGED
@@ -13,7 +13,7 @@
13
13
  "npmlog": "^7.0.0"
14
14
  },
15
15
  "dependencies": {
16
- "aws-cdk-lib": "^2.177.0",
16
+ "aws-cdk-lib": "^2.179.0",
17
17
  "constructs": "^10.0.0"
18
18
  },
19
19
  "dependencyClosure": {
@@ -43,32 +43,6 @@
43
43
  }
44
44
  }
45
45
  },
46
- "@aws-cdk/asset-kubectl-v20": {
47
- "targets": {
48
- "dotnet": {
49
- "namespace": "Amazon.CDK.Asset.KubectlV20",
50
- "packageId": "Amazon.CDK.Asset.KubectlV20"
51
- },
52
- "go": {
53
- "moduleName": "github.com/cdklabs/awscdk-asset-kubectl-go",
54
- "packageName": "kubectlv20"
55
- },
56
- "java": {
57
- "maven": {
58
- "artifactId": "cdk-asset-kubectl-v20",
59
- "groupId": "software.amazon.awscdk"
60
- },
61
- "package": "software.amazon.awscdk.cdk.asset.kubectl.v20"
62
- },
63
- "js": {
64
- "npm": "@aws-cdk/asset-kubectl-v20"
65
- },
66
- "python": {
67
- "distName": "aws-cdk.asset-kubectl-v20",
68
- "module": "aws_cdk.asset_kubectl_v20"
69
- }
70
- }
71
- },
72
46
  "@aws-cdk/asset-node-proxy-agent-v6": {
73
47
  "targets": {
74
48
  "dotnet": {
@@ -3821,19 +3795,6 @@
3821
3795
  }
3822
3796
  }
3823
3797
  },
3824
- "aws-cdk-lib.lambda_layer_kubectl": {
3825
- "targets": {
3826
- "dotnet": {
3827
- "namespace": "Amazon.CDK.LambdaLayer.Kubectl"
3828
- },
3829
- "java": {
3830
- "package": "software.amazon.awscdk.lambdalayer.kubectl"
3831
- },
3832
- "python": {
3833
- "module": "aws_cdk.lambda_layer_kubectl"
3834
- }
3835
- }
3836
- },
3837
3798
  "aws-cdk-lib.lambda_layer_node_proxy_agent": {
3838
3799
  "targets": {
3839
3800
  "dotnet": {
@@ -3990,7 +3951,7 @@
3990
3951
  "kind": "interface",
3991
3952
  "locationInModule": {
3992
3953
  "filename": "lib/apigateway-helper.ts",
3993
- "line": 319
3954
+ "line": 323
3994
3955
  },
3995
3956
  "name": "AddProxyMethodToApiResourceInputParams",
3996
3957
  "properties": [
@@ -3999,7 +3960,7 @@
3999
3960
  "immutable": true,
4000
3961
  "locationInModule": {
4001
3962
  "filename": "lib/apigateway-helper.ts",
4002
- "line": 325
3963
+ "line": 329
4003
3964
  },
4004
3965
  "name": "apiGatewayRole",
4005
3966
  "type": {
@@ -4011,7 +3972,7 @@
4011
3972
  "immutable": true,
4012
3973
  "locationInModule": {
4013
3974
  "filename": "lib/apigateway-helper.ts",
4014
- "line": 324
3975
+ "line": 328
4015
3976
  },
4016
3977
  "name": "apiMethod",
4017
3978
  "type": {
@@ -4023,7 +3984,7 @@
4023
3984
  "immutable": true,
4024
3985
  "locationInModule": {
4025
3986
  "filename": "lib/apigateway-helper.ts",
4026
- "line": 323
3987
+ "line": 327
4027
3988
  },
4028
3989
  "name": "apiResource",
4029
3990
  "type": {
@@ -4035,7 +3996,7 @@
4035
3996
  "immutable": true,
4036
3997
  "locationInModule": {
4037
3998
  "filename": "lib/apigateway-helper.ts",
4038
- "line": 326
3999
+ "line": 330
4039
4000
  },
4040
4001
  "name": "requestTemplate",
4041
4002
  "type": {
@@ -4047,7 +4008,7 @@
4047
4008
  "immutable": true,
4048
4009
  "locationInModule": {
4049
4010
  "filename": "lib/apigateway-helper.ts",
4050
- "line": 320
4011
+ "line": 324
4051
4012
  },
4052
4013
  "name": "service",
4053
4014
  "type": {
@@ -4059,7 +4020,7 @@
4059
4020
  "immutable": true,
4060
4021
  "locationInModule": {
4061
4022
  "filename": "lib/apigateway-helper.ts",
4062
- "line": 321
4023
+ "line": 325
4063
4024
  },
4064
4025
  "name": "action",
4065
4026
  "optional": true,
@@ -4072,7 +4033,7 @@
4072
4033
  "immutable": true,
4073
4034
  "locationInModule": {
4074
4035
  "filename": "lib/apigateway-helper.ts",
4075
- "line": 327
4036
+ "line": 331
4076
4037
  },
4077
4038
  "name": "additionalRequestTemplates",
4078
4039
  "optional": true,
@@ -4090,7 +4051,7 @@
4090
4051
  "immutable": true,
4091
4052
  "locationInModule": {
4092
4053
  "filename": "lib/apigateway-helper.ts",
4093
- "line": 330
4054
+ "line": 334
4094
4055
  },
4095
4056
  "name": "awsIntegrationProps",
4096
4057
  "optional": true,
@@ -4103,7 +4064,7 @@
4103
4064
  "immutable": true,
4104
4065
  "locationInModule": {
4105
4066
  "filename": "lib/apigateway-helper.ts",
4106
- "line": 329
4067
+ "line": 333
4107
4068
  },
4108
4069
  "name": "contentType",
4109
4070
  "optional": true,
@@ -4116,7 +4077,7 @@
4116
4077
  "immutable": true,
4117
4078
  "locationInModule": {
4118
4079
  "filename": "lib/apigateway-helper.ts",
4119
- "line": 328
4080
+ "line": 332
4120
4081
  },
4121
4082
  "name": "integrationResponses",
4122
4083
  "optional": true,
@@ -4134,7 +4095,7 @@
4134
4095
  "immutable": true,
4135
4096
  "locationInModule": {
4136
4097
  "filename": "lib/apigateway-helper.ts",
4137
- "line": 331
4098
+ "line": 335
4138
4099
  },
4139
4100
  "name": "methodOptions",
4140
4101
  "optional": true,
@@ -4147,7 +4108,7 @@
4147
4108
  "immutable": true,
4148
4109
  "locationInModule": {
4149
4110
  "filename": "lib/apigateway-helper.ts",
4150
- "line": 322
4111
+ "line": 326
4151
4112
  },
4152
4113
  "name": "path",
4153
4114
  "optional": true,
@@ -4158,6 +4119,46 @@
4158
4119
  ],
4159
4120
  "symbolId": "lib/apigateway-helper:AddProxyMethodToApiResourceInputParams"
4160
4121
  },
4122
+ "@aws-solutions-constructs/core.ApiProps": {
4123
+ "assembly": "@aws-solutions-constructs/core",
4124
+ "datatype": true,
4125
+ "fqn": "@aws-solutions-constructs/core.ApiProps",
4126
+ "kind": "interface",
4127
+ "locationInModule": {
4128
+ "filename": "lib/apigateway-helper.ts",
4129
+ "line": 412
4130
+ },
4131
+ "name": "ApiProps",
4132
+ "properties": [
4133
+ {
4134
+ "abstract": true,
4135
+ "immutable": true,
4136
+ "locationInModule": {
4137
+ "filename": "lib/apigateway-helper.ts",
4138
+ "line": 414
4139
+ },
4140
+ "name": "apiGatewayProps",
4141
+ "optional": true,
4142
+ "type": {
4143
+ "fqn": "aws-cdk-lib.aws_apigateway.LambdaRestApiProps"
4144
+ }
4145
+ },
4146
+ {
4147
+ "abstract": true,
4148
+ "immutable": true,
4149
+ "locationInModule": {
4150
+ "filename": "lib/apigateway-helper.ts",
4151
+ "line": 413
4152
+ },
4153
+ "name": "createUsagePlan",
4154
+ "optional": true,
4155
+ "type": {
4156
+ "primitive": "boolean"
4157
+ }
4158
+ }
4159
+ ],
4160
+ "symbolId": "lib/apigateway-helper:ApiProps"
4161
+ },
4161
4162
  "@aws-solutions-constructs/core.BuildDeadLetterQueueProps": {
4162
4163
  "assembly": "@aws-solutions-constructs/core",
4163
4164
  "datatype": true,
@@ -6692,7 +6693,7 @@
6692
6693
  "kind": "interface",
6693
6694
  "locationInModule": {
6694
6695
  "filename": "lib/cloudfront-distribution-helper.ts",
6695
- "line": 279
6696
+ "line": 285
6696
6697
  },
6697
6698
  "name": "CloudFrontDistributionForMediaStoreResponse",
6698
6699
  "properties": [
@@ -6701,7 +6702,7 @@
6701
6702
  "immutable": true,
6702
6703
  "locationInModule": {
6703
6704
  "filename": "lib/cloudfront-distribution-helper.ts",
6704
- "line": 280
6705
+ "line": 286
6705
6706
  },
6706
6707
  "name": "distribution",
6707
6708
  "type": {
@@ -6713,7 +6714,7 @@
6713
6714
  "immutable": true,
6714
6715
  "locationInModule": {
6715
6716
  "filename": "lib/cloudfront-distribution-helper.ts",
6716
- "line": 282
6717
+ "line": 288
6717
6718
  },
6718
6719
  "name": "requestPolicy",
6719
6720
  "type": {
@@ -6725,7 +6726,7 @@
6725
6726
  "immutable": true,
6726
6727
  "locationInModule": {
6727
6728
  "filename": "lib/cloudfront-distribution-helper.ts",
6728
- "line": 283
6729
+ "line": 289
6729
6730
  },
6730
6731
  "name": "cloudfrontFunction",
6731
6732
  "optional": true,
@@ -6738,7 +6739,7 @@
6738
6739
  "immutable": true,
6739
6740
  "locationInModule": {
6740
6741
  "filename": "lib/cloudfront-distribution-helper.ts",
6741
- "line": 281
6742
+ "line": 287
6742
6743
  },
6743
6744
  "name": "loggingBucket",
6744
6745
  "optional": true,
@@ -6756,7 +6757,7 @@
6756
6757
  "kind": "interface",
6757
6758
  "locationInModule": {
6758
6759
  "filename": "lib/cloudfront-distribution-helper.ts",
6759
- "line": 412
6760
+ "line": 418
6760
6761
  },
6761
6762
  "name": "CloudFrontProps",
6762
6763
  "properties": [
@@ -6765,7 +6766,7 @@
6765
6766
  "immutable": true,
6766
6767
  "locationInModule": {
6767
6768
  "filename": "lib/cloudfront-distribution-helper.ts",
6768
- "line": 413
6769
+ "line": 419
6769
6770
  },
6770
6771
  "name": "insertHttpSecurityHeaders",
6771
6772
  "optional": true,
@@ -6778,7 +6779,7 @@
6778
6779
  "immutable": true,
6779
6780
  "locationInModule": {
6780
6781
  "filename": "lib/cloudfront-distribution-helper.ts",
6781
- "line": 414
6782
+ "line": 420
6782
6783
  },
6783
6784
  "name": "responseHeadersPolicyProps",
6784
6785
  "optional": true,
@@ -6796,7 +6797,7 @@
6796
6797
  "kind": "interface",
6797
6798
  "locationInModule": {
6798
6799
  "filename": "lib/cloudfront-distribution-helper.ts",
6799
- "line": 431
6800
+ "line": 437
6800
6801
  },
6801
6802
  "name": "CloudfrontS3Props",
6802
6803
  "properties": [
@@ -6805,7 +6806,7 @@
6805
6806
  "immutable": true,
6806
6807
  "locationInModule": {
6807
6808
  "filename": "lib/cloudfront-distribution-helper.ts",
6808
- "line": 432
6809
+ "line": 438
6809
6810
  },
6810
6811
  "name": "bucketProps",
6811
6812
  "optional": true,
@@ -6818,7 +6819,7 @@
6818
6819
  "immutable": true,
6819
6820
  "locationInModule": {
6820
6821
  "filename": "lib/cloudfront-distribution-helper.ts",
6821
- "line": 437
6822
+ "line": 443
6822
6823
  },
6823
6824
  "name": "cloudFrontLoggingBucketAccessLogBucketProps",
6824
6825
  "optional": true,
@@ -6831,7 +6832,7 @@
6831
6832
  "immutable": true,
6832
6833
  "locationInModule": {
6833
6834
  "filename": "lib/cloudfront-distribution-helper.ts",
6834
- "line": 435
6835
+ "line": 441
6835
6836
  },
6836
6837
  "name": "cloudFrontLoggingBucketProps",
6837
6838
  "optional": true,
@@ -6844,7 +6845,7 @@
6844
6845
  "immutable": true,
6845
6846
  "locationInModule": {
6846
6847
  "filename": "lib/cloudfront-distribution-helper.ts",
6847
- "line": 436
6848
+ "line": 442
6848
6849
  },
6849
6850
  "name": "logCloudFrontAccessLog",
6850
6851
  "optional": true,
@@ -6857,7 +6858,7 @@
6857
6858
  "immutable": true,
6858
6859
  "locationInModule": {
6859
6860
  "filename": "lib/cloudfront-distribution-helper.ts",
6860
- "line": 434
6861
+ "line": 440
6861
6862
  },
6862
6863
  "name": "loggingBucketProps",
6863
6864
  "optional": true,
@@ -6870,7 +6871,7 @@
6870
6871
  "immutable": true,
6871
6872
  "locationInModule": {
6872
6873
  "filename": "lib/cloudfront-distribution-helper.ts",
6873
- "line": 433
6874
+ "line": 439
6874
6875
  },
6875
6876
  "name": "logS3AccessLogs",
6876
6877
  "optional": true,
@@ -7344,6 +7345,18 @@
7344
7345
  "fqn": "aws-cdk-lib.aws_cloudfront.Distribution"
7345
7346
  }
7346
7347
  },
7348
+ {
7349
+ "abstract": true,
7350
+ "immutable": true,
7351
+ "locationInModule": {
7352
+ "filename": "lib/cloudfront-distribution-helper.ts",
7353
+ "line": 210
7354
+ },
7355
+ "name": "originAccessIdentity",
7356
+ "type": {
7357
+ "fqn": "aws-cdk-lib.aws_cloudfront.OriginAccessIdentity"
7358
+ }
7359
+ },
7347
7360
  {
7348
7361
  "abstract": true,
7349
7362
  "immutable": true,
@@ -7598,7 +7611,7 @@
7598
7611
  "kind": "interface",
7599
7612
  "locationInModule": {
7600
7613
  "filename": "lib/apigateway-helper.ts",
7601
- "line": 282
7614
+ "line": 286
7602
7615
  },
7603
7616
  "name": "CreateSpecRestApiResponse",
7604
7617
  "properties": [
@@ -7607,7 +7620,7 @@
7607
7620
  "immutable": true,
7608
7621
  "locationInModule": {
7609
7622
  "filename": "lib/apigateway-helper.ts",
7610
- "line": 283
7623
+ "line": 287
7611
7624
  },
7612
7625
  "name": "api",
7613
7626
  "type": {
@@ -7619,7 +7632,7 @@
7619
7632
  "immutable": true,
7620
7633
  "locationInModule": {
7621
7634
  "filename": "lib/apigateway-helper.ts",
7622
- "line": 285
7635
+ "line": 289
7623
7636
  },
7624
7637
  "name": "logGroup",
7625
7638
  "type": {
@@ -7631,7 +7644,7 @@
7631
7644
  "immutable": true,
7632
7645
  "locationInModule": {
7633
7646
  "filename": "lib/apigateway-helper.ts",
7634
- "line": 284
7647
+ "line": 288
7635
7648
  },
7636
7649
  "name": "role",
7637
7650
  "optional": true,
@@ -7961,7 +7974,7 @@
7961
7974
  "kind": "interface",
7962
7975
  "locationInModule": {
7963
7976
  "filename": "lib/apigateway-helper.ts",
7964
- "line": 186
7977
+ "line": 189
7965
7978
  },
7966
7979
  "name": "GlobalLambdaRestApiResponse",
7967
7980
  "properties": [
@@ -7970,7 +7983,7 @@
7970
7983
  "immutable": true,
7971
7984
  "locationInModule": {
7972
7985
  "filename": "lib/apigateway-helper.ts",
7973
- "line": 187
7986
+ "line": 190
7974
7987
  },
7975
7988
  "name": "api",
7976
7989
  "type": {
@@ -7982,7 +7995,7 @@
7982
7995
  "immutable": true,
7983
7996
  "locationInModule": {
7984
7997
  "filename": "lib/apigateway-helper.ts",
7985
- "line": 189
7998
+ "line": 192
7986
7999
  },
7987
8000
  "name": "group",
7988
8001
  "type": {
@@ -7994,7 +8007,7 @@
7994
8007
  "immutable": true,
7995
8008
  "locationInModule": {
7996
8009
  "filename": "lib/apigateway-helper.ts",
7997
- "line": 188
8010
+ "line": 191
7998
8011
  },
7999
8012
  "name": "role",
8000
8013
  "optional": true,
@@ -8012,7 +8025,7 @@
8012
8025
  "kind": "interface",
8013
8026
  "locationInModule": {
8014
8027
  "filename": "lib/apigateway-helper.ts",
8015
- "line": 236
8028
+ "line": 240
8016
8029
  },
8017
8030
  "name": "GlobalRestApiResponse",
8018
8031
  "properties": [
@@ -8021,7 +8034,7 @@
8021
8034
  "immutable": true,
8022
8035
  "locationInModule": {
8023
8036
  "filename": "lib/apigateway-helper.ts",
8024
- "line": 237
8037
+ "line": 241
8025
8038
  },
8026
8039
  "name": "api",
8027
8040
  "type": {
@@ -8033,7 +8046,7 @@
8033
8046
  "immutable": true,
8034
8047
  "locationInModule": {
8035
8048
  "filename": "lib/apigateway-helper.ts",
8036
- "line": 239
8049
+ "line": 243
8037
8050
  },
8038
8051
  "name": "logGroup",
8039
8052
  "type": {
@@ -8045,7 +8058,7 @@
8045
8058
  "immutable": true,
8046
8059
  "locationInModule": {
8047
8060
  "filename": "lib/apigateway-helper.ts",
8048
- "line": 238
8061
+ "line": 242
8049
8062
  },
8050
8063
  "name": "role",
8051
8064
  "optional": true,
@@ -8527,7 +8540,7 @@
8527
8540
  "kind": "interface",
8528
8541
  "locationInModule": {
8529
8542
  "filename": "lib/apigateway-helper.ts",
8530
- "line": 210
8543
+ "line": 213
8531
8544
  },
8532
8545
  "name": "RegionalLambdaRestApiResponse",
8533
8546
  "properties": [
@@ -8536,7 +8549,7 @@
8536
8549
  "immutable": true,
8537
8550
  "locationInModule": {
8538
8551
  "filename": "lib/apigateway-helper.ts",
8539
- "line": 211
8552
+ "line": 214
8540
8553
  },
8541
8554
  "name": "api",
8542
8555
  "type": {
@@ -8548,7 +8561,7 @@
8548
8561
  "immutable": true,
8549
8562
  "locationInModule": {
8550
8563
  "filename": "lib/apigateway-helper.ts",
8551
- "line": 213
8564
+ "line": 216
8552
8565
  },
8553
8566
  "name": "group",
8554
8567
  "type": {
@@ -8560,7 +8573,7 @@
8560
8573
  "immutable": true,
8561
8574
  "locationInModule": {
8562
8575
  "filename": "lib/apigateway-helper.ts",
8563
- "line": 212
8576
+ "line": 215
8564
8577
  },
8565
8578
  "name": "role",
8566
8579
  "optional": true,
@@ -8578,7 +8591,7 @@
8578
8591
  "kind": "interface",
8579
8592
  "locationInModule": {
8580
8593
  "filename": "lib/apigateway-helper.ts",
8581
- "line": 259
8594
+ "line": 263
8582
8595
  },
8583
8596
  "name": "RegionalRestApiResponse",
8584
8597
  "properties": [
@@ -8587,7 +8600,7 @@
8587
8600
  "immutable": true,
8588
8601
  "locationInModule": {
8589
8602
  "filename": "lib/apigateway-helper.ts",
8590
- "line": 260
8603
+ "line": 264
8591
8604
  },
8592
8605
  "name": "api",
8593
8606
  "type": {
@@ -8599,7 +8612,7 @@
8599
8612
  "immutable": true,
8600
8613
  "locationInModule": {
8601
8614
  "filename": "lib/apigateway-helper.ts",
8602
- "line": 262
8615
+ "line": 266
8603
8616
  },
8604
8617
  "name": "logGroup",
8605
8618
  "type": {
@@ -8611,7 +8624,7 @@
8611
8624
  "immutable": true,
8612
8625
  "locationInModule": {
8613
8626
  "filename": "lib/apigateway-helper.ts",
8614
- "line": 261
8627
+ "line": 265
8615
8628
  },
8616
8629
  "name": "role",
8617
8630
  "optional": true,
@@ -9453,6 +9466,6 @@
9453
9466
  "symbolId": "lib/waf-helper:WafWebAclProps"
9454
9467
  }
9455
9468
  },
9456
- "version": "2.79.0",
9457
- "fingerprint": "neTaYJpldBOfoKa+nbYceLDUyQwjuWfHFkmiLuNd9D8="
9469
+ "version": "2.80.0",
9470
+ "fingerprint": "Y4mMUzi7J/9aC3CS4YNfrUNcdjQ9iI+BDlBUJeioBWs="
9458
9471
  }
@@ -30,7 +30,7 @@ export interface GlobalLambdaRestApiResponse {
30
30
  * @param existingLambdaObj - an existing AWS Lambda function.
31
31
  * @param apiGatewayProps - (optional) user-specified properties to override the default properties.
32
32
  */
33
- export declare function GlobalLambdaRestApi(scope: Construct, existingLambdaObj: lambda.Function, apiGatewayProps?: apigateway.LambdaRestApiProps, logGroupProps?: logs.LogGroupProps): GlobalLambdaRestApiResponse;
33
+ export declare function GlobalLambdaRestApi(scope: Construct, existingLambdaObj: lambda.Function, apiGatewayProps?: apigateway.LambdaRestApiProps, logGroupProps?: logs.LogGroupProps, createUsagePlan?: boolean): GlobalLambdaRestApiResponse;
34
34
  export interface RegionalLambdaRestApiResponse {
35
35
  readonly api: apigateway.RestApi;
36
36
  readonly role?: iam.Role;
@@ -44,7 +44,7 @@ export interface RegionalLambdaRestApiResponse {
44
44
  * @param existingLambdaObj - an existing AWS Lambda function.
45
45
  * @param apiGatewayProps - (optional) user-specified properties to override the default properties.
46
46
  */
47
- export declare function RegionalLambdaRestApi(scope: Construct, existingLambdaObj: lambda.Function, apiGatewayProps?: apigateway.LambdaRestApiProps, logGroupProps?: logs.LogGroupProps, useDefaultAuth?: boolean): RegionalLambdaRestApiResponse;
47
+ export declare function RegionalLambdaRestApi(scope: Construct, existingLambdaObj: lambda.Function, apiGatewayProps?: apigateway.LambdaRestApiProps, logGroupProps?: logs.LogGroupProps, createUsagePlan?: boolean, useDefaultAuth?: boolean): RegionalLambdaRestApiResponse;
48
48
  export interface GlobalRestApiResponse {
49
49
  readonly api: apigateway.RestApi;
50
50
  readonly role?: iam.Role;
@@ -57,7 +57,7 @@ export interface GlobalRestApiResponse {
57
57
  * @param scope - the construct to which the RestApi should be attached to.
58
58
  * @param apiGatewayProps - (optional) user-specified properties to override the default properties.
59
59
  */
60
- export declare function GlobalRestApi(scope: Construct, apiGatewayProps?: apigateway.RestApiProps, logGroupProps?: logs.LogGroupProps): GlobalRestApiResponse;
60
+ export declare function GlobalRestApi(scope: Construct, apiGatewayProps?: apigateway.RestApiProps, logGroupProps?: logs.LogGroupProps, createUsagePlan?: boolean): GlobalRestApiResponse;
61
61
  export interface RegionalRestApiResponse {
62
62
  readonly api: apigateway.RestApi;
63
63
  readonly role?: iam.Role;
@@ -70,7 +70,7 @@ export interface RegionalRestApiResponse {
70
70
  * @param scope - the construct to which the RestApi should be attached to.
71
71
  * @param apiGatewayProps - (optional) user-specified properties to override the default properties.
72
72
  */
73
- export declare function RegionalRestApi(scope: Construct, apiGatewayProps?: apigateway.RestApiProps, logGroupProps?: logs.LogGroupProps): RegionalRestApiResponse;
73
+ export declare function RegionalRestApi(scope: Construct, apiGatewayProps?: apigateway.RestApiProps, logGroupProps?: logs.LogGroupProps, createUsagePlan?: boolean): RegionalRestApiResponse;
74
74
  export interface CreateSpecRestApiResponse {
75
75
  readonly api: apigateway.SpecRestApi;
76
76
  readonly role?: iam.Role;
@@ -97,3 +97,8 @@ export interface AddProxyMethodToApiResourceInputParams {
97
97
  * @internal This is an internal core function and should not be called directly by Solutions Constructs clients.
98
98
  */
99
99
  export declare function addProxyMethodToApiResource(params: AddProxyMethodToApiResourceInputParams): apigateway.Method;
100
+ export interface ApiProps {
101
+ readonly createUsagePlan?: boolean;
102
+ readonly apiGatewayProps?: apigateway.LambdaRestApiProps;
103
+ }
104
+ export declare function CheckApiProps(propsObject: ApiProps | any): void;