Skip to content

Commit

Permalink
Merge branch 'main' into TheRealAmazonKendra/redshift-test-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Aug 12, 2022
2 parents 4efcf20 + 6cb85a3 commit a21b46b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions packages/@aws-cdk/aws-lambda/lib/function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export interface FunctionOptions extends EventInvokeConfigOptions {
* VPC network to place Lambda network interfaces
*
* Specify this if the Lambda function needs to access resources in a VPC.
* This is required when `vpcSubnets` is specified.
*
* @default - Function is not placed within a VPC.
*/
Expand All @@ -141,8 +142,11 @@ export interface FunctionOptions extends EventInvokeConfigOptions {
/**
* Where to place the network interfaces within the VPC.
*
* Only used if 'vpc' is supplied. Note: internet access for Lambdas
* requires a NAT gateway, so picking Public subnets is not allowed.
* This requires `vpc` to be specified in order for interfaces to actually be
* placed in the subnets. If `vpc` is not specify, this will raise an error.
*
* Note: Internet access for Lambda Functions requires a NAT Gateway, so picking
* public subnets is not allowed (unless `allowPublicSubnet` is set to `true`).
*
* @default - the Vpc default strategy if not specified
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-logs-destinations/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CDK Construct Libray for AWS XXX
# AWS CloudWatch Logs Subscription Destination Library
<!--BEGIN STABILITY BANNER-->

---
Expand Down

0 comments on commit a21b46b

Please sign in to comment.