@aws-solutions-constructs/core 2.79.1 → 2.81.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.186.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": {
@@ -973,6 +947,19 @@
973
947
  }
974
948
  }
975
949
  },
950
+ "aws-cdk-lib.aws_cognito_identitypool": {
951
+ "targets": {
952
+ "dotnet": {
953
+ "namespace": "Amazon.CDK.AWS.Cognito.Identitypool"
954
+ },
955
+ "java": {
956
+ "package": "software.amazon.awscdk.services.cognito.identitypool"
957
+ },
958
+ "python": {
959
+ "module": "aws_cdk.aws_cognito_identitypool"
960
+ }
961
+ }
962
+ },
976
963
  "aws-cdk-lib.aws_comprehend": {
977
964
  "targets": {
978
965
  "dotnet": {
@@ -1649,6 +1636,19 @@
1649
1636
  }
1650
1637
  }
1651
1638
  },
1639
+ "aws-cdk-lib.aws_gameliftstreams": {
1640
+ "targets": {
1641
+ "dotnet": {
1642
+ "package": "Amazon.CDK.AWS.GameLiftStreams"
1643
+ },
1644
+ "java": {
1645
+ "package": "software.amazon.awscdk.services.gameliftstreams"
1646
+ },
1647
+ "python": {
1648
+ "module": "aws_cdk.aws_gameliftstreams"
1649
+ }
1650
+ }
1651
+ },
1652
1652
  "aws-cdk-lib.aws_globalaccelerator": {
1653
1653
  "targets": {
1654
1654
  "dotnet": {
@@ -3274,6 +3274,19 @@
3274
3274
  }
3275
3275
  }
3276
3276
  },
