Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-cdk/aws-elasticloadbalancingv2

Package Overview
Dependencies
Maintainers
5
Versions
288
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-cdk/aws-elasticloadbalancingv2 - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

4

lib/alb/application-load-balancer.js

@@ -57,3 +57,3 @@ "use strict";

bucket.grantPut(new iam.AccountPrincipal(account), `${(prefix ? prefix + "/" : "")}AWSLogs/${core_1.Stack.of(this).account}/*`);
// make sure the bucket's policy is created before the ALB (see https://github.com/awslabs/aws-cdk/issues/1633)
// make sure the bucket's policy is created before the ALB (see https://github.com/aws/aws-cdk/issues/1633)
this.node.addDependency(bucket);

@@ -454,2 +454,2 @@ }

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwbGljYXRpb24tbG9hZC1iYWxhbmNlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImFwcGxpY2F0aW9uLWxvYWQtYmFsYW5jZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxzREFBdUQ7QUFDdkQsd0NBQXlDO0FBQ3pDLHdDQUF5QztBQUV6Qyx3Q0FBa0Y7QUFDbEYscUVBQXdHO0FBRXhHLGlFQUEyRjtBQXFDM0Y7Ozs7R0FJRztBQUNILE1BQWEsdUJBQXdCLFNBQVEscUNBQWdCO0lBQzNEOztPQUVHO0lBQ0ksTUFBTSxDQUFDLHFDQUFxQyxDQUNqRCxLQUFnQixFQUFFLEVBQVUsRUFBRSxLQUF3QztRQUV0RSxPQUFPLElBQUksK0JBQStCLENBQUMsS0FBSyxFQUFFLEVBQUUsRUFBRSxLQUFLLENBQUMsQ0FBQztJQUMvRCxDQUFDO0lBS0QsWUFBWSxLQUFnQixFQUFFLEVBQVUsRUFBRSxLQUFtQztRQ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cbiAgICB0aHJvdyBuZXcgRXJyb3IoYCdsb2FkQmFsYW5jZXJDYW5vbmljYWxIb3N0ZWRab25lSWQnIHdhcyBub3QgcHJvdmlkZWQgd2hlbiBjb25zdHJ1Y3RpbmcgQXBwbGljYXRpb24gTG9hZCBCYWxhbmNlciAke3RoaXMubm9kZS5wYXRofSBmcm9tIGF0dHJpYnV0ZXNgKTtcbiAgfVxuXG4gIHB1YmxpYyBnZXQgbG9hZEJhbGFuY2VyRG5zTmFtZSgpOiBzdHJpbmcge1xuICAgIGlmICh0aGlzLnByb3BzLmxvYWRCYWxhbmNlckRuc05hbWUpIHsgcmV0dXJuIHRoaXMucHJvcHMubG9hZEJhbGFuY2VyRG5zTmFtZTsgfVxuICAgIC8vIHRzbGludDpkaXNhYmxlLW5leHQtbGluZTptYXgtbGluZS1sZW5ndGhcbiAgICB0aHJvdyBuZXcgRXJyb3IoYCdsb2FkQmFsYW5jZXJEbnNOYW1lJyB3YXMgbm90IHByb3ZpZGVkIHdoZW4gY29uc3RydWN0aW5nIEFwcGxpY2F0aW9uIExvYWQgQmFsYW5jZXIgJHt0aGlzLm5vZGUucGF0aH0gZnJvbSBhdHRyaWJ1dGVzYCk7XG4gIH1cbn1cbiJdfQ==
{
"name": "@aws-cdk/aws-elasticloadbalancingv2",
"version": "1.0.0",
"version": "1.1.0",
"description": "The CDK Construct Library for AWS::ElasticLoadBalancingV2",

@@ -36,3 +36,3 @@ "main": "lib/index.js",

"type": "git",
"url": "https://github.com/awslabs/aws-cdk.git",
"url": "https://github.com/aws/aws-cdk.git",
"directory": "packages/@aws-cdk/aws-elasticloadbalancingv2"

@@ -69,24 +69,24 @@ },

"devDependencies": {
"@aws-cdk/assert": "^1.0.0",
"cdk-build-tools": "^1.0.0",
"cdk-integ-tools": "^1.0.0",
"cfn2ts": "^1.0.0",
"pkglint": "^1.0.0"
"@aws-cdk/assert": "^1.1.0",
"cdk-build-tools": "file:../../../tools/cdk-build-tools",
"cdk-integ-tools": "file:../../../tools/cdk-integ-tools",
"cfn2ts": "file:../../../tools/cfn2ts",
"pkglint": "file:../../../tools/pkglint"
},
"dependencies": {
"@aws-cdk/aws-certificatemanager": "^1.0.0",
"@aws-cdk/aws-cloudwatch": "^1.0.0",
"@aws-cdk/aws-ec2": "^1.0.0",
"@aws-cdk/aws-iam": "^1.0.0",
"@aws-cdk/aws-s3": "^1.0.0",
"@aws-cdk/core": "^1.0.0"
"@aws-cdk/aws-certificatemanager": "^1.1.0",
"@aws-cdk/aws-cloudwatch": "^1.1.0",
"@aws-cdk/aws-ec2": "^1.1.0",
"@aws-cdk/aws-iam": "^1.1.0",
"@aws-cdk/aws-s3": "^1.1.0",
"@aws-cdk/core": "^1.1.0"
},
"homepage": "https://github.com/awslabs/aws-cdk",
"homepage": "https://github.com/aws/aws-cdk",
"peerDependencies": {
"@aws-cdk/aws-certificatemanager": "^1.0.0",
"@aws-cdk/aws-cloudwatch": "^1.0.0",
"@aws-cdk/aws-ec2": "^1.0.0",
"@aws-cdk/aws-iam": "^1.0.0",
"@aws-cdk/aws-s3": "^1.0.0",
"@aws-cdk/core": "^1.0.0"
"@aws-cdk/aws-certificatemanager": "^1.1.0",
"@aws-cdk/aws-cloudwatch": "^1.1.0",
"@aws-cdk/aws-ec2": "^1.1.0",
"@aws-cdk/aws-iam": "^1.1.0",
"@aws-cdk/aws-s3": "^1.1.0",
"@aws-cdk/core": "^1.1.0"
},

@@ -106,2 +106,2 @@ "engines": {

"stability": "stable"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc