@aws-solutions-constructs/aws-lambda-dynamodb 2.98.0 → 2.100.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.
Files changed (68) hide show
  1. package/.jsii +36 -9
  2. package/README.adoc +1 -1
  3. package/lib/index.js +1 -1
  4. package/package.json +6 -7
  5. package/test/integ.lamddb-add-secondary-index.js +2 -2
  6. package/test/integ.lamddb-add-secondary-index.js.snapshot/cdk.out +1 -1
  7. package/test/integ.lamddb-add-secondary-index.js.snapshot/integ.json +2 -2
  8. package/test/integ.lamddb-add-secondary-index.js.snapshot/lamddb-add-secondary-index.assets.json +4 -18
  9. package/test/integ.lamddb-add-secondary-index.js.snapshot/lamddb-add-secondary-index.template.json +1 -4
  10. package/test/integ.lamddb-add-secondary-index.js.snapshot/lamddbaddsecondaryindexIntegDefaultTestDeployAssert3193B4D9.assets.json +1 -1
  11. package/test/integ.lamddb-add-secondary-index.js.snapshot/manifest.json +38 -18
  12. package/test/integ.lamddb-add-secondary-index.js.snapshot/tree.json +1 -1
  13. package/test/integ.lamddb-deployFunctionWithExistingVpc.js +2 -2
  14. package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/cdk.out +1 -1
  15. package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/integ.json +2 -2
  16. package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.assets.json +4 -18
  17. package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.template.json +1 -4
  18. package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddbdeployFunctionWithExistingVpcIntegDefaultTestDeployAssertEE08E38E.assets.json +1 -1
  19. package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/manifest.json +38 -24
  20. package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/tree.json +1 -1
  21. package/test/integ.lamddb-deployFunctionWithVpc.js +2 -2
  22. package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/cdk.out +1 -1
  23. package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/integ.json +2 -2
  24. package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.assets.json +4 -18
  25. package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.template.json +1 -4
  26. package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddbdeployFunctionWithVpcIntegDefaultTestDeployAssert0AB8275C.assets.json +1 -1
  27. package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/manifest.json +38 -24
  28. package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/tree.json +1 -1
  29. package/test/integ.lamddb-no-arguments.js +2 -2
  30. package/test/integ.lamddb-no-arguments.js.snapshot/cdk.out +1 -1
  31. package/test/integ.lamddb-no-arguments.js.snapshot/integ.json +2 -2
  32. package/test/integ.lamddb-no-arguments.js.snapshot/lamddb-no-arguments.assets.json +4 -18
  33. package/test/integ.lamddb-no-arguments.js.snapshot/lamddb-no-arguments.template.json +1 -4
  34. package/test/integ.lamddb-no-arguments.js.snapshot/lamddbnoargumentsIntegDefaultTestDeployAssert248B75D0.assets.json +1 -1
  35. package/test/integ.lamddb-no-arguments.js.snapshot/manifest.json +38 -18
  36. package/test/integ.lamddb-no-arguments.js.snapshot/tree.json +1 -1
  37. package/test/integ.lamddb-point-in-time-recovery.js +2 -2
  38. package/test/integ.lamddb-point-in-time-recovery.js.snapshot/cdk.out +1 -1
  39. package/test/integ.lamddb-point-in-time-recovery.js.snapshot/integ.json +2 -2
  40. package/test/integ.lamddb-point-in-time-recovery.js.snapshot/lamddb-point-in-time-recovery.assets.json +4 -18
  41. package/test/integ.lamddb-point-in-time-recovery.js.snapshot/lamddb-point-in-time-recovery.template.json +1 -4
  42. package/test/integ.lamddb-point-in-time-recovery.js.snapshot/lamddbpointintimerecoveryIntegDefaultTestDeployAssertB0CCD339.assets.json +1 -1
  43. package/test/integ.lamddb-point-in-time-recovery.js.snapshot/manifest.json +38 -18
  44. package/test/integ.lamddb-point-in-time-recovery.js.snapshot/tree.json +1 -1
  45. package/test/integ.lamddb-set-billing-mode.js +2 -2
  46. package/test/integ.lamddb-set-billing-mode.js.snapshot/cdk.out +1 -1
  47. package/test/integ.lamddb-set-billing-mode.js.snapshot/integ.json +2 -2
  48. package/test/integ.lamddb-set-billing-mode.js.snapshot/lamddb-set-billing-mode.assets.json +4 -18
  49. package/test/integ.lamddb-set-billing-mode.js.snapshot/lamddb-set-billing-mode.template.json +1 -4
  50. package/test/integ.lamddb-set-billing-mode.js.snapshot/lamddbsetbillingmodeIntegDefaultTestDeployAssertDAE32272.assets.json +1 -1
  51. package/test/integ.lamddb-set-billing-mode.js.snapshot/manifest.json +38 -18
  52. package/test/integ.lamddb-set-billing-mode.js.snapshot/tree.json +1 -1
  53. package/test/integ.lamddb-use-existing-func.js +2 -2
  54. package/test/integ.lamddb-use-existing-func.js.snapshot/cdk.out +1 -1
  55. package/test/integ.lamddb-use-existing-func.js.snapshot/integ.json +2 -2
  56. package/test/integ.lamddb-use-existing-func.js.snapshot/lamddb-use-existing-func.assets.json +4 -18
  57. package/test/integ.lamddb-use-existing-func.js.snapshot/lamddb-use-existing-func.template.json +1 -4
  58. package/test/integ.lamddb-use-existing-func.js.snapshot/lamddbuseexistingfuncIntegDefaultTestDeployAssert48D284DD.assets.json +1 -1
  59. package/test/integ.lamddb-use-existing-func.js.snapshot/manifest.json +38 -18
  60. package/test/integ.lamddb-use-existing-func.js.snapshot/tree.json +1 -1
  61. package/test/lambda-dynamodb.test.js +6 -6
  62. package/test/integ.lamddb-add-secondary-index.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
  63. package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
  64. package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
  65. package/test/integ.lamddb-no-arguments.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
  66. package/test/integ.lamddb-point-in-time-recovery.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
  67. package/test/integ.lamddb-set-billing-mode.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
  68. package/test/integ.lamddb-use-existing-func.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "48.0.0",
2
+ "version": "52.0.0",
3
3
  "artifacts": {
4
4
  "lamddbpointintimerecoveryIntegDefaultTestDeployAssertB0CCD339.assets": {
5
5
  "type": "cdk:asset-manifest",
@@ -66,7 +66,7 @@
66
66
  "validateOnSynth": false,
67
67
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
68
68
  "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
69
- "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/77cdd41f5036c6112e4b85484ff934c001d9b22a7ab0d87b3c6c0024dc585310.json",
69
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/594b4b826dc4aad6cbe6b40b113e66bfe1eae2d66e2174ad022509bb18c93a94.json",
70
70
  "requiresBootstrapStackVersion": 6,
71
71
  "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
72
72
  "additionalDependencies": [
@@ -132,12 +132,14 @@
132
132
  "*"
133
133
  ]
134
134
  }
135
- }
136
- ],
137
- "/lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole": [
135
+ },
138
136
  {
139
- "type": "aws:cdk:analytics:construct",
140
- "data": "*"
137
+ "type": "aws:cdk:analytics:method",
138
+ "data": {
139
+ "addToPrincipalPolicy": [
140
+ {}
141
+ ]
142
+ }
141
143
  }
