aws-solutions-constructs.aws-lambda-dynamodb 2.85.2__tar.gz → 2.85.4__tar.gz

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 (20) hide show
  1. aws_solutions_constructs_aws_lambda_dynamodb-2.85.4/PKG-INFO +28 -0
  2. aws_solutions_constructs_aws_lambda_dynamodb-2.85.4/README.md +1 -0
  3. {aws_solutions_constructs_aws_lambda_dynamodb-2.85.2 → aws_solutions_constructs_aws_lambda_dynamodb-2.85.4}/setup.py +3 -3
  4. {aws_solutions_constructs_aws_lambda_dynamodb-2.85.2 → aws_solutions_constructs_aws_lambda_dynamodb-2.85.4}/src/aws_solutions_constructs/aws_lambda_dynamodb/__init__.py +1 -137
  5. {aws_solutions_constructs_aws_lambda_dynamodb-2.85.2 → aws_solutions_constructs_aws_lambda_dynamodb-2.85.4}/src/aws_solutions_constructs/aws_lambda_dynamodb/_jsii/__init__.py +2 -2
  6. aws_solutions_constructs_aws_lambda_dynamodb-2.85.4/src/aws_solutions_constructs/aws_lambda_dynamodb/_jsii/aws-lambda-dynamodb@2.85.4.jsii.tgz +0 -0
  7. aws_solutions_constructs_aws_lambda_dynamodb-2.85.4/src/aws_solutions_constructs.aws_lambda_dynamodb.egg-info/PKG-INFO +28 -0
  8. {aws_solutions_constructs_aws_lambda_dynamodb-2.85.2 → aws_solutions_constructs_aws_lambda_dynamodb-2.85.4}/src/aws_solutions_constructs.aws_lambda_dynamodb.egg-info/SOURCES.txt +1 -1
  9. {aws_solutions_constructs_aws_lambda_dynamodb-2.85.2 → aws_solutions_constructs_aws_lambda_dynamodb-2.85.4}/src/aws_solutions_constructs.aws_lambda_dynamodb.egg-info/requires.txt +1 -1
  10. aws_solutions_constructs_aws_lambda_dynamodb-2.85.2/PKG-INFO +0 -164
  11. aws_solutions_constructs_aws_lambda_dynamodb-2.85.2/README.md +0 -137
  12. aws_solutions_constructs_aws_lambda_dynamodb-2.85.2/src/aws_solutions_constructs/aws_lambda_dynamodb/_jsii/aws-lambda-dynamodb@2.85.2.jsii.tgz +0 -0
  13. aws_solutions_constructs_aws_lambda_dynamodb-2.85.2/src/aws_solutions_constructs.aws_lambda_dynamodb.egg-info/PKG-INFO +0 -164
  14. {aws_solutions_constructs_aws_lambda_dynamodb-2.85.2 → aws_solutions_constructs_aws_lambda_dynamodb-2.85.4}/LICENSE +0 -0
  15. {aws_solutions_constructs_aws_lambda_dynamodb-2.85.2 → aws_solutions_constructs_aws_lambda_dynamodb-2.85.4}/MANIFEST.in +0 -0
  16. {aws_solutions_constructs_aws_lambda_dynamodb-2.85.2 → aws_solutions_constructs_aws_lambda_dynamodb-2.85.4}/pyproject.toml +0 -0
  17. {aws_solutions_constructs_aws_lambda_dynamodb-2.85.2 → aws_solutions_constructs_aws_lambda_dynamodb-2.85.4}/setup.cfg +0 -0
  18. {aws_solutions_constructs_aws_lambda_dynamodb-2.85.2 → aws_solutions_constructs_aws_lambda_dynamodb-2.85.4}/src/aws_solutions_constructs/aws_lambda_dynamodb/py.typed +0 -0
  19. {aws_solutions_constructs_aws_lambda_dynamodb-2.85.2 → aws_solutions_constructs_aws_lambda_dynamodb-2.85.4}/src/aws_solutions_constructs.aws_lambda_dynamodb.egg-info/dependency_links.txt +0 -0
  20. {aws_solutions_constructs_aws_lambda_dynamodb-2.85.2 → aws_solutions_constructs_aws_lambda_dynamodb-2.85.4}/src/aws_solutions_constructs.aws_lambda_dynamodb.egg-info/top_level.txt +0 -0
