@aws-solutions-constructs/aws-lambda-sns 2.25.0 → 2.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.jsii CHANGED
@@ -8,8 +8,8 @@
8
8
  "url": "https://aws.amazon.com"
9
9
  },
10
10
  "dependencies": {
11
- "@aws-solutions-constructs/core": "2.25.0",
12
- "aws-cdk-lib": "^2.37.1",
11
+ "@aws-solutions-constructs/core": "2.26.0",
12
+ "aws-cdk-lib": "^2.45.0",
13
13
  "constructs": "^10.0.0"
14
14
  },
15
15
  "dependencyClosure": {
@@ -755,6 +755,32 @@
755
755
  }
756
756
  }
757
757
  },
758
+ "aws-cdk-lib.aws_connectcampaigns": {
759
+ "targets": {
760
+ "dotnet": {
761
+ "namespace": "Amazon.CDK.AWS.ConnectCampaigns"
762
+ },
763
+ "java": {
764
+ "package": "software.amazon.awscdk.services.connectcampaigns"
765
+ },
766
+ "python": {
767
+ "module": "aws_cdk.aws_connectcampaigns"
768
+ }
769
+ }
770
+ },
771
+ "aws-cdk-lib.aws_controltower": {
772
+ "targets": {
773
+ "dotnet": {
774
+ "namespace": "Amazon.CDK.AWS.ControlTower"
775
+ },
776
+ "java": {
777
+ "package": "software.amazon.awscdk.services.controltower"
778
+ },
779
+ "python": {
780
+ "module": "aws_cdk.aws_controltower"
781
+ }
782
+ }
783
+ },
758
784
  "aws-cdk-lib.aws_cur": {
759
785
  "targets": {
760
786
  "dotnet": {
@@ -1522,6 +1548,19 @@
1522
1548
  }
1523
1549
  }
1524
1550
  },
1551
+ "aws-cdk-lib.aws_iotfleetwise": {
1552
+ "targets": {
1553
+ "dotnet": {
1554
+ "namespace": "Amazon.CDK.AWS.IoTFleetWise"
1555
+ },
1556
+ "java": {
1557
+ "package": "software.amazon.awscdk.services.iotfleetwise"
1558
+ },
1559
+ "python": {
1560
+ "module": "aws_cdk.aws_iotfleetwise"
1561
+ }
1562
+ }
1563
+ },
1525
1564
  "aws-cdk-lib.aws_iotsitewise": {
1526
1565
  "targets": {
1527
1566
  "dotnet": {
@@ -1873,6 +1912,19 @@
1873
1912
  }
1874
1913
  }
1875
1914
  },
1915
+ "aws-cdk-lib.aws_m2": {
1916
+ "targets": {
1917
+ "dotnet": {
1918
+ "namespace": "Amazon.CDK.AWS.M2"
1919
+ },
1920
+ "java": {
1921
+ "package": "software.amazon.awscdk.services.m2"
1922
+ },
1923
+ "python": {
1924
+ "module": "aws_cdk.aws_m2"
1925
+ }
1926
+ }
1927
+ },
1876
1928
  "aws-cdk-lib.aws_macie": {
1877
1929
  "targets": {
1878
1930
  "dotnet": {
@@ -2302,6 +2354,19 @@
2302
2354
  }
2303
2355
  }
2304
2356
  },
2357
+ "aws-cdk-lib.aws_rolesanywhere": {
2358
+ "targets": {
2359
+ "dotnet": {
2360
+ "namespace": "Amazon.CDK.AWS.RolesAnywhere"
2361
+ },
2362
+ "java": {
2363
+ "package": "software.amazon.awscdk.services.rolesanywhere"
2364
+ },
2365
+ "python": {
2366
+ "module": "aws_cdk.aws_rolesanywhere"
2367
+ }
2368
+ }
2369
+ },
2305
2370
  "aws-cdk-lib.aws_route53": {
2306
2371
  "targets": {
2307
2372
  "dotnet": {
@@ -2731,6 +2796,19 @@
2731
2796
  }
2732
2797
  }
2733
2798
  },
