cdk-lambda-fleet
Advanced tools
Comparing version 1.1.0 to 1.2.0
{ | ||
"name": "cdk-lambda-fleet", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Deploy multiple AWS Lambda functions as docker images using AWS Cloud Development Kit", | ||
@@ -24,2 +24,3 @@ "main": "aws/constructs/LambdaFleet.js", | ||
"devDependencies": { | ||
"@aws-cdk/core": "1.76.0", | ||
"@aws-cdk/assert": "1.76.0", | ||
@@ -37,9 +38,3 @@ "@aws-cdk/aws-ecr": "^1.76.0", | ||
"typescript": "~3.9.7" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/aws-sns": "1.76.0", | ||
"@aws-cdk/aws-sns-subscriptions": "1.76.0", | ||
"@aws-cdk/aws-sqs": "1.76.0", | ||
"@aws-cdk/core": "1.76.0" | ||
} | ||
} |
@@ -11,3 +11,3 @@ # AWS CDK: Lambda Fleet | ||
Create a folder like `src/lambda-node-example` and store a `Dockerfile` there: | ||
You can fork this repository and create a folder like `src/lambda-node-example` and store a `Dockerfile` there: | ||
@@ -32,2 +32,23 @@ ```Dockerfile | ||
## CDK Construct | ||
When using the AWS CDK in TypeScript, you can use the published `LambdaFleet` construct: | ||
```typescript | ||
import * as path from "path"; | ||
import * as cdk from "@aws-cdk/core"; | ||
import { LambdaFleet } from "cdk-lambda-fleet"; | ||
export class FleetStack extends cdk.Stack { | ||
constructor(scope: cdk.App, id: string, props?: cdk.StackProps) { | ||
super(scope, id, props); | ||
new LambdaFleet(this, "Fleet", { | ||
path: path.resolve(__dirname, "../../src"), | ||
}); | ||
} | ||
} | ||
``` | ||
## Examples | ||
@@ -34,0 +55,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
0
73
4737
13
12
- Removed@aws-cdk/aws-sns@1.76.0
- Removed@aws-cdk/aws-sqs@1.76.0
- Removed@aws-cdk/core@1.76.0
- Removed@aws-cdk/assets@1.76.0(transitive)
- Removed@aws-cdk/aws-applicationautoscaling@1.76.0(transitive)
- Removed@aws-cdk/aws-autoscaling-common@1.76.0(transitive)
- Removed@aws-cdk/aws-cloudwatch@1.76.0(transitive)
- Removed@aws-cdk/aws-codeguruprofiler@1.76.0(transitive)
- Removed@aws-cdk/aws-ec2@1.76.0(transitive)
- Removed@aws-cdk/aws-ecr@1.76.0(transitive)
- Removed@aws-cdk/aws-ecr-assets@1.76.0(transitive)
- Removed@aws-cdk/aws-efs@1.76.0(transitive)
- Removed@aws-cdk/aws-events@1.76.0(transitive)
- Removed@aws-cdk/aws-iam@1.76.0(transitive)
- Removed@aws-cdk/aws-kms@1.76.0(transitive)
- Removed@aws-cdk/aws-lambda@1.76.0(transitive)
- Removed@aws-cdk/aws-logs@1.76.0(transitive)
- Removed@aws-cdk/aws-s3@1.76.0(transitive)
- Removed@aws-cdk/aws-s3-assets@1.76.0(transitive)
- Removed@aws-cdk/aws-sns@1.76.0(transitive)
- Removed@aws-cdk/aws-sns-subscriptions@1.76.0(transitive)
- Removed@aws-cdk/aws-sqs@1.76.0(transitive)
- Removed@aws-cdk/aws-ssm@1.76.0(transitive)
- Removed@aws-cdk/cloud-assembly-schema@1.76.0(transitive)
- Removed@aws-cdk/core@1.76.0(transitive)
- Removed@aws-cdk/cx-api@1.76.0(transitive)
- Removed@aws-cdk/region-info@1.76.0(transitive)
- Removedconstructs@3.4.344(transitive)