@@ -0,0 +1,28 @@
1
+ Metadata-Version: 2.1
2
+ Name: aws-solutions-constructs.aws-lambda-dynamodb
3
+ Version: 2.85.4
4
+ Summary: CDK Constructs for AWS Lambda to AWS DynamoDB integration.
5
+ Home-page: https://github.com/awslabs/aws-solutions-constructs.git
6
+ Author: Amazon Web Services
7
+ License: Apache-2.0
8
+ Project-URL: Source, https://github.com/awslabs/aws-solutions-constructs.git
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Programming Language :: JavaScript
12
+ Classifier: Programming Language :: Python :: 3 :: Only
13
+ Classifier: Programming Language :: Python :: 3.9
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Typing :: Typed
17
+ Classifier: License :: OSI Approved
18
+ Requires-Python: ~=3.9
19
+ Description-Content-Type: text/markdown
20
+ License-File: LICENSE
21
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.193.0
22
+ Requires-Dist: aws-solutions-constructs.core==2.85.4
23
+ Requires-Dist: constructs<11.0.0,>=10.0.0
24
+ Requires-Dist: jsii<2.0.0,>=1.111.0
25
+ Requires-Dist: publication>=0.0.3
26
+ Requires-Dist: typeguard<4.3.0,>=2.13.3
27
+
28
+ Documentation for this pattern can be found [here](https://github.com/awslabs/aws-solutions-constructs/blob/main/source/patterns/%40aws-solutions-constructs/aws-lambda-dynamodb/README.adoc)
@@ -0,0 +1 @@
1
+ Documentation for this pattern can be found [here](https://github.com/awslabs/aws-solutions-constructs/blob/main/source/patterns/%40aws-solutions-constructs/aws-lambda-dynamodb/README.adoc)
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "aws-solutions-constructs.aws-lambda-dynamodb",
8
- "version": "2.85.2",
8
+ "version": "2.85.4",
9
9
  "description": "CDK Constructs for AWS Lambda to AWS DynamoDB integration.",
10
10
  "license": "Apache-2.0",
11
11
  "url": "https://github.com/awslabs/aws-solutions-constructs.git",
@@ -26,7 +26,7 @@ kwargs = json.loads(
26
26
  ],
27
27
  "package_data": {
28
28
  "aws_solutions_constructs.aws_lambda_dynamodb._jsii": [
29
- "aws-lambda-dynamodb@2.85.2.jsii.tgz"
29
+ "aws-lambda-dynamodb@2.85.4.jsii.tgz"
30
30
  ],
31
31
  "aws_solutions_constructs.aws_lambda_dynamodb": [
32
32
  "py.typed"
@@ -35,7 +35,7 @@ kwargs = json.loads(
35
35
  "python_requires": "~=3.9",
36
36
  "install_requires": [
37
37
  "aws-cdk-lib>=2.193.0, <3.0.0",
38
- "aws-solutions-constructs.core==2.85.2",
38
+ "aws-solutions-constructs.core==2.85.4",
39
39
  "constructs>=10.0.0, <11.0.0",
40
40
  "jsii>=1.111.0, <2.0.0",
41
41
  "publication>=0.0.3",
@@ -1,141 +1,5 @@
1
1
  r'''
2
- # aws-lambda-dynamodb module
3
-
4
- <!--BEGIN STABILITY BANNER-->---
5
-
6
-
7
- ![Stability: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)
8
-
9
- ---
10
- <!--END STABILITY BANNER-->
11
-
12
- | **Reference Documentation**:| <span style="font-weight: normal">https://docs.aws.amazon.com/solutions/latest/constructs/</span>|
13
- |:-------------|:-------------|
14
-
15
- <div style="height:8px"></div>
16
-
17
- | **Language** | **Package** |
18
- |:-------------|-----------------|
19
- |![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`aws_solutions_constructs.aws_lambda_dynamodb`|
20
- |![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) Typescript|`@aws-solutions-constructs/aws-lambda-dynamodb`|
21
- |![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java|`software.amazon.awsconstructs.services.lambdadynamodb`|
22
-
23
- ## Overview
24
-
25
- This AWS Solutions Construct implements the AWS Lambda function and Amazon DynamoDB table with the least privileged permissions.
26
-
27
- Here is a minimal deployable pattern definition:
28
-
29
- Typescript
30
-
31
- ```python
32
- import { Construct } from 'constructs';
33
- import { Stack, StackProps } from 'aws-cdk-lib';
34
- import { LambdaToDynamoDBProps, LambdaToDynamoDB } from '@aws-solutions-constructs/aws-lambda-dynamodb';
35
- import * as lambda from 'aws-cdk-lib/aws-lambda';
36
-
37
- const constructProps: LambdaToDynamoDBProps = {
38
- lambdaFunctionProps: {
39
- code: lambda.Code.fromAsset(`lambda`),
40
- runtime: lambda.Runtime.NODEJS_20_X,
41
- handler: 'index.handler'
42
- },
43
- };
44
-
45
- new LambdaToDynamoDB(this, 'test-lambda-dynamodb-stack', constructProps);
46
- ```
47
-
48
- Python
49
-
50
- ```python
51
- from aws_solutions_constructs.aws_lambda_dynamodb import LambdaToDynamoDBProps, LambdaToDynamoDB
52
- from aws_cdk import (
53
- aws_lambda as _lambda,
54
- Stack
55
- )
56
- from constructs import Construct
57
-
58
- LambdaToDynamoDB(self, 'test_lambda_dynamodb_stack',
59
- lambda_function_props=_lambda.FunctionProps(
60
- code=_lambda.Code.from_asset(
61
- 'lambda'),
62
- runtime=_lambda.Runtime.PYTHON_3_11,
63
- handler='index.handler'
64
- ))
65
- ```
66
-
67
- Java
68
-
69
- ```java
70
- import software.constructs.Construct;
71
-
72
- import software.amazon.awscdk.Stack;
73
- import software.amazon.awscdk.StackProps;
74
- import software.amazon.awscdk.services.lambda.*;
75
- import software.amazon.awscdk.services.lambda.Runtime;
76
- import software.amazon.awsconstructs.services.lambdadynamodb.*;
77
-
78
- new LambdaToDynamoDB(this, "test_lambda_dynamodb_stack", new LambdaToDynamoDBProps.Builder()
79
- .lambdaFunctionProps(new FunctionProps.Builder()
80
- .runtime(Runtime.NODEJS_20_X)
81
- .code(Code.fromAsset("lambda"))
82
- .handler("index.handler")
83
- .build())
84
- .build());
85
- ```
86
-
87
- ## Pattern Construct Props
88
-
89
- | **Name** | **Type** | **Description** |
90
- |:-------------|:----------------|-----------------|
91
- |existingLambdaObj?|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html)|Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.|
92
- |lambdaFunctionProps?|[`lambda.FunctionProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.FunctionProps.html)|User provided props to override the default props for the Lambda function.|
93
- |dynamoTableProps?|[`dynamodb.TableProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_dynamodb.TableProps.html)|Optional user provided props to override the default props for DynamoDB Table|
94
- |existingTableObj?|[`dynamodb.Table`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_dynamodb.Table.html)|Existing instance of DynamoDB table object, providing both this and `dynamoTableProps` will cause an error.|
95
- |tablePermissions?|`string`|Optional table permissions to grant to the Lambda function. One of the following may be specified: `All`, `Read`, `ReadWrite`, `Write`.|
96
- |tableEnvironmentVariableName?|`string`|Optional Name for the Lambda function environment variable set to the name of the DynamoDB table. Default: DDB_TABLE_NAME |
97
- |existingVpc?|[`ec2.IVpc`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.IVpc.html)|An optional, existing VPC into which this pattern should be deployed. When deployed in a VPC, the Lambda function will use ENIs in the VPC to access network resources and a Gateway Endpoint will be created in the VPC for Amazon DynamoDB. If an existing VPC is provided, the `deployVpc` property cannot be `true`. This uses `ec2.IVpc` to allow clients to supply VPCs that exist outside the stack using the [`ec2.Vpc.fromLookup()`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.Vpc.html#static-fromwbrlookupscope-id-options) method.|
98
- |vpcProps?|[`ec2.VpcProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.VpcProps.html)|Optional user-provided properties to override the default properties for the new VPC. `enableDnsHostnames`, `enableDnsSupport`, `natGateways` and `subnetConfiguration` are set by the pattern, so any values for those properties supplied here will be overridden. If `deployVpc` is not `true` then this property will be ignored.|
99
- |deployVpc?|`boolean`|Whether to create a new VPC based on `vpcProps` into which to deploy this pattern. Setting this to true will deploy the minimal, most private VPC to run the pattern:<ul><li> One isolated subnet in each Availability Zone used by the CDK program</li><li>`enableDnsHostnames` and `enableDnsSupport` will both be set to true</li></ul>If this property is `true` then `existingVpc` cannot be specified. Defaults to `false`.|
100
-
101
- ## Pattern Properties
102
-
103
- | **Name** | **Type** | **Description** |
104
- |:-------------|:----------------|-----------------|
105
- |lambdaFunction|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html)|Returns an instance of lambda.Function created by the construct|
106
- |dynamoTable|[`dynamodb.Table`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_dynamodb.Table.html)|Returns an instance of dynamodb.Table created by the construct|
107
- |vpc?|[`ec2.IVpc`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.IVpc.html)|Returns an interface on the VPC used by the pattern (if any). This may be a VPC created by the pattern or the VPC supplied to the pattern constructor.|
108
-
109
- ## Default settings
110
-
111
- Out of the box implementation of the Construct without any override will set the following defaults:
112
-
113
- ### AWS Lambda Function
114
-
115
- * Configure limited privilege access IAM role for Lambda function
116
- * Enable reusing connections with Keep-Alive for NodeJs Lambda function
117
- * Enable X-Ray Tracing
118
- * Set Environment Variables
119
-
120
- * (default) DDB_TABLE_NAME
121
- * AWS_NODEJS_CONNECTION_REUSE_ENABLED (for Node 10.x and higher functions)
122
-
123
- ### Amazon DynamoDB Table
124
-
125
- * Set the billing mode for DynamoDB Table to On-Demand (Pay per request)
126
- * Enable server-side encryption for DynamoDB Table using AWS managed KMS Key
127
- * Creates a partition key called 'id' for DynamoDB Table
128
- * Retain the Table when deleting the CloudFormation stack
129
- * Enable continuous backups and point-in-time recovery
130
-
131
- ## Architecture
132
-
133
- ![Architecture Diagram](architecture.png)
134
-
135
- ---
136
-
137
-
138
- © Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ Documentation for this pattern can be found [here](https://github.com/awslabs/aws-solutions-constructs/blob/main/source/patterns/%40aws-solutions-constructs/aws-lambda-dynamodb/README.adoc)
139
3
  '''
140
4
  from pkgutil import extend_path
141
5
  __path__ = extend_path(__path__, __name__)
@@ -34,9 +34,9 @@ import constructs._jsii
34
34
 
35
35
  __jsii_assembly__ = jsii.JSIIAssembly.load(
36
36
  "@aws-solutions-constructs/aws-lambda-dynamodb",
37
- "2.85.2",
37
+ "2.85.4",
38
38
  __name__[0:-6],
39
- "aws-lambda-dynamodb@2.85.2.jsii.tgz",
39
+ "aws-lambda-dynamodb@2.85.4.jsii.tgz",
40
40
  )
41
41
 
42
42
  __all__ = [
@@ -0,0 +1,28 @@
1
+ Metadata-Version: 2.1
2
+ Name: aws-solutions-constructs.aws-lambda-dynamodb
3
+ Version: 2.85.4
4
+ Summary: CDK Constructs for AWS Lambda to AWS DynamoDB integration.
5
+ Home-page: https://github.com/awslabs/aws-solutions-constructs.git
6
+ Author: Amazon Web Services
7
+ License: Apache-2.0
8
+ Project-URL: Source, https://github.com/awslabs/aws-solutions-constructs.git
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Programming Language :: JavaScript
12
+ Classifier: Programming Language :: Python :: 3 :: Only
13
+ Classifier: Programming Language :: Python :: 3.9
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Typing :: Typed
17
+ Classifier: License :: OSI Approved
18
+ Requires-Python: ~=3.9
19
+ Description-Content-Type: text/markdown
20
+ License-File: LICENSE
21
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.193.0
22
+ Requires-Dist: aws-solutions-constructs.core==2.85.4
23
+ Requires-Dist: constructs<11.0.0,>=10.0.0
24
+ Requires-Dist: jsii<2.0.0,>=1.111.0
25
+ Requires-Dist: publication>=0.0.3
26
+ Requires-Dist: typeguard<4.3.0,>=2.13.3
27
+
28
+ Documentation for this pattern can be found [here](https://github.com/awslabs/aws-solutions-constructs/blob/main/source/patterns/%40aws-solutions-constructs/aws-lambda-dynamodb/README.adoc)
@@ -11,4 +11,4 @@ src/aws_solutions_constructs.aws_lambda_dynamodb.egg-info/top_level.txt
11
11
  src/aws_solutions_constructs/aws_lambda_dynamodb/__init__.py
12
12
  src/aws_solutions_constructs/aws_lambda_dynamodb/py.typed
13
13
  src/aws_solutions_constructs/aws_lambda_dynamodb/_jsii/__init__.py
14
- src/aws_solutions_constructs/aws_lambda_dynamodb/_jsii/aws-lambda-dynamodb@2.85.2.jsii.tgz
14
+ src/aws_solutions_constructs/aws_lambda_dynamodb/_jsii/aws-lambda-dynamodb@2.85.4.jsii.tgz
@@ -1,5 +1,5 @@
1
1
  aws-cdk-lib<3.0.0,>=2.193.0
2
- aws-solutions-constructs.core==2.85.2
2
+ aws-solutions-constructs.core==2.85.4
3
3
  constructs<11.0.0,>=10.0.0
4
4
  jsii<2.0.0,>=1.111.0
5
5
  publication>=0.0.3
@@ -1,164 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: aws-solutions-constructs.aws-lambda-dynamodb
3
- Version: 2.85.2
4
- Summary: CDK Constructs for AWS Lambda to AWS DynamoDB integration.
5
- Home-page: https://github.com/awslabs/aws-solutions-constructs.git
6
- Author: Amazon Web Services
7
- License: Apache-2.0
8
- Project-URL: Source, https://github.com/awslabs/aws-solutions-constructs.git
9
- Classifier: Intended Audience :: Developers
10
- Classifier: Operating System :: OS Independent
11
- Classifier: Programming Language :: JavaScript
12
- Classifier: Programming Language :: Python :: 3 :: Only
13
- Classifier: Programming Language :: Python :: 3.9
14
- Classifier: Programming Language :: Python :: 3.10
15
- Classifier: Programming Language :: Python :: 3.11
16
- Classifier: Typing :: Typed
17
- Classifier: License :: OSI Approved
18
- Requires-Python: ~=3.9
19
- Description-Content-Type: text/markdown
20
- License-File: LICENSE
21
- Requires-Dist: aws-cdk-lib<3.0.0,>=2.193.0
22
- Requires-Dist: aws-solutions-constructs.core==2.85.2
23
- Requires-Dist: constructs<11.0.0,>=10.0.0
24
- Requires-Dist: jsii<2.0.0,>=1.111.0
25
- Requires-Dist: publication>=0.0.3
26
- Requires-Dist: typeguard<4.3.0,>=2.13.3
27
-
28
- # aws-lambda-dynamodb module
29
-
30
- <!--BEGIN STABILITY BANNER-->---
31
-
32
-
33
- ![Stability: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)
34
-
35
- ---
36
- <!--END STABILITY BANNER-->
37
-
38
- | **Reference Documentation**:| <span style="font-weight: normal">https://docs.aws.amazon.com/solutions/latest/constructs/</span>|
39
- |:-------------|:-------------|
40
-
41
- <div style="height:8px"></div>
42
-
43
- | **Language** | **Package** |
44
- |:-------------|-----------------|
45
- |![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`aws_solutions_constructs.aws_lambda_dynamodb`|
46
- |![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) Typescript|`@aws-solutions-constructs/aws-lambda-dynamodb`|
47
- |![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java|`software.amazon.awsconstructs.services.lambdadynamodb`|
48
-
49
- ## Overview
50
-
51
- This AWS Solutions Construct implements the AWS Lambda function and Amazon DynamoDB table with the least privileged permissions.
52
-
53
- Here is a minimal deployable pattern definition:
54
-
55
- Typescript
56
-
57
- ```python
58
- import { Construct } from 'constructs';
59
- import { Stack, StackProps } from 'aws-cdk-lib';
60
- import { LambdaToDynamoDBProps, LambdaToDynamoDB } from '@aws-solutions-constructs/aws-lambda-dynamodb';
61
- import * as lambda from 'aws-cdk-lib/aws-lambda';
62
-
63
- const constructProps: LambdaToDynamoDBProps = {
64
- lambdaFunctionProps: {
65
- code: lambda.Code.fromAsset(`lambda`),
66
- runtime: lambda.Runtime.NODEJS_20_X,
67
- handler: 'index.handler'
68
- },
69
- };
70
-
71
- new LambdaToDynamoDB(this, 'test-lambda-dynamodb-stack', constructProps);
72
- ```
73
-
74
- Python
75
-
76
- ```python
77
- from aws_solutions_constructs.aws_lambda_dynamodb import LambdaToDynamoDBProps, LambdaToDynamoDB
78
- from aws_cdk import (
79
- aws_lambda as _lambda,
80
- Stack
81
- )
82
- from constructs import Construct
83
-
84
- LambdaToDynamoDB(self, 'test_lambda_dynamodb_stack',
85
- lambda_function_props=_lambda.FunctionProps(
86
- code=_lambda.Code.from_asset(
87
- 'lambda'),
88
- runtime=_lambda.Runtime.PYTHON_3_11,
89
- handler='index.handler'
90
- ))
91
- ```
92
-
93
- Java
94
-
95
- ```java
96
- import software.constructs.Construct;
97
-
98
- import software.amazon.awscdk.Stack;
99
- import software.amazon.awscdk.StackProps;
100
- import software.amazon.awscdk.services.lambda.*;
101
- import software.amazon.awscdk.services.lambda.Runtime;
102
- import software.amazon.awsconstructs.services.lambdadynamodb.*;
103
-
104
- new LambdaToDynamoDB(this, "test_lambda_dynamodb_stack", new LambdaToDynamoDBProps.Builder()
105
- .lambdaFunctionProps(new FunctionProps.Builder()
106
- .runtime(Runtime.NODEJS_20_X)
107
- .code(Code.fromAsset("lambda"))
108
- .handler("index.handler")
109
- .build())
110
- .build());
111
- ```
112
-
113
- ## Pattern Construct Props
114
-
115
- | **Name** | **Type** | **Description** |
116
- |:-------------|:----------------|-----------------|
117
- |existingLambdaObj?|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html)|Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.|
118
- |lambdaFunctionProps?|[`lambda.FunctionProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.FunctionProps.html)|User provided props to override the default props for the Lambda function.|
119
- |dynamoTableProps?|[`dynamodb.TableProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_dynamodb.TableProps.html)|Optional user provided props to override the default props for DynamoDB Table|
120
- |existingTableObj?|[`dynamodb.Table`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_dynamodb.Table.html)|Existing instance of DynamoDB table object, providing both this and `dynamoTableProps` will cause an error.|
121
- |tablePermissions?|`string`|Optional table permissions to grant to the Lambda function. One of the following may be specified: `All`, `Read`, `ReadWrite`, `Write`.|
122
- |tableEnvironmentVariableName?|`string`|Optional Name for the Lambda function environment variable set to the name of the DynamoDB table. Default: DDB_TABLE_NAME |
123
- |existingVpc?|[`ec2.IVpc`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.IVpc.html)|An optional, existing VPC into which this pattern should be deployed. When deployed in a VPC, the Lambda function will use ENIs in the VPC to access network resources and a Gateway Endpoint will be created in the VPC for Amazon DynamoDB. If an existing VPC is provided, the `deployVpc` property cannot be `true`. This uses `ec2.IVpc` to allow clients to supply VPCs that exist outside the stack using the [`ec2.Vpc.fromLookup()`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.Vpc.html#static-fromwbrlookupscope-id-options) method.|
124
- |vpcProps?|[`ec2.VpcProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.VpcProps.html)|Optional user-provided properties to override the default properties for the new VPC. `enableDnsHostnames`, `enableDnsSupport`, `natGateways` and `subnetConfiguration` are set by the pattern, so any values for those properties supplied here will be overridden. If `deployVpc` is not `true` then this property will be ignored.|
125
- |deployVpc?|`boolean`|Whether to create a new VPC based on `vpcProps` into which to deploy this pattern. Setting this to true will deploy the minimal, most private VPC to run the pattern:<ul><li> One isolated subnet in each Availability Zone used by the CDK program</li><li>`enableDnsHostnames` and `enableDnsSupport` will both be set to true</li></ul>If this property is `true` then `existingVpc` cannot be specified. Defaults to `false`.|
126
-
127
- ## Pattern Properties
128
-
129
- | **Name** | **Type** | **Description** |
130
- |:-------------|:----------------|-----------------|
131
- |lambdaFunction|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html)|Returns an instance of lambda.Function created by the construct|
132
- |dynamoTable|[`dynamodb.Table`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_dynamodb.Table.html)|Returns an instance of dynamodb.Table created by the construct|
133
- |vpc?|[`ec2.IVpc`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.IVpc.html)|Returns an interface on the VPC used by the pattern (if any). This may be a VPC created by the pattern or the VPC supplied to the pattern constructor.|
134
-
135
- ## Default settings
136
-
137
- Out of the box implementation of the Construct without any override will set the following defaults:
138
-
139
- ### AWS Lambda Function
140
-
141
- * Configure limited privilege access IAM role for Lambda function
142
- * Enable reusing connections with Keep-Alive for NodeJs Lambda function
143
- * Enable X-Ray Tracing
144
- * Set Environment Variables
145
-
146
- * (default) DDB_TABLE_NAME
147
- * AWS_NODEJS_CONNECTION_REUSE_ENABLED (for Node 10.x and higher functions)
148
-
149
- ### Amazon DynamoDB Table
150
-
151
- * Set the billing mode for DynamoDB Table to On-Demand (Pay per request)
152
- * Enable server-side encryption for DynamoDB Table using AWS managed KMS Key
153
- * Creates a partition key called 'id' for DynamoDB Table
154
- * Retain the Table when deleting the CloudFormation stack
155
- * Enable continuous backups and point-in-time recovery
156
-
157
- ## Architecture
158
-
159
- ![Architecture Diagram](architecture.png)
160
-
161
- ---
162
-
163
-
164
- © Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
@@ -1,137 +0,0 @@
1
- # aws-lambda-dynamodb module
2
-
3
- <!--BEGIN STABILITY BANNER-->---
4
-
5
-
6
- ![Stability: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)
7
-
8
- ---
9
- <!--END STABILITY BANNER-->
10
-
11
- | **Reference Documentation**:| <span style="font-weight: normal">https://docs.aws.amazon.com/solutions/latest/constructs/</span>|
12
- |:-------------|:-------------|
13
-
14
- <div style="height:8px"></div>
15
-
16
- | **Language** | **Package** |
17
- |:-------------|-----------------|
18
- |![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`aws_solutions_constructs.aws_lambda_dynamodb`|
19
- |![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) Typescript|`@aws-solutions-constructs/aws-lambda-dynamodb`|
20
- |![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java|`software.amazon.awsconstructs.services.lambdadynamodb`|
21
-
22
- ## Overview
23
-
24
- This AWS Solutions Construct implements the AWS Lambda function and Amazon DynamoDB table with the least privileged permissions.
25
-
26
- Here is a minimal deployable pattern definition:
27
-
28
- Typescript
29
-
30
- ```python
31
- import { Construct } from 'constructs';
32
- import { Stack, StackProps } from 'aws-cdk-lib';
33
- import { LambdaToDynamoDBProps, LambdaToDynamoDB } from '@aws-solutions-constructs/aws-lambda-dynamodb';
34
- import * as lambda from 'aws-cdk-lib/aws-lambda';
35
-
36
- const constructProps: LambdaToDynamoDBProps = {
37
- lambdaFunctionProps: {
38
- code: lambda.Code.fromAsset(`lambda`),
39
- runtime: lambda.Runtime.NODEJS_20_X,
40
- handler: 'index.handler'
41
- },
42
- };
43
-
44
- new LambdaToDynamoDB(this, 'test-lambda-dynamodb-stack', constructProps);
45
- ```
46
-
47
- Python
48
-
49
- ```python
50
- from aws_solutions_constructs.aws_lambda_dynamodb import LambdaToDynamoDBProps, LambdaToDynamoDB
51
- from aws_cdk import (
52
- aws_lambda as _lambda,
53
- Stack
54
- )
55
- from constructs import Construct
56
-
57
- LambdaToDynamoDB(self, 'test_lambda_dynamodb_stack',
58
- lambda_function_props=_lambda.FunctionProps(
59
- code=_lambda.Code.from_asset(
60
- 'lambda'),
61
- runtime=_lambda.Runtime.PYTHON_3_11,
62
- handler='index.handler'
63
- ))
64
- ```
65
-
66
- Java
67
-
68
- ```java
69
- import software.constructs.Construct;
70
-
71
- import software.amazon.awscdk.Stack;
72
- import software.amazon.awscdk.StackProps;
73
- import software.amazon.awscdk.services.lambda.*;
74
- import software.amazon.awscdk.services.lambda.Runtime;
75
- import software.amazon.awsconstructs.services.lambdadynamodb.*;
76
-
77
- new LambdaToDynamoDB(this, "test_lambda_dynamodb_stack", new LambdaToDynamoDBProps.Builder()
78
- .lambdaFunctionProps(new FunctionProps.Builder()
79
- .runtime(Runtime.NODEJS_20_X)
80
- .code(Code.fromAsset("lambda"))
81
- .handler("index.handler")
82
- .build())
83
- .build());
84
- ```
85
-
86
- ## Pattern Construct Props
87
-
88
- | **Name** | **Type** | **Description** |
89
- |:-------------|:----------------|-----------------|
90
- |existingLambdaObj?|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html)|Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.|
91
- |lambdaFunctionProps?|[`lambda.FunctionProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.FunctionProps.html)|User provided props to override the default props for the Lambda function.|
92
- |dynamoTableProps?|[`dynamodb.TableProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_dynamodb.TableProps.html)|Optional user provided props to override the default props for DynamoDB Table|
93
- |existingTableObj?|[`dynamodb.Table`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_dynamodb.Table.html)|Existing instance of DynamoDB table object, providing both this and `dynamoTableProps` will cause an error.|
94
- |tablePermissions?|`string`|Optional table permissions to grant to the Lambda function. One of the following may be specified: `All`, `Read`, `ReadWrite`, `Write`.|
95
- |tableEnvironmentVariableName?|`string`|Optional Name for the Lambda function environment variable set to the name of the DynamoDB table. Default: DDB_TABLE_NAME |
96
- |existingVpc?|[`ec2.IVpc`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.IVpc.html)|An optional, existing VPC into which this pattern should be deployed. When deployed in a VPC, the Lambda function will use ENIs in the VPC to access network resources and a Gateway Endpoint will be created in the VPC for Amazon DynamoDB. If an existing VPC is provided, the `deployVpc` property cannot be `true`. This uses `ec2.IVpc` to allow clients to supply VPCs that exist outside the stack using the [`ec2.Vpc.fromLookup()`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.Vpc.html#static-fromwbrlookupscope-id-options) method.|
97
- |vpcProps?|[`ec2.VpcProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.VpcProps.html)|Optional user-provided properties to override the default properties for the new VPC. `enableDnsHostnames`, `enableDnsSupport`, `natGateways` and `subnetConfiguration` are set by the pattern, so any values for those properties supplied here will be overridden. If `deployVpc` is not `true` then this property will be ignored.|
98
- |deployVpc?|`boolean`|Whether to create a new VPC based on `vpcProps` into which to deploy this pattern. Setting this to true will deploy the minimal, most private VPC to run the pattern:<ul><li> One isolated subnet in each Availability Zone used by the CDK program</li><li>`enableDnsHostnames` and `enableDnsSupport` will both be set to true</li></ul>If this property is `true` then `existingVpc` cannot be specified. Defaults to `false`.|
99
-
100
- ## Pattern Properties
101
-
102
- | **Name** | **Type** | **Description** |
103
- |:-------------|:----------------|-----------------|
104
- |lambdaFunction|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html)|Returns an instance of lambda.Function created by the construct|
105
- |dynamoTable|[`dynamodb.Table`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_dynamodb.Table.html)|Returns an instance of dynamodb.Table created by the construct|
106
- |vpc?|[`ec2.IVpc`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.IVpc.html)|Returns an interface on the VPC used by the pattern (if any). This may be a VPC created by the pattern or the VPC supplied to the pattern constructor.|
107
-
108
- ## Default settings
109
-
110
- Out of the box implementation of the Construct without any override will set the following defaults:
111
-
112
- ### AWS Lambda Function
113
-
114
- * Configure limited privilege access IAM role for Lambda function
115
- * Enable reusing connections with Keep-Alive for NodeJs Lambda function
116
- * Enable X-Ray Tracing
117
- * Set Environment Variables
118
-
119
- * (default) DDB_TABLE_NAME
120
- * AWS_NODEJS_CONNECTION_REUSE_ENABLED (for Node 10.x and higher functions)
121
-
122
- ### Amazon DynamoDB Table
123
-
124
- * Set the billing mode for DynamoDB Table to On-Demand (Pay per request)
125
- * Enable server-side encryption for DynamoDB Table using AWS managed KMS Key
126
- * Creates a partition key called 'id' for DynamoDB Table
127
- * Retain the Table when deleting the CloudFormation stack
128
- * Enable continuous backups and point-in-time recovery
129
-
130
- ## Architecture
131
-
132
- ![Architecture Diagram](architecture.png)
133
-
134
- ---
135
-
136
-
137
- © Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
@@ -1,164 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: aws-solutions-constructs.aws-lambda-dynamodb
3
- Version: 2.85.2
4
- Summary: CDK Constructs for AWS Lambda to AWS DynamoDB integration.
5
- Home-page: https://github.com/awslabs/aws-solutions-constructs.git
6
- Author: Amazon Web Services
7
- License: Apache-2.0
8
- Project-URL: Source, https://github.com/awslabs/aws-solutions-constructs.git
9
- Classifier: Intended Audience :: Developers
10
- Classifier: Operating System :: OS Independent
11
- Classifier: Programming Language :: JavaScript
12
- Classifier: Programming Language :: Python :: 3 :: Only
13
- Classifier: Programming Language :: Python :: 3.9
14
- Classifier: Programming Language :: Python :: 3.10
15
- Classifier: Programming Language :: Python :: 3.11
16
- Classifier: Typing :: Typed
17
- Classifier: License :: OSI Approved
18
- Requires-Python: ~=3.9
19
- Description-Content-Type: text/markdown
20
- License-File: LICENSE
21
- Requires-Dist: aws-cdk-lib<3.0.0,>=2.193.0
22
- Requires-Dist: aws-solutions-constructs.core==2.85.2
23
- Requires-Dist: constructs<11.0.0,>=10.0.0
24
- Requires-Dist: jsii<2.0.0,>=1.111.0
25
- Requires-Dist: publication>=0.0.3
26
- Requires-Dist: typeguard<4.3.0,>=2.13.3
27
-
28
- # aws-lambda-dynamodb module
29
-
30
- <!--BEGIN STABILITY BANNER-->---
31
-
32
-
33
- ![Stability: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)
34
-
35
- ---
36
- <!--END STABILITY BANNER-->
37
-
38
- | **Reference Documentation**:| <span style="font-weight: normal">https://docs.aws.amazon.com/solutions/latest/constructs/</span>|
39
- |:-------------|:-------------|
40
-
41
- <div style="height:8px"></div>
42
-
43
- | **Language** | **Package** |
44
- |:-------------|-----------------|
45
- |![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`aws_solutions_constructs.aws_lambda_dynamodb`|
46
- |![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) Typescript|`@aws-solutions-constructs/aws-lambda-dynamodb`|
47
- |![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java|`software.amazon.awsconstructs.services.lambdadynamodb`|
48
-
49
- ## Overview
50
-
51
- This AWS Solutions Construct implements the AWS Lambda function and Amazon DynamoDB table with the least privileged permissions.
52
-
53
- Here is a minimal deployable pattern definition:
54
-
55
- Typescript
56
-
57
- ```python
58
- import { Construct } from 'constructs';
59
- import { Stack, StackProps } from 'aws-cdk-lib';
60
- import { LambdaToDynamoDBProps, LambdaToDynamoDB } from '@aws-solutions-constructs/aws-lambda-dynamodb';
61
- import * as lambda from 'aws-cdk-lib/aws-lambda';
62
-
63
- const constructProps: LambdaToDynamoDBProps = {
64
- lambdaFunctionProps: {
65
- code: lambda.Code.fromAsset(`lambda`),
66
- runtime: lambda.Runtime.NODEJS_20_X,
67
- handler: 'index.handler'
68
- },
69
- };
70
-
71
- new LambdaToDynamoDB(this, 'test-lambda-dynamodb-stack', constructProps);
72
- ```
73
-
74
- Python
75
-
76
- ```python
77
- from aws_solutions_constructs.aws_lambda_dynamodb import LambdaToDynamoDBProps, LambdaToDynamoDB
78
- from aws_cdk import (
79
- aws_lambda as _lambda,
80
- Stack
81
- )
82
- from constructs import Construct
83
-
84
- LambdaToDynamoDB(self, 'test_lambda_dynamodb_stack',
85
- lambda_function_props=_lambda.FunctionProps(
86
- code=_lambda.Code.from_asset(
87
- 'lambda'),
88
- runtime=_lambda.Runtime.PYTHON_3_11,
89
- handler='index.handler'
90
- ))
91
- ```
92
-
93
- Java
94
-
95
- ```java
96
- import software.constructs.Construct;
97
-
98
- import software.amazon.awscdk.Stack;
99
- import software.amazon.awscdk.StackProps;
100
- import software.amazon.awscdk.services.lambda.*;
101
- import software.amazon.awscdk.services.lambda.Runtime;
102
- import software.amazon.awsconstructs.services.lambdadynamodb.*;
103
-
104
- new LambdaToDynamoDB(this, "test_lambda_dynamodb_stack", new LambdaToDynamoDBProps.Builder()
105
- .lambdaFunctionProps(new FunctionProps.Builder()
106
- .runtime(Runtime.NODEJS_20_X)
107
- .code(Code.fromAsset("lambda"))
108
- .handler("index.handler")
109
- .build())
110
- .build());
111
- ```
112
-
113
- ## Pattern Construct Props
114
-
115
- | **Name** | **Type** | **Description** |
116
- |:-------------|:----------------|-----------------|
117
- |existingLambdaObj?|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html)|Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.|
118
- |lambdaFunctionProps?|[`lambda.FunctionProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.FunctionProps.html)|User provided props to override the default props for the Lambda function.|
119
- |dynamoTableProps?|[`dynamodb.TableProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_dynamodb.TableProps.html)|Optional user provided props to override the default props for DynamoDB Table|
120
- |existingTableObj?|[`dynamodb.Table`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_dynamodb.Table.html)|Existing instance of DynamoDB table object, providing both this and `dynamoTableProps` will cause an error.|
121
- |tablePermissions?|`string`|Optional table permissions to grant to the Lambda function. One of the following may be specified: `All`, `Read`, `ReadWrite`, `Write`.|
122
- |tableEnvironmentVariableName?|`string`|Optional Name for the Lambda function environment variable set to the name of the DynamoDB table. Default: DDB_TABLE_NAME |
123
- |existingVpc?|[`ec2.IVpc`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.IVpc.html)|An optional, existing VPC into which this pattern should be deployed. When deployed in a VPC, the Lambda function will use ENIs in the VPC to access network resources and a Gateway Endpoint will be created in the VPC for Amazon DynamoDB. If an existing VPC is provided, the `deployVpc` property cannot be `true`. This uses `ec2.IVpc` to allow clients to supply VPCs that exist outside the stack using the [`ec2.Vpc.fromLookup()`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.Vpc.html#static-fromwbrlookupscope-id-options) method.|
124
- |vpcProps?|[`ec2.VpcProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.VpcProps.html)|Optional user-provided properties to override the default properties for the new VPC. `enableDnsHostnames`, `enableDnsSupport`, `natGateways` and `subnetConfiguration` are set by the pattern, so any values for those properties supplied here will be overridden. If `deployVpc` is not `true` then this property will be ignored.|
125
- |deployVpc?|`boolean`|Whether to create a new VPC based on `vpcProps` into which to deploy this pattern. Setting this to true will deploy the minimal, most private VPC to run the pattern:<ul><li> One isolated subnet in each Availability Zone used by the CDK program</li><li>`enableDnsHostnames` and `enableDnsSupport` will both be set to true</li></ul>If this property is `true` then `existingVpc` cannot be specified. Defaults to `false`.|
126
-
127
- ## Pattern Properties
128
-
129
- | **Name** | **Type** | **Description** |
130
- |:-------------|:----------------|-----------------|
131
- |lambdaFunction|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html)|Returns an instance of lambda.Function created by the construct|
132
- |dynamoTable|[`dynamodb.Table`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_dynamodb.Table.html)|Returns an instance of dynamodb.Table created by the construct|
133
- |vpc?|[`ec2.IVpc`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.IVpc.html)|Returns an interface on the VPC used by the pattern (if any). This may be a VPC created by the pattern or the VPC supplied to the pattern constructor.|
134
-
135
- ## Default settings
136
-
137
- Out of the box implementation of the Construct without any override will set the following defaults:
138
-
139
- ### AWS Lambda Function
140
-
141
- * Configure limited privilege access IAM role for Lambda function
142
- * Enable reusing connections with Keep-Alive for NodeJs Lambda function
143
- * Enable X-Ray Tracing
144
- * Set Environment Variables
145
-
146
- * (default) DDB_TABLE_NAME
147
- * AWS_NODEJS_CONNECTION_REUSE_ENABLED (for Node 10.x and higher functions)
148
-
149
- ### Amazon DynamoDB Table
150
-
151
- * Set the billing mode for DynamoDB Table to On-Demand (Pay per request)
152
- * Enable server-side encryption for DynamoDB Table using AWS managed KMS Key
153
- * Creates a partition key called 'id' for DynamoDB Table
154
- * Retain the Table when deleting the CloudFormation stack
155
- * Enable continuous backups and point-in-time recovery
156
-
157
- ## Architecture
158
-
159
- ![Architecture Diagram](architecture.png)
160
-
161
- ---
162
-
163
-
164
- © Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.