2799
+ "aws-cdk-lib.aws_supportapp": {
2800
+ "targets": {
2801
+ "dotnet": {
2802
+ "namespace": "Amazon.CDK.AWS.SupportApp"
2803
+ },
2804
+ "java": {
2805
+ "package": "software.amazon.awscdk.services.supportapp"
2806
+ },
2807
+ "python": {
2808
+ "module": "aws_cdk.aws_supportapp"
2809
+ }
2810
+ }
2811
+ },
2734
2812
  "aws-cdk-lib.aws_synthetics": {
2735
2813
  "targets": {
2736
2814
  "dotnet": {
@@ -3046,7 +3124,7 @@
3046
3124
  },
3047
3125
  "description": "CDK constructs for defining an interaction between an AWS Lambda function and an Amazon SNS topic.",
3048
3126
  "homepage": "https://github.com/awslabs/aws-solutions-constructs.git",
3049
- "jsiiVersion": "1.67.0 (build 2c027f5)",
3127
+ "jsiiVersion": "1.69.0 (build f656c31)",
3050
3128
  "keywords": [
3051
3129
  "aws",
3052
3130
  "cdk",
@@ -3065,7 +3143,7 @@
3065
3143
  },
3066
3144
  "name": "@aws-solutions-constructs/aws-lambda-sns",
3067
3145
  "readme": {
3068
- "markdown": "# aws-lambda-sns module\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![Stability: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)\n\n---\n<!--END STABILITY BANNER-->\n\n| **Reference Documentation**:| <span style=\"font-weight: normal\">https://docs.aws.amazon.com/solutions/latest/constructs/</span>|\n|:-------------|:-------------|\n<div style=\"height:8px\"></div>\n\n| **Language** | **Package** |\n|:-------------|-----------------|\n|![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`aws_solutions_constructs.aws_lambda_sns`|\n|![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) Typescript|`@aws-solutions-constructs/aws-lambda-sns`|\n|![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java|`software.amazon.awsconstructs.services.lambdasns`|\n\n## Overview\nThis AWS Solutions Construct implements an AWS Lambda function connected to an Amazon SNS topic.\n\nHere is a minimal deployable pattern definition:\n\nTypescript\n``` typescript\nimport { Construct } from 'constructs';\nimport { Stack, StackProps } from 'aws-cdk-lib';\nimport { LambdaToSns, LambdaToSnsProps } from \"@aws-solutions-constructs/aws-lambda-sns\";\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\n\nnew LambdaToSns(this, 'test-lambda-sns', {\n lambdaFunctionProps: {\n runtime: lambda.Runtime.NODEJS_14_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(`lambda`)\n }\n});\n```\n\nPython\n``` python\nfrom aws_solutions_constructs.aws_lambda_sns import LambdaToSns\nfrom aws_cdk import (\n aws_lambda as _lambda,\n Stack\n)\nfrom constructs import Construct\n\nLambdaToSns(\n self, 'test-lambda-sns-stack',\n lambda_function_props=_lambda.FunctionProps(\n code=_lambda.Code.from_asset('lambda'),\n runtime=_lambda.Runtime.PYTHON_3_9,\n handler='index.handler'\n )\n)\n```\n\nJava\n``` java\nimport software.constructs.Construct;\n\nimport software.amazon.awscdk.Stack;\nimport software.amazon.awscdk.StackProps;\nimport software.amazon.awscdk.services.lambda.*;\nimport software.amazon.awscdk.services.lambda.Runtime;\nimport software.amazon.awsconstructs.services.lambdasns.*;\n\nnew LambdaToSns(this, \"test-lambda-sns-stack\", new LambdaToSnsProps.Builder()\n .lambdaFunctionProps(new FunctionProps.Builder()\n .runtime(Runtime.NODEJS_14_X)\n .code(Code.fromAsset(\"lambda\"))\n .handler(\"index.handler\")\n .build())\n .build());\n```\n\n## Pattern Construct Props\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n|existingLambdaObj?|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.Function.html)|Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.|\n|lambdaFunctionProps?|[`lambda.FunctionProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.FunctionProps.html)|User provided props to override the default props for the Lambda function.|\n|existingTopicObj?|[`sns.Topic`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.Function.html)|Existing instance of SNS Topic object, providing both this and `topicProps` will cause an error.|\n|topicProps?|[`sns.TopicProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-sns.TopicProps.html)|Optional user provided properties to override the default properties for the SNS topic.|\n|existingVpc?|[`ec2.IVpc`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_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 an Interface Endpoint will be created in the VPC for Amazon SQS. 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/latest/docs/@aws-cdk_aws-ec2.Vpc.html#static-fromwbrlookupscope-id-options) method.|\n|vpcProps?|[`ec2.VpcProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_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 overrriden. If `deployVpc` is not `true` then this property will be ignored.|\n|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`.|\n|topicArnEnvironmentVariableName?|`string`|Optional Name for the Lambda function environment variable set to the arn of the topic. Default: SNS_TOPIC_ARN |\n|topicNameEnvironmentVariableName?|`string`|Optional Name for the Lambda function environment variable set to the name of the topic. Default: SNS_TOPIC_NAME |\n\n## Pattern Properties\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n|lambdaFunction|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.Function.html)|Returns an instance of the Lambda function created by the pattern.|\n|snsTopic|[`sns.Topic`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-sns.Topic.html)|Returns an instance of the SNS topic created by the pattern.|\n|vpc?|[`ec2.IVpc`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_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.|\n\n## Default settings\n\nOut of the box implementation of the Construct without any override will set the following defaults:\n\n### AWS Lambda Function\n* Configure limited privilege access IAM role for Lambda function\n* Enable reusing connections with Keep-Alive for NodeJs Lambda function\n* Enable X-Ray Tracing\n* Set Environment Variables\n * (default) SNS_TOPIC_NAME\n * (default) SNS_TOPIC_ARN\n * AWS_NODEJS_CONNECTION_REUSE_ENABLED (for Node 10.x and higher functions)\n\n### Amazon SNS Topic\n* Configure least privilege access permissions for SNS Topic\n* Enable server-side encryption forSNS Topic using AWS managed KMS Key\n* Enforce encryption of data in transit\n\n## Architecture\n![Architecture Diagram](architecture.png)\n\n***\n&copy; Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n"
3146
+ "markdown": "# aws-lambda-sns module\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![Stability: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)\n\n---\n<!--END STABILITY BANNER-->\n\n| **Reference Documentation**:| <span style=\"font-weight: normal\">https://docs.aws.amazon.com/solutions/latest/constructs/</span>|\n|:-------------|:-------------|\n<div style=\"height:8px\"></div>\n\n| **Language** | **Package** |\n|:-------------|-----------------|\n|![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`aws_solutions_constructs.aws_lambda_sns`|\n|![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) Typescript|`@aws-solutions-constructs/aws-lambda-sns`|\n|![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java|`software.amazon.awsconstructs.services.lambdasns`|\n\n## Overview\nThis AWS Solutions Construct implements an AWS Lambda function connected to an Amazon SNS topic.\n\nHere is a minimal deployable pattern definition:\n\nTypescript\n``` typescript\nimport { Construct } from 'constructs';\nimport { Stack, StackProps } from 'aws-cdk-lib';\nimport { LambdaToSns, LambdaToSnsProps } from \"@aws-solutions-constructs/aws-lambda-sns\";\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\n\nnew LambdaToSns(this, 'test-lambda-sns', {\n lambdaFunctionProps: {\n runtime: lambda.Runtime.NODEJS_14_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(`lambda`)\n }\n});\n```\n\nPython\n``` python\nfrom aws_solutions_constructs.aws_lambda_sns import LambdaToSns\nfrom aws_cdk import (\n aws_lambda as _lambda,\n Stack\n)\nfrom constructs import Construct\n\nLambdaToSns(\n self, 'test-lambda-sns-stack',\n lambda_function_props=_lambda.FunctionProps(\n code=_lambda.Code.from_asset('lambda'),\n runtime=_lambda.Runtime.PYTHON_3_9,\n handler='index.handler'\n )\n)\n```\n\nJava\n``` java\nimport software.constructs.Construct;\n\nimport software.amazon.awscdk.Stack;\nimport software.amazon.awscdk.StackProps;\nimport software.amazon.awscdk.services.lambda.*;\nimport software.amazon.awscdk.services.lambda.Runtime;\nimport software.amazon.awsconstructs.services.lambdasns.*;\n\nnew LambdaToSns(this, \"test-lambda-sns-stack\", new LambdaToSnsProps.Builder()\n .lambdaFunctionProps(new FunctionProps.Builder()\n .runtime(Runtime.NODEJS_14_X)\n .code(Code.fromAsset(\"lambda\"))\n .handler(\"index.handler\")\n .build())\n .build());\n```\n\n## Pattern Construct Props\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n|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.|\n|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.|\n|existingTopicObj?|[`sns.Topic`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html)|Existing instance of SNS Topic object, providing both this and `topicProps` will cause an error.|\n|topicProps?|[`sns.TopicProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sns.TopicProps.html)|Optional user provided properties to override the default properties for the SNS topic.|\n|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 an Interface Endpoint will be created in the VPC for Amazon SQS. 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.|\n|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 overrriden. If `deployVpc` is not `true` then this property will be ignored.|\n|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`.|\n|topicArnEnvironmentVariableName?|`string`|Optional Name for the Lambda function environment variable set to the arn of the topic. Default: SNS_TOPIC_ARN |\n|topicNameEnvironmentVariableName?|`string`|Optional Name for the Lambda function environment variable set to the name of the topic. Default: SNS_TOPIC_NAME |\n\n## Pattern Properties\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n|lambdaFunction|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html)|Returns an instance of the Lambda function created by the pattern.|\n|snsTopic|[`sns.Topic`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sns.Topic.html)|Returns an instance of the SNS topic created by the pattern.|\n|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.|\n\n## Default settings\n\nOut of the box implementation of the Construct without any override will set the following defaults:\n\n### AWS Lambda Function\n* Configure limited privilege access IAM role for Lambda function\n* Enable reusing connections with Keep-Alive for NodeJs Lambda function\n* Enable X-Ray Tracing\n* Set Environment Variables\n * (default) SNS_TOPIC_NAME\n * (default) SNS_TOPIC_ARN\n * AWS_NODEJS_CONNECTION_REUSE_ENABLED (for Node 10.x and higher functions)\n\n### Amazon SNS Topic\n* Configure least privilege access permissions for SNS Topic\n* Enable server-side encryption forSNS Topic using AWS managed KMS Key\n* Enforce encryption of data in transit\n\n## Architecture\n![Architecture Diagram](architecture.png)\n\n***\n&copy; Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n"
3069
3147
  },
3070
3148
  "repository": {
3071
3149
  "directory": "source/patterns/@aws-solutions-constructs/aws-lambda-sns",
@@ -3362,6 +3440,6 @@
3362
3440
  "symbolId": "lib/index:LambdaToSnsProps"
3363
3441
  }
3364
3442
  },
3365
- "version": "2.25.0",
3366
- "fingerprint": "sOlfkBSjiovvQnWIAbHdQWOPL/tsV4NxWnqeyM5XWPI="
3443
+ "version": "2.26.0",
3444
+ "fingerprint": "c29oTN5aMyYuub0WPnOm3Hr0hclRbe5mXj7C1a+ETZg="
3367
3445
  }
