@aws-cdk/aws-ec2
Advanced tools
Comparing version 0.9.0 to 0.9.1
export * from './connections'; | ||
export * from './instance-types'; | ||
export * from './load-balancer'; | ||
export * from './machine-image'; | ||
@@ -5,0 +4,0 @@ export * from './security-group'; |
@@ -8,3 +8,2 @@ "use strict"; | ||
__export(require("./instance-types")); | ||
__export(require("./load-balancer")); | ||
__export(require("./machine-image")); | ||
@@ -17,2 +16,2 @@ __export(require("./security-group")); | ||
__export(require("./ec2.generated")); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLG1DQUE4QjtBQUM5QixzQ0FBaUM7QUFDakMscUNBQWdDO0FBQ2hDLHFDQUFnQztBQUNoQyxzQ0FBaUM7QUFDakMsMkNBQXNDO0FBQ3RDLDJCQUFzQjtBQUN0QiwrQkFBMEI7QUFFMUIscUNBQXFDO0FBQ3JDLHFDQUFnQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29ubmVjdGlvbnMnO1xuZXhwb3J0ICogZnJvbSAnLi9pbnN0YW5jZS10eXBlcyc7XG5leHBvcnQgKiBmcm9tICcuL2xvYWQtYmFsYW5jZXInO1xuZXhwb3J0ICogZnJvbSAnLi9tYWNoaW5lLWltYWdlJztcbmV4cG9ydCAqIGZyb20gJy4vc2VjdXJpdHktZ3JvdXAnO1xuZXhwb3J0ICogZnJvbSAnLi9zZWN1cml0eS1ncm91cC1ydWxlJztcbmV4cG9ydCAqIGZyb20gJy4vdnBjJztcbmV4cG9ydCAqIGZyb20gJy4vdnBjLXJlZic7XG5cbi8vIEFXUzo6RUMyIENsb3VkRm9ybWF0aW9uIFJlc291cmNlczpcbmV4cG9ydCAqIGZyb20gJy4vZWMyLmdlbmVyYXRlZCc7XG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLG1DQUE4QjtBQUM5QixzQ0FBaUM7QUFDakMscUNBQWdDO0FBQ2hDLHNDQUFpQztBQUNqQywyQ0FBc0M7QUFDdEMsMkJBQXNCO0FBQ3RCLCtCQUEwQjtBQUUxQixxQ0FBcUM7QUFDckMscUNBQWdDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb25uZWN0aW9ucyc7XG5leHBvcnQgKiBmcm9tICcuL2luc3RhbmNlLXR5cGVzJztcbmV4cG9ydCAqIGZyb20gJy4vbWFjaGluZS1pbWFnZSc7XG5leHBvcnQgKiBmcm9tICcuL3NlY3VyaXR5LWdyb3VwJztcbmV4cG9ydCAqIGZyb20gJy4vc2VjdXJpdHktZ3JvdXAtcnVsZSc7XG5leHBvcnQgKiBmcm9tICcuL3ZwYyc7XG5leHBvcnQgKiBmcm9tICcuL3ZwYy1yZWYnO1xuXG4vLyBBV1M6OkVDMiBDbG91ZEZvcm1hdGlvbiBSZXNvdXJjZXM6XG5leHBvcnQgKiBmcm9tICcuL2VjMi5nZW5lcmF0ZWQnO1xuIl19 |
{ | ||
"name": "@aws-cdk/aws-ec2", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"description": "CDK Constructs for AWS EC2", | ||
@@ -55,13 +55,12 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^0.9.0", | ||
"cdk-build-tools": "^0.9.0", | ||
"cdk-integ-tools": "^0.9.0", | ||
"cfn2ts": "^0.9.0", | ||
"pkglint": "^0.9.0" | ||
"@aws-cdk/assert": "^0.9.1", | ||
"cdk-build-tools": "^0.9.1", | ||
"cdk-integ-tools": "^0.9.1", | ||
"cfn2ts": "^0.9.1", | ||
"pkglint": "^0.9.1" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/aws-elasticloadbalancing": "^0.9.0", | ||
"@aws-cdk/aws-iam": "^0.9.0", | ||
"@aws-cdk/cdk": "^0.9.0", | ||
"@aws-cdk/util": "^0.9.0" | ||
"@aws-cdk/aws-iam": "^0.9.1", | ||
"@aws-cdk/cdk": "^0.9.1", | ||
"@aws-cdk/util": "^0.9.1" | ||
}, | ||
@@ -68,0 +67,0 @@ "bundledDependencies": [ |
## AWS Compute and Networking Construct Library | ||
The `@aws-cdk/aws-ec2` package contains primitives for setting up networking, | ||
instances, and load balancers. | ||
The `@aws-cdk/aws-ec2` package contains primitives for setting up networking and | ||
instances. | ||
@@ -175,26 +175,2 @@ ### VPC | ||
### Load Balancer | ||
Load balancers send traffic to one or more fleets. Create a load balancer, | ||
set up listeners and a health check, and supply the fleet(s) you want to load | ||
balance to in the `targets` property. | ||
The load balancer allows all connections by default. If you want to change that, | ||
pass the `allowConnectionsFrom` property while setting up the listener. | ||
```ts | ||
new ec2.ClassicLoadBalancer(stack, 'LB', { | ||
vpc, | ||
internetFacing: true, | ||
listeners: [{ | ||
externalPort: 80, | ||
}], | ||
healthCheck: { | ||
port: 80 | ||
}, | ||
targets: [fleet] | ||
}); | ||
``` | ||
### Allowing Connections | ||
@@ -201,0 +177,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
3
2304241
38
13192
259
- Removed@aws-cdk/aws-ec2@0.9.2(transitive)
- Removed@aws-cdk/aws-elasticloadbalancing@0.9.2(transitive)
Updated@aws-cdk/aws-iam@^0.9.1
Updated@aws-cdk/cdk@^0.9.1
Updated@aws-cdk/util@^0.9.1