142
144
  ],
143
145
  "/lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/Resource": [
@@ -167,6 +169,14 @@
167
169
  ]
168
170
  }
169
171
  },
172
+ {
173
+ "type": "aws:cdk:analytics:method",
174
+ "data": {
175
+ "addStatements": [
176
+ {}
177
+ ]
178
+ }
179
+ },
170
180
  {
171
181
  "type": "aws:cdk:analytics:method",
172
182
  "data": {
@@ -314,6 +324,7 @@
314
324
  "module": "aws-cdk-lib",
315
325
  "flags": {
316
326
  "@aws-cdk/aws-signer:signingProfileNamePassedToCfn": {
327
+ "userValue": true,
317
328
  "recommendedValue": true,
318
329
  "explanation": "Pass signingProfileName to CfnSigningProfile"
319
330
  },
@@ -332,6 +343,7 @@
332
343
  }
333
344
  },
334
345
  "@aws-cdk/aws-ecs-patterns:secGroupsDisablesImplicitOpenListener": {
346
+ "userValue": true,
335
347
  "recommendedValue": true,
336
348
  "explanation": "Disable implicit openListener when custom security groups are provided"
337
349
  },
@@ -597,6 +609,10 @@
597
609
  "recommendedValue": true,
598
610
  "explanation": "When enabled, nodegroupName attribute of the provisioned EKS NodeGroup will not have the cluster name prefix."
599
611
  },
612
+ "@aws-cdk/aws-eks:useNativeOidcProvider": {
613
+ "recommendedValue": true,
614
+ "explanation": "When enabled, EKS V2 clusters will use the native OIDC provider resource AWS::IAM::OIDCProvider instead of creating the OIDCProvider with a custom resource (iam.OpenIDConnectProvider)."
615
+ },
600
616
  "@aws-cdk/aws-ec2:ebsDefaultGp3Volume": {
601
617
  "userValue": true,
602
618
  "recommendedValue": true,
@@ -629,16 +645,6 @@
629
645
  "recommendedValue": true,
630
646
  "explanation": "When enabled, stack tags need to be assigned explicitly on a Stack."
631
647
  },
632
- "@aws-cdk/aws-ecs:enableImdsBlockingDeprecatedFeature": {
633
- "userValue": false,
634
- "recommendedValue": false,
635
- "explanation": "When set to true along with canContainersAccessInstanceRole=false in ECS cluster, new updated commands will be added to UserData to block container accessing IMDS. **Applicable to Linux only. IMPORTANT: See [details.](#aws-cdkaws-ecsenableImdsBlockingDeprecatedFeature)**"
636
- },
637
- "@aws-cdk/aws-ecs:disableEcsImdsBlocking": {
638
- "userValue": true,
639
- "recommendedValue": true,
640
- "explanation": "When set to true, CDK synth will throw exception if canContainersAccessInstanceRole is false. **IMPORTANT: See [details.](#aws-cdkaws-ecsdisableEcsImdsBlocking)**"
641
- },
642
648
  "@aws-cdk/aws-ecs:reduceEc2FargateCloudWatchPermissions": {
643
649
  "userValue": true,
644
650
  "recommendedValue": true,
@@ -784,6 +790,7 @@
784
790
  "explanation": "When enabled, CDK creates and manages loggroup for the lambda function"
785
791
  },
786
792
  "@aws-cdk/aws-elasticloadbalancingv2:networkLoadBalancerWithSecurityGroupByDefault": {
793
+ "userValue": true,
787
794
  "recommendedValue": true,
788
795
  "explanation": "When enabled, Network Load Balancer will be created with a security group by default."
789
796
  },
@@ -795,12 +802,25 @@
795
802
  }
796
803
  },
797
804
  "@aws-cdk/aws-ecs-patterns:uniqueTargetGroupId": {
805
+ "userValue": true,
798
806
  "recommendedValue": true,
799
807
  "explanation": "When enabled, ECS patterns will generate unique target group IDs to prevent conflicts during load balancer replacement"
808
+ },
809
+ "@aws-cdk/aws-route53-patterns:useDistribution": {
810
+ "userValue": true,
811
+ "recommendedValue": true,
812
+ "explanation": "Use the `Distribution` resource instead of `CloudFrontWebDistribution`"
813
+ },
814
+ "@aws-cdk/core:automaticL1Traits": {
815
+ "recommendedValue": true,
816
+ "explanation": "Automatically use the default L1 traits for L1 constructs`",
817
+ "unconfiguredBehavesLike": {
818
+ "v2": true
819
+ }
800
820
  }
801
821
  }
802
822
  }
803
823
  }
804
824
  },
805
- "minimumCliVersion": "2.1021.0"
825
+ "minimumCliVersion": "2.1106.1"
806
826
  }