package/README.md CHANGED
@@ -81,12 +81,12 @@ new LambdaToSns(this, "test-lambda-sns-stack", new LambdaToSnsProps.Builder()
81
81
 
82
82
  | **Name** | **Type** | **Description** |
83
83
  |:-------------|:----------------|-----------------|
84
- |existingLambdaObj?|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.Function.html)|Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.|
85
- |lambdaFunctionProps?|[`lambda.FunctionProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.FunctionProps.html)|User provided props to override the default props for the Lambda function.|
86
- |existingTopicObj?|[`sns.Topic`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.Function.html)|Existing instance of SNS Topic object, providing both this and `topicProps` will cause an error.|
87
- |topicProps?|[`sns.TopicProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-sns.TopicProps.html)|Optional user provided properties to override the default properties for the SNS topic.|
88
- |existingVpc?|[`ec2.IVpc`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_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 an Interface Endpoint will be created in the VPC for Amazon SQS. 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/latest/docs/@aws-cdk_aws-ec2.Vpc.html#static-fromwbrlookupscope-id-options) method.|
89
- |vpcProps?|[`ec2.VpcProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_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 overrriden. If `deployVpc` is not `true` then this property will be ignored.|
84
+ |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.|
85
+ |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.|
86
+ |existingTopicObj?|[`sns.Topic`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html)|Existing instance of SNS Topic object, providing both this and `topicProps` will cause an error.|
87
+ |topicProps?|[`sns.TopicProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sns.TopicProps.html)|Optional user provided properties to override the default properties for the SNS topic.|
88
+ |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 an Interface Endpoint will be created in the VPC for Amazon SQS. 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.|
89
+ |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 overrriden. If `deployVpc` is not `true` then this property will be ignored.|
90
90
  |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`.|
91
91
  |topicArnEnvironmentVariableName?|`string`|Optional Name for the Lambda function environment variable set to the arn of the topic. Default: SNS_TOPIC_ARN |
92
92
  |topicNameEnvironmentVariableName?|`string`|Optional Name for the Lambda function environment variable set to the name of the topic. Default: SNS_TOPIC_NAME |
@@ -95,9 +95,9 @@ new LambdaToSns(this, "test-lambda-sns-stack", new LambdaToSnsProps.Builder()
95
95
 
96
96
  | **Name** | **Type** | **Description** |
97
97
  |:-------------|:----------------|-----------------|
98
- |lambdaFunction|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.Function.html)|Returns an instance of the Lambda function created by the pattern.|
99
- |snsTopic|[`sns.Topic`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-sns.Topic.html)|Returns an instance of the SNS topic created by the pattern.|
100
- |vpc?|[`ec2.IVpc`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_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.|
98
+ |lambdaFunction|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html)|Returns an instance of the Lambda function created by the pattern.|
99
+ |snsTopic|[`sns.Topic`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sns.Topic.html)|Returns an instance of the SNS topic created by the pattern.|
100
+ |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.|
101
101
 
102
102
  ## Default settings
103
103
 
package/lib/index.js CHANGED
@@ -58,5 +58,5 @@ class LambdaToSns extends constructs_1.Construct {
58
58
  }
59
59
  exports.LambdaToSns = LambdaToSns;
60
60
  _a = JSII_RTTI_SYMBOL_1;
61
- LambdaToSns[_a] = { fqn: "@aws-solutions-constructs/aws-lambda-sns.LambdaToSns", version: "2.25.0" };
61
+ LambdaToSns[_a] = { fqn: "@aws-solutions-constructs/aws-lambda-sns.LambdaToSns", version: "2.26.0" };
62
62
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lc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dGhpcy5zbnNUb3BpYy5ncmFudFB1Ymxpc2godGhpcy5sYW1iZGFGdW5jdGlvbi5ncmFudFByaW5jaXBhbCk7XG4gICAgfVxufSJdfQ==
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-solutions-constructs/aws-lambda-sns",
3
- "version": "2.25.0",
3
+ "version": "2.26.0",
4
4
  "description": "CDK constructs for defining an interaction between an AWS Lambda function and an Amazon SNS topic.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -53,13 +53,13 @@
53
53
  }
54
54
  },
55
55
  "dependencies": {
56
- "@aws-solutions-constructs/core": "2.25.0"
56
+ "@aws-solutions-constructs/core": "2.26.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-cdk/assert": "2.37.1",
59
+ "@aws-cdk/assert": "2.45.0",
60
60
  "@types/jest": "^27.4.0",
61
61
  "@types/node": "^10.3.0",
62
- "aws-cdk-lib": "2.37.1",
62
+ "aws-cdk-lib": "2.45.0",
63
63
  "constructs": "^10.0.0"
64
64
  },
65
65
  "jest": {
@@ -77,8 +77,8 @@
77
77
  ]
78
78
  },
79
79
  "peerDependencies": {
80
- "@aws-solutions-constructs/core": "2.25.0",
81
- "aws-cdk-lib": "^2.37.1",
80
+ "@aws-solutions-constructs/core": "2.26.0",
81
+ "aws-cdk-lib": "^2.45.0",
82
82
  "constructs": "^10.0.0"
83
83
  },
84
84
  "keywords": [
@@ -196,7 +196,10 @@
196
196
  },
197
197
  "DependsOn": [
198
198
  "testlambdasnsLambdaFunctionServiceRoleDefaultPolicyBB1D55CB",
199
- "testlambdasnsLambdaFunctionServiceRole9C412F74"
199
+ "testlambdasnsLambdaFunctionServiceRole9C412F74",
200
+ "VpcisolatedSubnet1RouteTableAssociationD259E31A",
201
+ "VpcisolatedSubnet2RouteTableAssociation25A4716F",
202
+ "VpcisolatedSubnet3RouteTableAssociationDC010BEB"
200
203
  ],
201
204
  "Metadata": {
202
205
  "cfn_nag": {
@@ -344,11 +347,11 @@
344
347
  "VpcisolatedSubnet1SubnetE62B1B9B": {
345
348
  "Type": "AWS::EC2::Subnet",
346
349
  "Properties": {
347
- "CidrBlock": "10.0.0.0/18",
348
350
  "VpcId": {
349
351
  "Ref": "Vpc8378EB38"
350
352
  },
351
353
  "AvailabilityZone": "test-region-1a",
354
+ "CidrBlock": "10.0.0.0/18",
352
355
  "MapPublicIpOnLaunch": false,
353
356
  "Tags": [
354
357
  {
@@ -394,11 +397,11 @@
394
397
  "VpcisolatedSubnet2Subnet39217055": {
395
398
  "Type": "AWS::EC2::Subnet",
396
399
  "Properties": {
397
- "CidrBlock": "10.0.64.0/18",
398
400
  "VpcId": {
399
401
  "Ref": "Vpc8378EB38"
400
402
  },
401
403
  "AvailabilityZone": "test-region-1b",
404
+ "CidrBlock": "10.0.64.0/18",
402
405
  "MapPublicIpOnLaunch": false,
403
406
  "Tags": [
404
407
  {
@@ -444,11 +447,11 @@
444
447
  "VpcisolatedSubnet3Subnet44F2537D": {
445
448
  "Type": "AWS::EC2::Subnet",
446
449
  "Properties": {
447
- "CidrBlock": "10.0.128.0/18",
448
450
  "VpcId": {
449
451
  "Ref": "Vpc8378EB38"
450
452
  },
451
453
  "AvailabilityZone": "test-region-1c",
454
+ "CidrBlock": "10.0.128.0/18",
452
455
  "MapPublicIpOnLaunch": false,
453
456
  "Tags": [
454
457
  {