3277
+ "aws-cdk-lib.aws_scheduler_targets": {
3278
+ "targets": {
3279
+ "dotnet": {
3280
+ "namespace": "Amazon.CDK.AWS.Scheduler.Targets"
3281
+ },
3282
+ "java": {
3283
+ "package": "software.amazon.awscdk.services.scheduler.targets"
3284
+ },
3285
+ "python": {
3286
+ "module": "aws_cdk.aws_scheduler_targets"
3287
+ }
3288
+ }
3289
+ },
3277
3290
  "aws-cdk-lib.aws_sdb": {
3278
3291
  "targets": {
3279
3292
  "dotnet": {
@@ -3821,19 +3834,6 @@
3821
3834
  }
3822
3835
  }
3823
3836
  },
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
3837
  "aws-cdk-lib.lambda_layer_node_proxy_agent": {
3838
3838
  "targets": {
3839
3839
  "dotnet": {
@@ -3990,7 +3990,7 @@
3990
3990
  "kind": "interface",
3991
3991
  "locationInModule": {
3992
3992
  "filename": "lib/apigateway-helper.ts",
3993
- "line": 319
3993
+ "line": 323
3994
3994
  },
3995
3995
  "name": "AddProxyMethodToApiResourceInputParams",
3996
3996
  "properties": [
@@ -3999,7 +3999,7 @@
3999
3999
  "immutable": true,
4000
4000
  "locationInModule": {
4001
4001
  "filename": "lib/apigateway-helper.ts",
4002
- "line": 325
4002
+ "line": 329
4003
4003
  },
4004
4004
  "name": "apiGatewayRole",
4005
4005
  "type": {
@@ -4011,7 +4011,7 @@
4011
4011
  "immutable": true,
4012
4012
  "locationInModule": {
4013
4013
  "filename": "lib/apigateway-helper.ts",
4014
- "line": 324
4014
+ "line": 328
4015
4015
  },
4016
4016
  "name": "apiMethod",
4017
4017
  "type": {
@@ -4023,7 +4023,7 @@
4023
4023
  "immutable": true,
4024
4024
  "locationInModule": {
4025
4025
  "filename": "lib/apigateway-helper.ts",
4026
- "line": 323
4026
+ "line": 327
4027
4027
  },
4028
4028
  "name": "apiResource",
4029
4029
  "type": {
@@ -4035,7 +4035,7 @@
4035
4035
  "immutable": true,
4036
4036
  "locationInModule": {
4037
4037
  "filename": "lib/apigateway-helper.ts",
4038
- "line": 326
4038
+ "line": 330
4039
4039
  },
4040
4040
  "name": "requestTemplate",
4041
4041
  "type": {
@@ -4047,7 +4047,7 @@
4047
4047
  "immutable": true,
4048
4048
  "locationInModule": {
4049
4049
  "filename": "lib/apigateway-helper.ts",
4050
- "line": 320
4050
+ "line": 324
4051
4051
  },
4052
4052
  "name": "service",
4053
4053
  "type": {
@@ -4059,7 +4059,7 @@
4059
4059
  "immutable": true,
4060
4060
  "locationInModule": {
4061
4061
  "filename": "lib/apigateway-helper.ts",
4062
- "line": 321
4062
+ "line": 325
4063
4063
  },
4064
4064
  "name": "action",
4065
4065
  "optional": true,
@@ -4072,7 +4072,7 @@
4072
4072
  "immutable": true,
4073
4073
  "locationInModule": {
4074
4074
  "filename": "lib/apigateway-helper.ts",
4075
- "line": 327
4075
+ "line": 331
4076
4076
  },
4077
4077
  "name": "additionalRequestTemplates",
4078
4078
  "optional": true,
@@ -4090,7 +4090,7 @@
4090
4090
  "immutable": true,
4091
4091
  "locationInModule": {
4092
4092
  "filename": "lib/apigateway-helper.ts",
4093
- "line": 330
4093
+ "line": 334
4094
4094
  },
4095
4095
  "name": "awsIntegrationProps",
4096
4096
  "optional": true,
@@ -4103,7 +4103,7 @@
4103
4103
  "immutable": true,
4104
4104
  "locationInModule": {
4105
4105
  "filename": "lib/apigateway-helper.ts",
4106
- "line": 329
4106
+ "line": 333
4107
4107
  },
4108
4108
  "name": "contentType",
4109
4109
  "optional": true,
@@ -4116,7 +4116,7 @@
4116
4116
  "immutable": true,
4117
4117
  "locationInModule": {
4118
4118
  "filename": "lib/apigateway-helper.ts",
4119
- "line": 328
4119
+ "line": 332
4120
4120
  },
4121
4121
  "name": "integrationResponses",
4122
4122
  "optional": true,
@@ -4134,7 +4134,7 @@
4134
4134
  "immutable": true,
4135
4135
  "locationInModule": {
4136
4136
  "filename": "lib/apigateway-helper.ts",
4137
- "line": 331
4137
+ "line": 335
4138
4138
  },
4139
4139
  "name": "methodOptions",
4140
4140
  "optional": true,
@@ -4147,7 +4147,7 @@
4147
4147
  "immutable": true,
4148
4148
  "locationInModule": {
4149
4149
  "filename": "lib/apigateway-helper.ts",
4150
- "line": 322
4150
+ "line": 326
4151
4151
  },
4152
4152
  "name": "path",
4153
4153
  "optional": true,
@@ -4158,6 +4158,46 @@
4158
4158
  ],
4159
4159
  "symbolId": "lib/apigateway-helper:AddProxyMethodToApiResourceInputParams"
4160
4160
  },
4161
+ "@aws-solutions-constructs/core.ApiProps": {
4162
+ "assembly": "@aws-solutions-constructs/core",
4163
+ "datatype": true,
4164
+ "fqn": "@aws-solutions-constructs/core.ApiProps",
4165
+ "kind": "interface",
4166
+ "locationInModule": {
4167
+ "filename": "lib/apigateway-helper.ts",
4168
+ "line": 412
4169
+ },
4170
+ "name": "ApiProps",
4171
+ "properties": [
4172
+ {
4173
+ "abstract": true,
4174
+ "immutable": true,
4175
+ "locationInModule": {
4176
+ "filename": "lib/apigateway-helper.ts",
4177
+ "line": 414
4178
+ },
4179
+ "name": "apiGatewayProps",
4180
+ "optional": true,
4181
+ "type": {
4182
+ "fqn": "aws-cdk-lib.aws_apigateway.LambdaRestApiProps"
4183
+ }
4184
+ },
4185
+ {
4186
+ "abstract": true,
4187
+ "immutable": true,
4188
+ "locationInModule": {
4189
+ "filename": "lib/apigateway-helper.ts",
4190
+ "line": 413
4191
+ },
4192
+ "name": "createUsagePlan",
4193
+ "optional": true,
4194
+ "type": {
4195
+ "primitive": "boolean"
4196
+ }
4197
+ }
4198
+ ],
4199
+ "symbolId": "lib/apigateway-helper:ApiProps"
4200
+ },
4161
4201
  "@aws-solutions-constructs/core.BuildDeadLetterQueueProps": {
4162
4202
  "assembly": "@aws-solutions-constructs/core",
4163
4203
  "datatype": true,
@@ -7610,7 +7650,7 @@
7610
7650
  "kind": "interface",
7611
7651
  "locationInModule": {
7612
7652
  "filename": "lib/apigateway-helper.ts",
7613
- "line": 282
7653
+ "line": 286
7614
7654
  },
7615
7655
  "name": "CreateSpecRestApiResponse",
7616
7656
  "properties": [
@@ -7619,7 +7659,7 @@
7619
7659
  "immutable": true,
7620
7660
  "locationInModule": {
7621
7661
  "filename": "lib/apigateway-helper.ts",
7622
- "line": 283
7662
+ "line": 287
7623
7663
  },
7624
7664
  "name": "api",
7625
7665
  "type": {
@@ -7631,7 +7671,7 @@
7631
7671
  "immutable": true,
7632
7672
  "locationInModule": {
7633
7673
  "filename": "lib/apigateway-helper.ts",
7634
- "line": 285
7674
+ "line": 289
7635
7675
  },
7636
7676
  "name": "logGroup",
7637
7677
  "type": {
@@ -7643,7 +7683,7 @@
7643
7683
  "immutable": true,
7644
7684
  "locationInModule": {
7645
7685
  "filename": "lib/apigateway-helper.ts",
7646
- "line": 284
7686
+ "line": 288
7647
7687
  },
7648
7688
  "name": "role",
7649
7689
  "optional": true,
@@ -7973,7 +8013,7 @@
7973
8013
  "kind": "interface",
7974
8014
  "locationInModule": {
7975
8015
  "filename": "lib/apigateway-helper.ts",
7976
- "line": 186
8016
+ "line": 189
7977
8017
  },
7978
8018
  "name": "GlobalLambdaRestApiResponse",
7979
8019
  "properties": [
@@ -7982,7 +8022,7 @@
7982
8022
  "immutable": true,
7983
8023
  "locationInModule": {
7984
8024
  "filename": "lib/apigateway-helper.ts",
7985
- "line": 187
8025
+ "line": 190
7986
8026
  },
7987
8027
  "name": "api",
7988
8028
  "type": {
@@ -7994,7 +8034,7 @@
7994
8034
  "immutable": true,
7995
8035
  "locationInModule": {
7996
8036
  "filename": "lib/apigateway-helper.ts",
7997
- "line": 189
8037
+ "line": 192
7998
8038
  },
7999
8039
  "name": "group",
8000
8040
  "type": {
@@ -8006,7 +8046,7 @@
8006
8046
  "immutable": true,
8007
8047
  "locationInModule": {
8008
8048
  "filename": "lib/apigateway-helper.ts",
8009
- "line": 188
8049
+ "line": 191
8010
8050
  },
8011
8051
  "name": "role",
8012
8052
  "optional": true,
@@ -8024,7 +8064,7 @@
8024
8064
  "kind": "interface",
8025
8065
  "locationInModule": {
8026
8066
  "filename": "lib/apigateway-helper.ts",
8027
- "line": 236
8067
+ "line": 240
8028
8068
  },
8029
8069
  "name": "GlobalRestApiResponse",
8030
8070
  "properties": [
@@ -8033,7 +8073,7 @@
8033
8073
  "immutable": true,
8034
8074
  "locationInModule": {
8035
8075
  "filename": "lib/apigateway-helper.ts",
8036
- "line": 237
8076
+ "line": 241
8037
8077
  },
8038
8078
  "name": "api",
8039
8079
  "type": {
@@ -8045,7 +8085,7 @@
8045
8085
  "immutable": true,
8046
8086
  "locationInModule": {
8047
8087
  "filename": "lib/apigateway-helper.ts",
8048
- "line": 239
8088
+ "line": 243
8049
8089
  },
8050
8090
  "name": "logGroup",
8051
8091
  "type": {
@@ -8057,7 +8097,7 @@
8057
8097
  "immutable": true,
8058
8098
  "locationInModule": {
8059
8099
  "filename": "lib/apigateway-helper.ts",
8060
- "line": 238
8100
+ "line": 242
8061
8101
  },
8062
8102
  "name": "role",
8063
8103
  "optional": true,
@@ -8539,7 +8579,7 @@
8539
8579
  "kind": "interface",
8540
8580
  "locationInModule": {
8541
8581
  "filename": "lib/apigateway-helper.ts",
8542
- "line": 210
8582
+ "line": 213
8543
8583
  },
8544
8584
  "name": "RegionalLambdaRestApiResponse",
8545
8585
  "properties": [
@@ -8548,7 +8588,7 @@
8548
8588
  "immutable": true,
8549
8589
  "locationInModule": {
8550
8590
  "filename": "lib/apigateway-helper.ts",
8551
- "line": 211
8591
+ "line": 214
8552
8592
  },
8553
8593
  "name": "api",
8554
8594
  "type": {
@@ -8560,7 +8600,7 @@
8560
8600
  "immutable": true,
8561
8601
  "locationInModule": {
8562
8602
  "filename": "lib/apigateway-helper.ts",
8563
- "line": 213
8603
+ "line": 216
8564
8604
  },
8565
8605
  "name": "group",
8566
8606
  "type": {
@@ -8572,7 +8612,7 @@
8572
8612
  "immutable": true,
8573
8613
  "locationInModule": {
8574
8614
  "filename": "lib/apigateway-helper.ts",
8575
- "line": 212
8615
+ "line": 215
8576
8616
  },
8577
8617
  "name": "role",
8578
8618
  "optional": true,
@@ -8590,7 +8630,7 @@
8590
8630
  "kind": "interface",
8591
8631
  "locationInModule": {
8592
8632
  "filename": "lib/apigateway-helper.ts",
8593
- "line": 259
8633
+ "line": 263
8594
8634
  },
8595
8635
  "name": "RegionalRestApiResponse",
8596
8636
  "properties": [
@@ -8599,7 +8639,7 @@
8599
8639
  "immutable": true,
8600
8640
  "locationInModule": {
8601
8641
  "filename": "lib/apigateway-helper.ts",
8602
- "line": 260
8642
+ "line": 264
8603
8643
  },
8604
8644
  "name": "api",
8605
8645
  "type": {
@@ -8611,7 +8651,7 @@
8611
8651
  "immutable": true,
8612
8652
  "locationInModule": {
8613
8653
  "filename": "lib/apigateway-helper.ts",
8614
- "line": 262
8654
+ "line": 266
8615
8655
  },
8616
8656
  "name": "logGroup",
8617
8657
  "type": {
@@ -8623,7 +8663,7 @@
8623
8663
  "immutable": true,
8624
8664
  "locationInModule": {
8625
8665
  "filename": "lib/apigateway-helper.ts",
8626
- "line": 261
8666
+ "line": 265
8627
8667
  },
8628
8668
  "name": "role",
8629
8669
  "optional": true,
@@ -9465,6 +9505,6 @@
9465
9505
  "symbolId": "lib/waf-helper:WafWebAclProps"
9466
9506
  }
9467
9507
  },
9468
- "version": "2.79.1",
9469
- "fingerprint": "ei8PFtCKXstaW+dldYs7/6vmOqah1l+PsliVAv3uH14="
9508
+ "version": "2.81.0",
9509
+ "fingerprint": "i3VmOXfvxbapddynrc7FxmPe4EZkoDoXXfI2bnylOJA="
9470
9510
  }
@@ -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;