@@ -1 +1 @@
1
- {"version":"tree-0.1","tree":{"id":"App","path":"","constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.228.0"},"children":{"lamddb-point-in-time-recovery":{"id":"lamddb-point-in-time-recovery","path":"lamddb-point-in-time-recovery","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.228.0"},"children":{"test-lambda-dynamodb-stack":{"id":"test-lambda-dynamodb-stack","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack","constructInfo":{"fqn":"@aws-solutions-constructs/aws-lambda-dynamodb.LambdaToDynamoDB","version":"2.96.0"},"children":{"LambdaFunctionServiceRole":{"id":"LambdaFunctionServiceRole","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/LambdaFunctionServiceRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.228.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"},"inlinePolicies":"*"},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"addToPrincipalPolicy":[{}]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]}]},"children":{"ImportLambdaFunctionServiceRole":{"id":"ImportLambdaFunctionServiceRole","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.228.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.228.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"lambda.amazonaws.com"}}],"Version":"2012-10-17"},"policies":[{"policyName":"LambdaFunctionServiceRolePolicy","policyDocument":{"Statement":[{"Action":["logs:CreateLogGroup","logs:CreateLogStream","logs:PutLogEvents"],"Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":logs:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":log-group:/aws/lambda/*"]]}}],"Version":"2012-10-17"}}]}}},"DefaultPolicy":{"id":"DefaultPolicy","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/DefaultPolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.228.0","metadata":["*",{"attachToRole":["*"]},{"attachToRole":["*"]},{"addStatements":[{}]}]},"children":{"Resource":{"id":"Resource","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/DefaultPolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.228.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["dynamodb:BatchGetItem","dynamodb:BatchWriteItem","dynamodb:ConditionCheckItem","dynamodb:DeleteItem","dynamodb:DescribeTable","dynamodb:GetItem","dynamodb:GetRecords","dynamodb:GetShardIterator","dynamodb:PutItem","dynamodb:Query","dynamodb:Scan","dynamodb:UpdateItem"],"Effect":"Allow","Resource":{"Fn::GetAtt":["testlambdadynamodbstackDynamoTable8138E93B","Arn"]}}],"Version":"2012-10-17"},"policyName":"testlambdadynamodbstackLambdaFunctionServiceRoleDefaultPolicy547FB7F4","roles":[{"Ref":"testlambdadynamodbstackLambdaFunctionServiceRole758347A1"}]}}}}}}},"LambdaFunction":{"id":"LambdaFunction","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/LambdaFunction","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.Function","version":"2.228.0","metadata":[{"role":"*","tracing":"Active","code":"*","runtime":"*","handler":"*"},{"addEnvironment":["*","*",{"removeInEdge":true}]},{"addEnvironment":["*","*"]}]},"children":{"Code":{"id":"Code","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/LambdaFunction/Code","constructInfo":{"fqn":"aws-cdk-lib.aws_s3_assets.Asset","version":"2.228.0"},"children":{"Stage":{"id":"Stage","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/LambdaFunction/Code/Stage","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.228.0"}},"AssetBucket":{"id":"AssetBucket","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/LambdaFunction/Code/AssetBucket","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketBase","version":"2.228.0","metadata":[]}}}},"Resource":{"id":"Resource","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/LambdaFunction/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.228.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Function","aws:cdk:cloudformation:props":{"code":{"s3Bucket":{"Fn::Sub":"cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"},"s3Key":"a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c.zip"},"environment":{"variables":{"AWS_NODEJS_CONNECTION_REUSE_ENABLED":"1","DDB_TABLE_NAME":{"Ref":"testlambdadynamodbstackDynamoTable8138E93B"}}},"handler":"index.handler","role":{"Fn::GetAtt":["testlambdadynamodbstackLambdaFunctionServiceRole758347A1","Arn"]},"runtime":"nodejs22.x","tracingConfig":{"mode":"Active"}}}},"inlinePolicyAddedToExecutionRole-0":{"id":"inlinePolicyAddedToExecutionRole-0","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/LambdaFunction/inlinePolicyAddedToExecutionRole-0","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.228.0","metadata":[{"statements":"*"},{"addStatements":[{}]},{"attachToRole":["*"]},{"attachToRole":["*"]}]},"children":{"Resource":{"id":"Resource","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/LambdaFunction/inlinePolicyAddedToExecutionRole-0/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.228.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["xray:PutTelemetryRecords","xray:PutTraceSegments"],"Effect":"Allow","Resource":"*"}],"Version":"2012-10-17"},"policyName":"testlambdadynamodbstackLambdaFunctioninlinePolicyAddedToExecutionRole019E2DE85","roles":[{"Ref":"testlambdadynamodbstackLambdaFunctionServiceRole758347A1"}]}}}}}}},"DynamoTable":{"id":"DynamoTable","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/DynamoTable","constructInfo":{"fqn":"aws-cdk-lib.aws_dynamodb.Table","version":"2.228.0","metadata":[{"billingMode":"PAY_PER_REQUEST","encryption":"AWS_MANAGED","partitionKey":{"name":"*","type":"S"},"pointInTimeRecoverySpecification":{"pointInTimeRecoveryEnabled":true}}]},"children":{"Resource":{"id":"Resource","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/DynamoTable/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_dynamodb.CfnTable","version":"2.228.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::DynamoDB::Table","aws:cdk:cloudformation:props":{"attributeDefinitions":[{"attributeName":"api_key","attributeType":"S"}],"billingMode":"PAY_PER_REQUEST","keySchema":[{"attributeName":"api_key","keyType":"HASH"}],"pointInTimeRecoverySpecification":{"pointInTimeRecoveryEnabled":true},"sseSpecification":{"sseEnabled":true}}}},"ScalingRole":{"id":"ScalingRole","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/DynamoTable/ScalingRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.228.0","metadata":["*"]}}}}}},"Integ":{"id":"Integ","path":"lamddb-point-in-time-recovery/Integ","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.228.0-alpha.0"},"children":{"DefaultTest":{"id":"DefaultTest","path":"lamddb-point-in-time-recovery/Integ/DefaultTest","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.228.0-alpha.0"},"children":{"Default":{"id":"Default","path":"lamddb-point-in-time-recovery/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"lamddb-point-in-time-recovery/Integ/DefaultTest/DeployAssert","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.228.0"},"children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"lamddb-point-in-time-recovery/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.228.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamddb-point-in-time-recovery/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.228.0"}}}}}}}},"BootstrapVersion":{"id":"BootstrapVersion","path":"lamddb-point-in-time-recovery/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.228.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamddb-point-in-time-recovery/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.228.0"}}}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}}}}}
1
+ {"version":"tree-0.1","tree":{"id":"App","path":"","constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.239.0"},"children":{"lamddb-point-in-time-recovery":{"id":"lamddb-point-in-time-recovery","path":"lamddb-point-in-time-recovery","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.239.0"},"children":{"test-lambda-dynamodb-stack":{"id":"test-lambda-dynamodb-stack","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack","constructInfo":{"fqn":"@aws-solutions-constructs/aws-lambda-dynamodb.LambdaToDynamoDB","version":"2.99.0"},"children":{"LambdaFunctionServiceRole":{"id":"LambdaFunctionServiceRole","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/LambdaFunctionServiceRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.239.0"},"children":{"Resource":{"id":"Resource","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"lambda.amazonaws.com"}}],"Version":"2012-10-17"},"policies":[{"policyName":"LambdaFunctionServiceRolePolicy","policyDocument":{"Statement":[{"Action":["logs:CreateLogGroup","logs:CreateLogStream","logs:PutLogEvents"],"Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":logs:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":log-group:/aws/lambda/*"]]}}],"Version":"2012-10-17"}}]}}},"DefaultPolicy":{"id":"DefaultPolicy","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/DefaultPolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.239.0"},"children":{"Resource":{"id":"Resource","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/DefaultPolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["dynamodb:BatchGetItem","dynamodb:BatchWriteItem","dynamodb:ConditionCheckItem","dynamodb:DeleteItem","dynamodb:DescribeTable","dynamodb:GetItem","dynamodb:GetRecords","dynamodb:GetShardIterator","dynamodb:PutItem","dynamodb:Query","dynamodb:Scan","dynamodb:UpdateItem"],"Effect":"Allow","Resource":{"Fn::GetAtt":["testlambdadynamodbstackDynamoTable8138E93B","Arn"]}}],"Version":"2012-10-17"},"policyName":"testlambdadynamodbstackLambdaFunctionServiceRoleDefaultPolicy547FB7F4","roles":[{"Ref":"testlambdadynamodbstackLambdaFunctionServiceRole758347A1"}]}}}}}}},"LambdaFunction":{"id":"LambdaFunction","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/LambdaFunction","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.Function","version":"2.239.0"},"children":{"Resource":{"id":"Resource","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/LambdaFunction/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Function","aws:cdk:cloudformation:props":{"code":{"zipFile":"exports.handler = async (event) => { console.log(event); return {statusCode: 200, body: \"\"}; }"},"environment":{"variables":{"AWS_NODEJS_CONNECTION_REUSE_ENABLED":"1","DDB_TABLE_NAME":{"Ref":"testlambdadynamodbstackDynamoTable8138E93B"}}},"handler":"index.handler","role":{"Fn::GetAtt":["testlambdadynamodbstackLambdaFunctionServiceRole758347A1","Arn"]},"runtime":"nodejs22.x","tracingConfig":{"mode":"Active"}}}},"inlinePolicyAddedToExecutionRole-0":{"id":"inlinePolicyAddedToExecutionRole-0","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/LambdaFunction/inlinePolicyAddedToExecutionRole-0","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.239.0"},"children":{"Resource":{"id":"Resource","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/LambdaFunction/inlinePolicyAddedToExecutionRole-0/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["xray:PutTelemetryRecords","xray:PutTraceSegments"],"Effect":"Allow","Resource":"*"}],"Version":"2012-10-17"},"policyName":"testlambdadynamodbstackLambdaFunctioninlinePolicyAddedToExecutionRole019E2DE85","roles":[{"Ref":"testlambdadynamodbstackLambdaFunctionServiceRole758347A1"}]}}}}}}},"DynamoTable":{"id":"DynamoTable","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/DynamoTable","constructInfo":{"fqn":"aws-cdk-lib.aws_dynamodb.Table","version":"2.239.0"},"children":{"Resource":{"id":"Resource","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/DynamoTable/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_dynamodb.CfnTable","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::DynamoDB::Table","aws:cdk:cloudformation:props":{"attributeDefinitions":[{"attributeName":"api_key","attributeType":"S"}],"billingMode":"PAY_PER_REQUEST","keySchema":[{"attributeName":"api_key","keyType":"HASH"}],"pointInTimeRecoverySpecification":{"pointInTimeRecoveryEnabled":true},"sseSpecification":{"sseEnabled":true}}}},"ScalingRole":{"id":"ScalingRole","path":"lamddb-point-in-time-recovery/test-lambda-dynamodb-stack/DynamoTable/ScalingRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.239.0"}}}}}},"Integ":{"id":"Integ","path":"lamddb-point-in-time-recovery/Integ","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.239.0-alpha.0"},"children":{"DefaultTest":{"id":"DefaultTest","path":"lamddb-point-in-time-recovery/Integ/DefaultTest","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.239.0-alpha.0"},"children":{"Default":{"id":"Default","path":"lamddb-point-in-time-recovery/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.5.1"}},"DeployAssert":{"id":"DeployAssert","path":"lamddb-point-in-time-recovery/Integ/DefaultTest/DeployAssert","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.239.0"},"children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"lamddb-point-in-time-recovery/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.239.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamddb-point-in-time-recovery/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.239.0"}}}}}}}},"BootstrapVersion":{"id":"BootstrapVersion","path":"lamddb-point-in-time-recovery/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.239.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamddb-point-in-time-recovery/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.239.0"}}}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.5.1"}}}}}
@@ -34,7 +34,7 @@ new lib_1.LambdaToDynamoDB(stack, 'test-lambda-dynamodb-stack', {
34
34
  }
35
35
  },
36
36
  lambdaFunctionProps: {
37
- code: lambda.Code.fromAsset(`${__dirname}/lambda`),
37
+ code: new lambda.InlineCode('exports.handler = async (event) => { console.log(event); return {statusCode: 200, body: ""}; }'),
38
38
  runtime: defaults.COMMERCIAL_REGION_LAMBDA_NODE_RUNTIME,
39
39
  handler: 'index.handler'
40
40
  }
@@ -42,4 +42,4 @@ new lib_1.LambdaToDynamoDB(stack, 'test-lambda-dynamodb-stack', {
42
42
  new integ_tests_alpha_1.IntegTest(stack, 'Integ', { testCases: [
43
43
  stack
44
44
  ] });
45
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZWcubGFtZGRiLXNldC1iaWxsaW5nLW1vZGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbnRlZy5sYW1kZGItc2V0LWJpbGxpbmctbW9kZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUE7Ozs7Ozs7Ozs7O0dBV0c7O0FBRUgsNkNBQXlDO0FBQ3pDLGdDQUEwQztBQUMxQyxxREFBcUQ7QUFDckQsaURBQWlEO0FBQ2pELHlEQUFtRztBQUNuRyxrRUFBdUQ7QUFDdkQsMkRBQTJEO0FBRTNELE1BQU0sR0FBRyxHQUFHLElBQUksaUJBQUcsRUFBRSxDQUFDO0FBRXRCLHlDQUF5QztBQUN6QyxNQUFNLEtBQUssR0FBRyxJQUFJLG1CQUFLLENBQUMsR0FBRyxFQUFFLElBQUEsNkJBQXNCLEVBQUMsVUFBVSxDQUFDLENBQUMsQ0FBQztBQUNqRSxJQUFBLGdDQUF5QixFQUFDLEtBQUssQ0FBQyxDQUFDO0FBRWpDLElBQUksc0JBQWdCLENBQUMsS0FBSyxFQUFFLDRCQUE0QixFQUFFO0lBQ3hELGdCQUFnQixFQUFFO1FBQ2hCLFdBQVcsRUFBRSxRQUFRLENBQUMsV0FBVyxDQUFDLFdBQVc7UUFDN0MsWUFBWSxFQUFFLENBQUM7UUFDZixhQUFhLEVBQUUsQ0FBQztRQUNoQixZQUFZLEVBQUU7WUFDWixJQUFJLEVBQUUsSUFBSTtZQUNWLElBQUksRUFBRSxRQUFRLENBQUMsYUFBYSxDQUFDLE1BQU07U0FDcEM7S0FDRjtJQUNELG1CQUFtQixFQUFFO1FBQ25CL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uY29uc3Qgc3RhY2sgPSBuZXcgU3RhY2soYXBwLCBnZW5lcmF0ZUludGVnU3RhY2tOYW1lKF9fZmlsZW5hbWUpKTtcblNldENvbnNpc3RlbnRGZWF0dXJlRmxhZ3Moc3RhY2spO1xuXG5uZXcgTGFtYmRhVG9EeW5hbW9EQihzdGFjaywgJ3Rlc3QtbGFtYmRhLWR5bmFtb2RiLXN0YWNrJywge1xuICBkeW5hbW9UYWJsZVByb3BzOiB7XG4gICAgYmlsbGluZ01vZGU6IGR5bmFtb2RiLkJpbGxpbmdNb2RlLlBST1ZJU0lPTkVELFxuICAgIHJlYWRDYXBhY2l0eTogMyxcbiAgICB3cml0ZUNhcGFjaXR5OiAzLFxuICAgIHBhcnRpdGlvbktleToge1xuICAgICAgbmFtZTogJ2lkJyxcbiAgICAgIHR5cGU6IGR5bmFtb2RiLkF0dHJpYnV0ZVR5cGUuU1RSSU5HXG4gICAgfVxuICB9LFxuICBsYW1iZGFGdW5jdGlvblByb3BzOiB7XG4gICAgY29kZTogbmV3IGxhbWJkYS5JbmxpbmVDb2RlKCdleHBvcnRzLmhhbmRsZXIgPSBhc3luYyAoZXZlbnQpID0+IHsgY29uc29sZS5sb2coZXZlbnQpOyByZXR1cm4ge3N0YXR1c0NvZGU6IDIwMCwgYm9keTogXCJcIn07IH0nKSxcbiAgICBydW50aW1lOiBkZWZhdWx0cy5DT01NRVJDSUFMX1JFR0lPTl9MQU1CREFfTk9ERV9SVU5USU1FLFxuICAgIGhhbmRsZXI6ICdpbmRleC5oYW5kbGVyJ1xuICB9XG59KTtcblxubmV3IEludGVnVGVzdChzdGFjaywgJ0ludGVnJywgeyB0ZXN0Q2FzZXM6IFtcbiAgc3RhY2tcbl0gfSk7XG4iXX0=
@@ -1 +1 @@
1
- {"version":"48.0.0"}
1
+ {"version":"50.0.0"}
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "48.0.0",
2
+ "version": "50.0.0",
3
3
  "testCases": {
4
4
  "lamddb-set-billing-mode/Integ/DefaultTest": {
5
5
  "stacks": [
@@ -9,5 +9,5 @@
9
9
  "assertionStackName": "lamddbsetbillingmodeIntegDefaultTestDeployAssertDAE32272"
10
10
  }
11
11
  },
12
- "minimumCliVersion": "2.1029.2"
12
+ "minimumCliVersion": "2.1105.0"
13
13
  }
@@ -1,30 +1,16 @@
1
1
  {
2
- "version": "48.0.0",
2
+ "version": "50.0.0",
3
3
  "files": {
4
- "a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c": {
5
- "displayName": "test-lambda-dynamodb-stack/LambdaFunction/Code",
6
- "source": {
7
- "path": "asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c",
8
- "packaging": "zip"
9
- },
10
- "destinations": {
11
- "current_account-current_region-d11fcfce": {
12
- "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
13
- "objectKey": "a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c.zip",
14
- "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
15
- }
16
- }
17
- },
18
- "4e5c381fd35011bed23e39a4e58d97ad6de02ab74e5622f1c20c8f29987bd400": {
4
+ "e5cbdccad96fa29ebc32a660be6a1c67adf42c942419125c5f4fe09db50a710e": {
19
5
  "displayName": "lamddb-set-billing-mode Template",
20
6
  "source": {
21
7
  "path": "lamddb-set-billing-mode.template.json",
22
8
  "packaging": "file"
23
9
  },
24
10
  "destinations": {
25
- "current_account-current_region-97c2509d": {
11
+ "current_account-current_region-17ba1673": {
26
12
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
27
- "objectKey": "4e5c381fd35011bed23e39a4e58d97ad6de02ab74e5622f1c20c8f29987bd400.json",
13
+ "objectKey": "e5cbdccad96fa29ebc32a660be6a1c67adf42c942419125c5f4fe09db50a710e.json",
28
14
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
29
15
  }
30
16
  }
@@ -105,10 +105,7 @@
105
105
  "Type": "AWS::Lambda::Function",
106
106
  "Properties": {
107
107
  "Code": {
108
- "S3Bucket": {
109
- "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
110
- },
111
- "S3Key": "a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c.zip"
108
+ "ZipFile": "exports.handler = async (event) => { console.log(event); return {statusCode: 200, body: \"\"}; }"
112
109
  },
113
110
  "Environment": {
114
111
  "Variables": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "48.0.0",
2
+ "version": "50.0.0",
3
3
  "files": {
4
4
  "21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22": {
5
5
  "displayName": "lamddbsetbillingmodeIntegDefaultTestDeployAssertDAE32272 Template",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "48.0.0",
2
+ "version": "52.0.0",
3
3
  "artifacts": {
4
4
  "lamddbsetbillingmodeIntegDefaultTestDeployAssertDAE32272.assets": {
5
5
  "type": "cdk:asset-manifest",
@@ -66,7 +66,7 @@
66
66
  "validateOnSynth": false,
67
67
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
68
68
  "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
69
- "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/4e5c381fd35011bed23e39a4e58d97ad6de02ab74e5622f1c20c8f29987bd400.json",
69
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/e5cbdccad96fa29ebc32a660be6a1c67adf42c942419125c5f4fe09db50a710e.json",
70
70
  "requiresBootstrapStackVersion": 6,
71
71
  "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
72
72
  "additionalDependencies": [
@@ -132,12 +132,14 @@
132
132
  "*"
133
133
  ]
134
134
  }
135
- }
136
- ],
137
- "/lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole": [
135
+ },
138
136
  {
139
- "type": "aws:cdk:analytics:construct",
140
- "data": "*"
137
+ "type": "aws:cdk:analytics:method",
138
+ "data": {
139
+ "addToPrincipalPolicy": [
140
+ {}
141
+ ]
142
+ }
141
143
  }
142
144
  ],
143
145
  "/lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/Resource": [
@@ -167,6 +169,14 @@
167
169
  ]
168
170
  }
169
171
  },
172
+ {
173
+ "type": "aws:cdk:analytics:method",
174
+ "data": {
175
+ "addStatements": [
176
+ {}
177
+ ]
178
+ }
179
+ },
170
180
  {
171
181
  "type": "aws:cdk:analytics:method",
172
182
  "data": {
@@ -316,6 +326,7 @@
316
326
  "module": "aws-cdk-lib",
317
327
  "flags": {
318
328
  "@aws-cdk/aws-signer:signingProfileNamePassedToCfn": {
329
+ "userValue": true,
319
330
  "recommendedValue": true,
320
331
  "explanation": "Pass signingProfileName to CfnSigningProfile"
321
332
  },
@@ -334,6 +345,7 @@
334
345
  }
335
346
  },
336
347
  "@aws-cdk/aws-ecs-patterns:secGroupsDisablesImplicitOpenListener": {
348
+ "userValue": true,
337
349
  "recommendedValue": true,
338
350
  "explanation": "Disable implicit openListener when custom security groups are provided"
339
351
  },
@@ -599,6 +611,10 @@
599
611
  "recommendedValue": true,
600
612
  "explanation": "When enabled, nodegroupName attribute of the provisioned EKS NodeGroup will not have the cluster name prefix."
601
613
  },
614
+ "@aws-cdk/aws-eks:useNativeOidcProvider": {
615
+ "recommendedValue": true,
616
+ "explanation": "When enabled, EKS V2 clusters will use the native OIDC provider resource AWS::IAM::OIDCProvider instead of creating the OIDCProvider with a custom resource (iam.OpenIDConnectProvider)."
617
+ },
602
618
  "@aws-cdk/aws-ec2:ebsDefaultGp3Volume": {
603
619
  "userValue": true,
604
620
  "recommendedValue": true,
@@ -631,16 +647,6 @@
631
647
  "recommendedValue": true,
632
648
  "explanation": "When enabled, stack tags need to be assigned explicitly on a Stack."
633
649
  },
634
- "@aws-cdk/aws-ecs:enableImdsBlockingDeprecatedFeature": {
635
- "userValue": false,
636
- "recommendedValue": false,
637
- "explanation": "When set to true along with canContainersAccessInstanceRole=false in ECS cluster, new updated commands will be added to UserData to block container accessing IMDS. **Applicable to Linux only. IMPORTANT: See [details.](#aws-cdkaws-ecsenableImdsBlockingDeprecatedFeature)**"
638
- },
639
- "@aws-cdk/aws-ecs:disableEcsImdsBlocking": {
640
- "userValue": true,
641
- "recommendedValue": true,
642
- "explanation": "When set to true, CDK synth will throw exception if canContainersAccessInstanceRole is false. **IMPORTANT: See [details.](#aws-cdkaws-ecsdisableEcsImdsBlocking)**"
643
- },
644
650
  "@aws-cdk/aws-ecs:reduceEc2FargateCloudWatchPermissions": {
645
651
  "userValue": true,
646
652
  "recommendedValue": true,
@@ -786,6 +792,7 @@
786
792
  "explanation": "When enabled, CDK creates and manages loggroup for the lambda function"
787
793
  },
788
794
  "@aws-cdk/aws-elasticloadbalancingv2:networkLoadBalancerWithSecurityGroupByDefault": {
795
+ "userValue": true,
789
796
  "recommendedValue": true,
790
797
  "explanation": "When enabled, Network Load Balancer will be created with a security group by default."
791
798
  },
@@ -797,12 +804,25 @@
797
804
  }
798
805
  },
799
806
  "@aws-cdk/aws-ecs-patterns:uniqueTargetGroupId": {
807
+ "userValue": true,
800
808
  "recommendedValue": true,
801
809
  "explanation": "When enabled, ECS patterns will generate unique target group IDs to prevent conflicts during load balancer replacement"
810
+ },
811
+ "@aws-cdk/aws-route53-patterns:useDistribution": {
812
+ "userValue": true,
813
+ "recommendedValue": true,
814
+ "explanation": "Use the `Distribution` resource instead of `CloudFrontWebDistribution`"
815
+ },
816
+ "@aws-cdk/core:automaticL1Traits": {
817
+ "recommendedValue": true,
818
+ "explanation": "Automatically use the default L1 traits for L1 constructs`",
819
+ "unconfiguredBehavesLike": {
820
+ "v2": true
821
+ }
802
822
  }
803
823
  }
804
824
  }
805
825
  }
806
826
  },
807
- "minimumCliVersion": "2.1021.0"
827
+ "minimumCliVersion": "2.1106.1"
808
828
  }
@@ -1 +1 @@
1
- {"version":"tree-0.1","tree":{"id":"App","path":"","constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.228.0"},"children":{"lamddb-set-billing-mode":{"id":"lamddb-set-billing-mode","path":"lamddb-set-billing-mode","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.228.0"},"children":{"test-lambda-dynamodb-stack":{"id":"test-lambda-dynamodb-stack","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack","constructInfo":{"fqn":"@aws-solutions-constructs/aws-lambda-dynamodb.LambdaToDynamoDB","version":"2.96.0"},"children":{"LambdaFunctionServiceRole":{"id":"LambdaFunctionServiceRole","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.228.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"},"inlinePolicies":"*"},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"addToPrincipalPolicy":[{}]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]}]},"children":{"ImportLambdaFunctionServiceRole":{"id":"ImportLambdaFunctionServiceRole","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.228.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.228.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"lambda.amazonaws.com"}}],"Version":"2012-10-17"},"policies":[{"policyName":"LambdaFunctionServiceRolePolicy","policyDocument":{"Statement":[{"Action":["logs:CreateLogGroup","logs:CreateLogStream","logs:PutLogEvents"],"Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":logs:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":log-group:/aws/lambda/*"]]}}],"Version":"2012-10-17"}}]}}},"DefaultPolicy":{"id":"DefaultPolicy","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/DefaultPolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.228.0","metadata":["*",{"attachToRole":["*"]},{"attachToRole":["*"]},{"addStatements":[{}]}]},"children":{"Resource":{"id":"Resource","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/DefaultPolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.228.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["dynamodb:BatchGetItem","dynamodb:BatchWriteItem","dynamodb:ConditionCheckItem","dynamodb:DeleteItem","dynamodb:DescribeTable","dynamodb:GetItem","dynamodb:GetRecords","dynamodb:GetShardIterator","dynamodb:PutItem","dynamodb:Query","dynamodb:Scan","dynamodb:UpdateItem"],"Effect":"Allow","Resource":{"Fn::GetAtt":["testlambdadynamodbstackDynamoTable8138E93B","Arn"]}}],"Version":"2012-10-17"},"policyName":"testlambdadynamodbstackLambdaFunctionServiceRoleDefaultPolicy547FB7F4","roles":[{"Ref":"testlambdadynamodbstackLambdaFunctionServiceRole758347A1"}]}}}}}}},"LambdaFunction":{"id":"LambdaFunction","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.Function","version":"2.228.0","metadata":[{"role":"*","tracing":"Active","code":"*","runtime":"*","handler":"*"},{"addEnvironment":["*","*",{"removeInEdge":true}]},{"addEnvironment":["*","*"]}]},"children":{"Code":{"id":"Code","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction/Code","constructInfo":{"fqn":"aws-cdk-lib.aws_s3_assets.Asset","version":"2.228.0"},"children":{"Stage":{"id":"Stage","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction/Code/Stage","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.228.0"}},"AssetBucket":{"id":"AssetBucket","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction/Code/AssetBucket","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketBase","version":"2.228.0","metadata":[]}}}},"Resource":{"id":"Resource","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.228.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Function","aws:cdk:cloudformation:props":{"code":{"s3Bucket":{"Fn::Sub":"cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"},"s3Key":"a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c.zip"},"environment":{"variables":{"AWS_NODEJS_CONNECTION_REUSE_ENABLED":"1","DDB_TABLE_NAME":{"Ref":"testlambdadynamodbstackDynamoTable8138E93B"}}},"handler":"index.handler","role":{"Fn::GetAtt":["testlambdadynamodbstackLambdaFunctionServiceRole758347A1","Arn"]},"runtime":"nodejs22.x","tracingConfig":{"mode":"Active"}}}},"inlinePolicyAddedToExecutionRole-0":{"id":"inlinePolicyAddedToExecutionRole-0","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction/inlinePolicyAddedToExecutionRole-0","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.228.0","metadata":[{"statements":"*"},{"addStatements":[{}]},{"attachToRole":["*"]},{"attachToRole":["*"]}]},"children":{"Resource":{"id":"Resource","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction/inlinePolicyAddedToExecutionRole-0/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.228.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["xray:PutTelemetryRecords","xray:PutTraceSegments"],"Effect":"Allow","Resource":"*"}],"Version":"2012-10-17"},"policyName":"testlambdadynamodbstackLambdaFunctioninlinePolicyAddedToExecutionRole019E2DE85","roles":[{"Ref":"testlambdadynamodbstackLambdaFunctionServiceRole758347A1"}]}}}}}}},"DynamoTable":{"id":"DynamoTable","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/DynamoTable","constructInfo":{"fqn":"aws-cdk-lib.aws_dynamodb.Table","version":"2.228.0","metadata":[{"billingMode":"PROVISIONED","encryption":"AWS_MANAGED","partitionKey":{"name":"*","type":"S"},"pointInTimeRecoverySpecification":{"pointInTimeRecoveryEnabled":true},"readCapacity":"*","writeCapacity":"*"}]},"children":{"Resource":{"id":"Resource","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/DynamoTable/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_dynamodb.CfnTable","version":"2.228.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::DynamoDB::Table","aws:cdk:cloudformation:props":{"attributeDefinitions":[{"attributeName":"id","attributeType":"S"}],"keySchema":[{"attributeName":"id","keyType":"HASH"}],"pointInTimeRecoverySpecification":{"pointInTimeRecoveryEnabled":true},"provisionedThroughput":{"readCapacityUnits":3,"writeCapacityUnits":3},"sseSpecification":{"sseEnabled":true}}}},"ScalingRole":{"id":"ScalingRole","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/DynamoTable/ScalingRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.228.0","metadata":["*"]}}}}}},"Integ":{"id":"Integ","path":"lamddb-set-billing-mode/Integ","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.228.0-alpha.0"},"children":{"DefaultTest":{"id":"DefaultTest","path":"lamddb-set-billing-mode/Integ/DefaultTest","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.228.0-alpha.0"},"children":{"Default":{"id":"Default","path":"lamddb-set-billing-mode/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"lamddb-set-billing-mode/Integ/DefaultTest/DeployAssert","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.228.0"},"children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"lamddb-set-billing-mode/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.228.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamddb-set-billing-mode/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.228.0"}}}}}}}},"BootstrapVersion":{"id":"BootstrapVersion","path":"lamddb-set-billing-mode/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.228.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamddb-set-billing-mode/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.228.0"}}}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}}}}}
1
+ {"version":"tree-0.1","tree":{"id":"App","path":"","constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.239.0"},"children":{"lamddb-set-billing-mode":{"id":"lamddb-set-billing-mode","path":"lamddb-set-billing-mode","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.239.0"},"children":{"test-lambda-dynamodb-stack":{"id":"test-lambda-dynamodb-stack","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack","constructInfo":{"fqn":"@aws-solutions-constructs/aws-lambda-dynamodb.LambdaToDynamoDB","version":"2.99.0"},"children":{"LambdaFunctionServiceRole":{"id":"LambdaFunctionServiceRole","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.239.0"},"children":{"Resource":{"id":"Resource","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"lambda.amazonaws.com"}}],"Version":"2012-10-17"},"policies":[{"policyName":"LambdaFunctionServiceRolePolicy","policyDocument":{"Statement":[{"Action":["logs:CreateLogGroup","logs:CreateLogStream","logs:PutLogEvents"],"Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":logs:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":log-group:/aws/lambda/*"]]}}],"Version":"2012-10-17"}}]}}},"DefaultPolicy":{"id":"DefaultPolicy","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/DefaultPolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.239.0"},"children":{"Resource":{"id":"Resource","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/DefaultPolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["dynamodb:BatchGetItem","dynamodb:BatchWriteItem","dynamodb:ConditionCheckItem","dynamodb:DeleteItem","dynamodb:DescribeTable","dynamodb:GetItem","dynamodb:GetRecords","dynamodb:GetShardIterator","dynamodb:PutItem","dynamodb:Query","dynamodb:Scan","dynamodb:UpdateItem"],"Effect":"Allow","Resource":{"Fn::GetAtt":["testlambdadynamodbstackDynamoTable8138E93B","Arn"]}}],"Version":"2012-10-17"},"policyName":"testlambdadynamodbstackLambdaFunctionServiceRoleDefaultPolicy547FB7F4","roles":[{"Ref":"testlambdadynamodbstackLambdaFunctionServiceRole758347A1"}]}}}}}}},"LambdaFunction":{"id":"LambdaFunction","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.Function","version":"2.239.0"},"children":{"Resource":{"id":"Resource","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Function","aws:cdk:cloudformation:props":{"code":{"zipFile":"exports.handler = async (event) => { console.log(event); return {statusCode: 200, body: \"\"}; }"},"environment":{"variables":{"AWS_NODEJS_CONNECTION_REUSE_ENABLED":"1","DDB_TABLE_NAME":{"Ref":"testlambdadynamodbstackDynamoTable8138E93B"}}},"handler":"index.handler","role":{"Fn::GetAtt":["testlambdadynamodbstackLambdaFunctionServiceRole758347A1","Arn"]},"runtime":"nodejs22.x","tracingConfig":{"mode":"Active"}}}},"inlinePolicyAddedToExecutionRole-0":{"id":"inlinePolicyAddedToExecutionRole-0","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction/inlinePolicyAddedToExecutionRole-0","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.239.0"},"children":{"Resource":{"id":"Resource","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/LambdaFunction/inlinePolicyAddedToExecutionRole-0/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["xray:PutTelemetryRecords","xray:PutTraceSegments"],"Effect":"Allow","Resource":"*"}],"Version":"2012-10-17"},"policyName":"testlambdadynamodbstackLambdaFunctioninlinePolicyAddedToExecutionRole019E2DE85","roles":[{"Ref":"testlambdadynamodbstackLambdaFunctionServiceRole758347A1"}]}}}}}}},"DynamoTable":{"id":"DynamoTable","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/DynamoTable","constructInfo":{"fqn":"aws-cdk-lib.aws_dynamodb.Table","version":"2.239.0"},"children":{"Resource":{"id":"Resource","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/DynamoTable/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_dynamodb.CfnTable","version":"2.239.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::DynamoDB::Table","aws:cdk:cloudformation:props":{"attributeDefinitions":[{"attributeName":"id","attributeType":"S"}],"keySchema":[{"attributeName":"id","keyType":"HASH"}],"pointInTimeRecoverySpecification":{"pointInTimeRecoveryEnabled":true},"provisionedThroughput":{"readCapacityUnits":3,"writeCapacityUnits":3},"sseSpecification":{"sseEnabled":true}}}},"ScalingRole":{"id":"ScalingRole","path":"lamddb-set-billing-mode/test-lambda-dynamodb-stack/DynamoTable/ScalingRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.239.0"}}}}}},"Integ":{"id":"Integ","path":"lamddb-set-billing-mode/Integ","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.239.0-alpha.0"},"children":{"DefaultTest":{"id":"DefaultTest","path":"lamddb-set-billing-mode/Integ/DefaultTest","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.239.0-alpha.0"},"children":{"Default":{"id":"Default","path":"lamddb-set-billing-mode/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.5.1"}},"DeployAssert":{"id":"DeployAssert","path":"lamddb-set-billing-mode/Integ/DefaultTest/DeployAssert","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.239.0"},"children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"lamddb-set-billing-mode/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.239.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamddb-set-billing-mode/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.239.0"}}}}}}}},"BootstrapVersion":{"id":"BootstrapVersion","path":"lamddb-set-billing-mode/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.239.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamddb-set-billing-mode/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.239.0"}}}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.5.1"}}}}}
@@ -24,7 +24,7 @@ const stack = new aws_cdk_lib_1.Stack(app, (0, core_1.generateIntegStackName)(__
24
24
  const lambdaFunctionProps = {
25
25
  runtime: defaults.COMMERCIAL_REGION_LAMBDA_NODE_RUNTIME,
26
26
  handler: 'index.handler',
27
- code: lambda.Code.fromAsset(`${__dirname}/lambda`)
27
+ code: new lambda.InlineCode('exports.handler = async (event) => { console.log(event); return {statusCode: 200, body: ""}; }')
28
28
  };
29
29
  const func = defaults.deployLambdaFunction(stack, lambdaFunctionProps);
30
30
  new lib_1.LambdaToDynamoDB(stack, 'test-lambda-dynamodb-stack', {
@@ -33,4 +33,4 @@ new lib_1.LambdaToDynamoDB(stack, 'test-lambda-dynamodb-stack', {
33
33
  new integ_tests_alpha_1.IntegTest(stack, 'Integ', { testCases: [
34
34
  stack
35
35
  ] });
36
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZWcubGFtZGRiLXVzZS1leGlzdGluZy1mdW5jLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiaW50ZWcubGFtZGRiLXVzZS1leGlzdGluZy1mdW5jLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQTs7Ozs7Ozs7Ozs7R0FXRzs7QUFFSCw2Q0FBeUM7QUFDekMsZ0NBQTBDO0FBQzFDLGlEQUFpRDtBQUNqRCwyREFBMkQ7QUFDM0QseURBQW1HO0FBQ25HLGtFQUF1RDtBQUV2RCxNQUFNLEdBQUcsR0FBRyxJQUFJLGlCQUFHLEVBQUUsQ0FBQztBQUN0QixNQUFNLEtBQUssR0FBRyxJQUFJLG1CQUFLLENBQUMsR0FBRyxFQUFFLElBQUEsNkJBQXNCLEVBQUMsVUFBVSxDQUFDLENBQUMsQ0FBQztBQUNqRSxJQUFBLGdDQUF5QixFQUFDLEtBQUssQ0FBQyxDQUFDO0FBRWpDLE1BQU0sbUJBQW1CLEdBQUc7SUFDMUIsT0FBTyxFQUFFLFFBQVEsQ0FBQyxxQ0FBcUM7SUFDdkQsT0FBTyxFQUFFLGVBQWU7SUFDeEIsSUFBSSxFQUFFLE1BQU0sQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDLEdBQUcsU0FBUyxTQUFTLENBQUM7Q0FDbkQsQ0FBQztBQUVGLE1BQU0sSUFBSSxHQUFHLFFBQVEsQ0FBQyxvQkFBb0IsQ0FBQyxLQUFLLEVBQUUsbUJBQW1C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m5ldyBMYW1iZGFUb0R5bmFtb0RCKHN0YWNrLCAndGVzdC1sYW1iZGEtZHluYW1vZGItc3RhY2snLCB7XG4gIGV4aXN0aW5nTGFtYmRhT2JqOiBmdW5jXG59KTtcblxubmV3IEludGVnVGVzdChzdGFjaywgJ0ludGVnJywgeyB0ZXN0Q2FzZXM6IFtcbiAgc3RhY2tcbl0gfSk7XG4iXX0=
@@ -1 +1 @@
1
- {"version":"48.0.0"}
1
+ {"version":"50.0.0"}
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "48.0.0",
2
+ "version": "50.0.0",
3
3
  "testCases": {
4
4
  "lamddb-use-existing-func/Integ/DefaultTest": {
5
5
  "stacks": [
@@ -9,5 +9,5 @@
9
9
  "assertionStackName": "lamddbuseexistingfuncIntegDefaultTestDeployAssert48D284DD"
10
10
  }
11
11
  },
12
- "minimumCliVersion": "2.1029.2"
12
+ "minimumCliVersion": "2.1105.0"
13
13
  }
@@ -1,30 +1,16 @@
1
1
  {
2
- "version": "48.0.0",
2
+ "version": "50.0.0",
3
3
  "files": {
4
- "a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c": {
5
- "displayName": "LambdaFunction/Code",
6
- "source": {
7
- "path": "asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c",
8
- "packaging": "zip"
9
- },
10
- "destinations": {
11
- "current_account-current_region-d11fcfce": {
12
- "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
13
- "objectKey": "a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c.zip",
14
- "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
15
- }
16
- }
17
- },
18
- "c0fa532c8211745d49c835a17d5e27fb9efddcf1efe8bd3e4f6a0d6e0386da0a": {
4
+ "5ea4fd521c252c8e498f35cd19715b67b0fc86b940da1a3030f30ca3a8d56ae2": {
19
5
  "displayName": "lamddb-use-existing-func Template",
20
6
  "source": {
21
7
  "path": "lamddb-use-existing-func.template.json",
22
8
  "packaging": "file"
23
9
  },
24
10
  "destinations": {
25
- "current_account-current_region-16277ef5": {
11
+ "current_account-current_region-c8734839": {
26
12
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
27
- "objectKey": "c0fa532c8211745d49c835a17d5e27fb9efddcf1efe8bd3e4f6a0d6e0386da0a.json",
13
+ "objectKey": "5ea4fd521c252c8e498f35cd19715b67b0fc86b940da1a3030f30ca3a8d56ae2.json",
28
14
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
29
15
  }
30
16
  }
@@ -105,10 +105,7 @@
105
105
  "Type": "AWS::Lambda::Function",
106
106
  "Properties": {
107
107
  "Code": {
108
- "S3Bucket": {
109
- "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
110
- },
111
- "S3Key": "a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c.zip"
108
+ "ZipFile": "exports.handler = async (event) => { console.log(event); return {statusCode: 200, body: \"\"}; }"
112
109
  },
113
110
  "Environment": {
114
111
  "Variables": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "48.0.0",
2
+ "version": "50.0.0",
3
3
  "files": {
4
4
  "21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22": {
5
5
  "displayName": "lamddbuseexistingfuncIntegDefaultTestDeployAssert48D284DD Template",