@aws-cdk/aws-elasticloadbalancingv2
Advanced tools
Comparing version 0.29.0 to 0.30.0
import cdk = require('@aws-cdk/cdk'); | ||
import { BaseListener } from '../shared/base-listener'; | ||
import { HealthCheck } from '../shared/base-target-group'; | ||
import { Protocol, SslPolicy } from '../shared/enums'; | ||
import { INetworkLoadBalancer } from './network-load-balancer'; | ||
@@ -20,4 +21,25 @@ import { INetworkLoadBalancerTarget, INetworkTargetGroup, NetworkTargetGroup } from './network-target-group'; | ||
readonly defaultTargetGroups?: INetworkTargetGroup[]; | ||
/** | ||
* Protocol for listener, expects TCP or TLS | ||
*/ | ||
readonly protocol?: Protocol; | ||
/** | ||
* Certificate list of ACM cert ARNs | ||
*/ | ||
readonly certificates?: INetworkListenerCertificateProps[]; | ||
/** | ||
* SSL Policy | ||
*/ | ||
readonly sslPolicy?: SslPolicy; | ||
} | ||
/** | ||
* Properties for adding a certificate to a listener | ||
*/ | ||
export interface INetworkListenerCertificateProps { | ||
/** | ||
* Certificate ARN from ACM | ||
*/ | ||
readonly certificateArn: string; | ||
} | ||
/** | ||
* Properties for a Network Listener attached to a Load Balancer | ||
@@ -24,0 +46,0 @@ */ |
@@ -18,6 +18,19 @@ "use strict"; | ||
constructor(scope, id, props) { | ||
const certs = props.certificates || []; | ||
const proto = props.protocol || (certs.length > 0 ? enums_1.Protocol.Tls : enums_1.Protocol.Tcp); | ||
if ([enums_1.Protocol.Tcp, enums_1.Protocol.Tls].indexOf(proto) === -1) { | ||
throw new Error(`The protocol must be either ${enums_1.Protocol.Tcp} or ${enums_1.Protocol.Tls}. Found ${props.protocol}`); | ||
} | ||
if (proto === enums_1.Protocol.Tls && certs.filter(v => v != null).length === 0) { | ||
throw new Error(`When the protocol is set to TLS, you must specify certificates`); | ||
} | ||
if (proto !== enums_1.Protocol.Tls && certs.length > 0) { | ||
throw new Error(`Protocol must be TLS when certificates have been specified`); | ||
} | ||
super(scope, id, { | ||
loadBalancerArn: props.loadBalancer.loadBalancerArn, | ||
protocol: enums_1.Protocol.Tcp, | ||
protocol: proto, | ||
port: props.port, | ||
sslPolicy: props.sslPolicy, | ||
certificates: props.certificates | ||
}); | ||
@@ -85,2 +98,2 @@ this.loadBalancer = props.loadBalancer; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmV0d29yay1saXN0ZW5lci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIm5ldHdvcmstbGlzdGVuZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxvQ0FBcUM7QUFDckMsMkRBQXVEO0FBRXZELDJDQUEyQztBQUUzQyxpRUFBNkc7QUE2QjdHOztHQUVHO0FBQ0gsTUFBYSxlQUFnQixTQUFRLDRCQUFZO0lBQy9DOztPQUVHO0lBQ0ksTUFBTSxDQUFDLE1BQU0sQ0FBQyxLQUFvQixFQUFFLEVBQVUsRUFBRSxLQUFpQztRQUN0RixPQUFPLElBQUksdUJBQXVCLENBQUMsS0FBSyxFQUFFLEVBQUUsRUFBRSxLQUFLLENBQUMsQ0FBQztJQUN2RCxDQUFDO0lBT0QsWUFBWSxLQUFvQixFQUFFLEVBQVUsRUFBRSxLQUEyQjtRQUN2RSxLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsRUFBRTtZQUNmLGVBQWUsRUFBRSxLQUFLLENBQUMsWUFBWSxDQUFDLGVBQWU7WUFDbkQsUUFBUSxFQUFFLGdCQUFRLENBQUMsR0FBRztZQUN0QixJQUFJLEVBQUUsS0FBSyxDQUFDLElBQUk7U0FDakIsQ0FBQyxDQUFDO1FBRUgsSUFBSSxDQUFDLFlBQVksR0FBRyxLQUFLLENBQUMsWUFBWSxDQUFDO1FBRXZDLENBQUMsS0FBSyxDQUFDLG1CQUFtQixJQUFJLEVBQUUsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsc0JBQXNCLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQ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ICAqL1xuICByZWFkb25seSB0YXJnZXRHcm91cE5hbWU/OiBzdHJpbmc7XG5cbiAgLyoqXG4gICAqIFRoZSBhbW91bnQgb2YgdGltZSBmb3IgRWxhc3RpYyBMb2FkIEJhbGFuY2luZyB0byB3YWl0IGJlZm9yZSBkZXJlZ2lzdGVyaW5nIGEgdGFyZ2V0LlxuICAgKlxuICAgKiBUaGUgcmFuZ2UgaXMgMC0zNjAwIHNlY29uZHMuXG4gICAqXG4gICAqIEBkZWZhdWx0IDMwMFxuICAgKi9cbiAgcmVhZG9ubHkgZGVyZWdpc3RyYXRpb25EZWxheVNlYz86IG51bWJlcjtcblxuICAvKipcbiAgICogSW5kaWNhdGVzIHdoZXRoZXIgUHJveHkgUHJvdG9jb2wgdmVyc2lvbiAyIGlzIGVuYWJsZWQuXG4gICAqXG4gICAqIEBkZWZhdWx0IGZhbHNlXG4gICAqL1xuICByZWFkb25seSBwcm94eVByb3RvY29sVjI/OiBib29sZWFuO1xuXG4gIC8qKlxuICAgKiBIZWFsdGggY2hlY2sgY29uZmlndXJhdGlvblxuICAgKlxuICAgKiBAZGVmYXVsdCBObyBoZWFsdGggY2hlY2tcbiAgICovXG4gIHJlYWRvbmx5IGhlYWx0aENoZWNrPzogSGVhbHRoQ2hlY2s7XG59XG4iXX0= |
@@ -29,3 +29,7 @@ /** | ||
*/ | ||
Tcp = "TCP" | ||
Tcp = "TCP", | ||
/** | ||
* TLS | ||
*/ | ||
Tls = "TLS" | ||
} | ||
@@ -32,0 +36,0 @@ /** |
@@ -34,2 +34,6 @@ "use strict"; | ||
Protocol["Tcp"] = "TCP"; | ||
/** | ||
* TLS | ||
*/ | ||
Protocol["Tls"] = "TLS"; | ||
})(Protocol = exports.Protocol || (exports.Protocol = {})); | ||
@@ -107,2 +111,2 @@ /** | ||
})(TargetType = exports.TargetType || (exports.TargetType = {})); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW51bXMuanMiLCJzb3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CBiYWxhbmNpbmcgdGFyZ2V0IGlkZW50aWZpZXJzXG4gKi9cbmV4cG9ydCBlbnVtIFRhcmdldFR5cGUge1xuICAvKipcbiAgICogVGFyZ2V0cyBpZGVudGlmaWVkIGJ5IGluc3RhbmNlIElEXG4gICAqL1xuICBJbnN0YW5jZSA9ICdpbnN0YW5jZScsXG5cbiAgLyoqXG4gICAqIFRhcmdldHMgaWRlbnRpZmllZCBieSBJUCBhZGRyZXNzXG4gICAqL1xuICBJcCA9ICdpcCcsXG59XG4iXX0= |
{ | ||
"name": "@aws-cdk/aws-elasticloadbalancingv2", | ||
"version": "0.29.0", | ||
"version": "0.30.0", | ||
"description": "The CDK Construct Library for AWS::ElasticLoadBalancingV2", | ||
@@ -62,26 +62,28 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^0.29.0", | ||
"cdk-build-tools": "^0.29.0", | ||
"cdk-integ-tools": "^0.29.0", | ||
"cfn2ts": "^0.29.0", | ||
"pkglint": "^0.29.0" | ||
"@aws-cdk/assert": "^0.30.0", | ||
"cdk-build-tools": "^0.30.0", | ||
"cdk-integ-tools": "^0.30.0", | ||
"cfn2ts": "^0.30.0", | ||
"pkglint": "^0.30.0" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/aws-cloudwatch": "^0.29.0", | ||
"@aws-cdk/aws-codedeploy-api": "^0.29.0", | ||
"@aws-cdk/aws-ec2": "^0.29.0", | ||
"@aws-cdk/aws-iam": "^0.29.0", | ||
"@aws-cdk/aws-route53": "^0.29.0", | ||
"@aws-cdk/aws-s3": "^0.29.0", | ||
"@aws-cdk/cdk": "^0.29.0" | ||
"@aws-cdk/aws-certificatemanager": "^0.30.0", | ||
"@aws-cdk/aws-cloudwatch": "^0.30.0", | ||
"@aws-cdk/aws-codedeploy-api": "^0.30.0", | ||
"@aws-cdk/aws-ec2": "^0.30.0", | ||
"@aws-cdk/aws-iam": "^0.30.0", | ||
"@aws-cdk/aws-route53": "^0.30.0", | ||
"@aws-cdk/aws-s3": "^0.30.0", | ||
"@aws-cdk/cdk": "^0.30.0" | ||
}, | ||
"homepage": "https://github.com/awslabs/aws-cdk", | ||
"peerDependencies": { | ||
"@aws-cdk/aws-cloudwatch": "^0.29.0", | ||
"@aws-cdk/aws-codedeploy-api": "^0.29.0", | ||
"@aws-cdk/aws-ec2": "^0.29.0", | ||
"@aws-cdk/aws-iam": "^0.29.0", | ||
"@aws-cdk/aws-route53": "^0.29.0", | ||
"@aws-cdk/aws-s3": "^0.29.0", | ||
"@aws-cdk/cdk": "^0.29.0" | ||
"@aws-cdk/aws-certificatemanager": "^0.30.0", | ||
"@aws-cdk/aws-cloudwatch": "^0.30.0", | ||
"@aws-cdk/aws-codedeploy-api": "^0.30.0", | ||
"@aws-cdk/aws-ec2": "^0.30.0", | ||
"@aws-cdk/aws-iam": "^0.30.0", | ||
"@aws-cdk/aws-route53": "^0.30.0", | ||
"@aws-cdk/aws-s3": "^0.30.0", | ||
"@aws-cdk/cdk": "^0.30.0" | ||
}, | ||
@@ -88,0 +90,0 @@ "engines": { |
@@ -8,3 +8,7 @@ import { Test } from 'nodeunit'; | ||
'Enable taking a dependency on an NLB target group\'s load balancer'(test: Test): void; | ||
'Trivial add TLS listener'(test: Test): void; | ||
'Invalid Protocol listener'(test: Test): void; | ||
'Protocol & certs TLS listener'(test: Test): void; | ||
'TLS and certs specified listener'(test: Test): void; | ||
}; | ||
export = _default; |
"use strict"; | ||
const assert_1 = require("@aws-cdk/assert"); | ||
const acm = require("@aws-cdk/aws-certificatemanager"); | ||
const ec2 = require("@aws-cdk/aws-ec2"); | ||
@@ -133,3 +134,67 @@ const cdk = require("@aws-cdk/cdk"); | ||
}, | ||
'Trivial add TLS listener'(test) { | ||
// GIVEN | ||
const stack = new cdk.Stack(); | ||
const vpc = new ec2.VpcNetwork(stack, 'Stack'); | ||
const lb = new elbv2.NetworkLoadBalancer(stack, 'LB', { vpc }); | ||
const cert = new acm.Certificate(stack, 'Certificate', { | ||
domainName: 'example.com' | ||
}); | ||
// WHEN | ||
lb.addListener('Listener', { | ||
port: 443, | ||
protocol: elbv2.Protocol.Tls, | ||
certificates: [{ certificateArn: cert.certificateArn }], | ||
sslPolicy: elbv2.SslPolicy.TLS12, | ||
defaultTargetGroups: [new elbv2.NetworkTargetGroup(stack, 'Group', { vpc, port: 80 })] | ||
}); | ||
// THEN | ||
assert_1.expect(stack).to(assert_1.haveResource('AWS::ElasticLoadBalancingV2::Listener', { | ||
Protocol: 'TLS', | ||
Port: 443, | ||
Certificates: [ | ||
{ CertificateArn: { Ref: "Certificate4E7ABB08" } } | ||
], | ||
SslPolicy: "ELBSecurityPolicy-TLS-1-2-2017-01" | ||
})); | ||
test.done(); | ||
}, | ||
'Invalid Protocol listener'(test) { | ||
const stack = new cdk.Stack(); | ||
const vpc = new ec2.VpcNetwork(stack, 'Stack'); | ||
const lb = new elbv2.NetworkLoadBalancer(stack, 'LB', { vpc }); | ||
test.throws(() => lb.addListener('Listener', { | ||
port: 443, | ||
protocol: elbv2.Protocol.Http, | ||
defaultTargetGroups: [new elbv2.NetworkTargetGroup(stack, 'Group', { vpc, port: 80 })] | ||
}), Error, '/The protocol must be either TCP or TLS. Found HTTP/'); | ||
test.done(); | ||
}, | ||
'Protocol & certs TLS listener'(test) { | ||
const stack = new cdk.Stack(); | ||
const vpc = new ec2.VpcNetwork(stack, 'Stack'); | ||
const lb = new elbv2.NetworkLoadBalancer(stack, 'LB', { vpc }); | ||
test.throws(() => lb.addListener('Listener', { | ||
port: 443, | ||
protocol: elbv2.Protocol.Tls, | ||
defaultTargetGroups: [new elbv2.NetworkTargetGroup(stack, 'Group', { vpc, port: 80 })] | ||
}), Error, '/When the protocol is set to TLS, you must specify certificates/'); | ||
test.done(); | ||
}, | ||
'TLS and certs specified listener'(test) { | ||
const stack = new cdk.Stack(); | ||
const vpc = new ec2.VpcNetwork(stack, 'Stack'); | ||
const lb = new elbv2.NetworkLoadBalancer(stack, 'LB', { vpc }); | ||
const cert = new acm.Certificate(stack, 'Certificate', { | ||
domainName: 'example.com' | ||
}); | ||
test.throws(() => lb.addListener('Listener', { | ||
port: 443, | ||
protocol: elbv2.Protocol.Tcp, | ||
certificates: [{ certificateArn: cert.certificateArn }], | ||
defaultTargetGroups: [new elbv2.NetworkTargetGroup(stack, 'Group', { vpc, port: 80 })] | ||
}), Error, '/Protocol must be TLS when certificates have been specified/'); | ||
test.done(); | ||
}, | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC5saXN0ZW5lci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInRlc3QubGlzdGVuZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLDRDQUFtRTtBQUNuRSx3Q0FBeUM7QUFDekMsb0NBQXFDO0FBRXJDLG1DQUFvQztBQUNwQyx3Q0FBdUQ7QUErSXZELE1BQU0sd0JBQXlCLFNBQVEsR0FBRyxDQUFDLFdBQVc7SUFDcEQsWUFBWSxLQUFvQixFQUFFLEVBQVUsRUFBRSxXQUErQjtRQUMzRSxLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsRUFBRSxFQUFFLElBQUksRUFBRSxnQkFBZ0IsRUFBRSxDQUFDLENBQUM7UUFDN0MsSUFBSSxDQUFDLElBQUksQ0FBQyxhQUFhLENBQUMsV0FBVyxDQUFDLG9CQUFvQixDQUFDLENBQUM7SUFDNUQsQ0FBQztDQUNGO0FBbEpELGlCQUFTO0lBQ1Asc0JBQXNCLENBQUMsSUFBVTtRQUMvQixRQUFRO1FBQ1IsTUFBTSxLQUFLLEdBQUcsSUFBSSxHQUFHLENBQUMsS0FBSyxFQUFFLENBQUM7UUFDOUIsTUFBTSxHQUFHLEdBQUcsSUFBSSxHQUFHLENBQUMsVUFBVSxDQUFDLEtBQUssRUFBRSxPQUFPLENBQUMsQ0FBQztRQUMvQyxNQUFNLEVBQUUsR0FBRyxJQUFJLEtBQUss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MaXN0ZW5lcignTGlzdGVuZXInLCB7XG4gICAgICBwb3J0OiA0NDMsXG4gICAgICBwcm90b2NvbDogZWxidjIuUHJvdG9jb2wuVGNwLFxuICAgICAgY2VydGlmaWNhdGVzOiBbIHsgY2VydGlmaWNhdGVBcm46IGNlcnQuY2VydGlmaWNhdGVBcm4gfSBdLFxuICAgICAgZGVmYXVsdFRhcmdldEdyb3VwczogW25ldyBlbGJ2Mi5OZXR3b3JrVGFyZ2V0R3JvdXAoc3RhY2ssICdHcm91cCcsIHsgdnBjLCBwb3J0OiA4MCB9KV1cbiAgICB9KSwgRXJyb3IsICcvUHJvdG9jb2wgbXVzdCBiZSBUTFMgd2hlbiBjZXJ0aWZpY2F0ZXMgaGF2ZSBiZWVuIHNwZWNpZmllZC8nKTtcblxuICAgIHRlc3QuZG9uZSgpO1xuICB9LFxufTtcblxuY2xhc3MgUmVzb3VyY2VXaXRoTEJEZXBlbmRlbmN5IGV4dGVuZHMgY2RrLkNmblJlc291cmNlIHtcbiAgY29uc3RydWN0b3Ioc2NvcGU6IGNkay5Db25zdHJ1Y3QsIGlkOiBzdHJpbmcsIHRhcmdldEdyb3VwOiBlbGJ2Mi5JVGFyZ2V0R3JvdXApIHtcbiAgICBzdXBlcihzY29wZSwgaWQsIHsgdHlwZTogJ1Rlc3Q6OlJlc291cmNlJyB9KTtcbiAgICB0aGlzLm5vZGUuYWRkRGVwZW5kZW5jeSh0YXJnZXRHcm91cC5sb2FkQmFsYW5jZXJBdHRhY2hlZCk7XG4gIH1cbn1cbiJdfQ== |
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
1194517
61
8713
16
+ Added@aws-cdk/assets@0.30.0(transitive)
+ Added@aws-cdk/aws-autoscaling-api@0.30.0(transitive)
+ Added@aws-cdk/aws-certificatemanager@0.30.0(transitive)
+ Added@aws-cdk/aws-cloudformation@0.30.0(transitive)
+ Added@aws-cdk/aws-cloudwatch@0.30.0(transitive)
+ Added@aws-cdk/aws-codedeploy-api@0.30.0(transitive)
+ Added@aws-cdk/aws-ec2@0.30.0(transitive)
+ Added@aws-cdk/aws-events@0.30.0(transitive)
+ Added@aws-cdk/aws-iam@0.30.0(transitive)
+ Added@aws-cdk/aws-kms@0.30.0(transitive)
+ Added@aws-cdk/aws-lambda@0.30.0(transitive)
+ Added@aws-cdk/aws-logs@0.30.0(transitive)
+ Added@aws-cdk/aws-route53@0.30.0(transitive)
+ Added@aws-cdk/aws-s3@0.30.0(transitive)
+ Added@aws-cdk/aws-s3-notifications@0.30.0(transitive)
+ Added@aws-cdk/aws-sns@0.30.0(transitive)
+ Added@aws-cdk/aws-sqs@0.30.0(transitive)
+ Added@aws-cdk/aws-stepfunctions@0.30.0(transitive)
+ Added@aws-cdk/cdk@0.30.0(transitive)
+ Added@aws-cdk/cx-api@0.30.0(transitive)
+ Added@aws-cdk/region-info@0.30.0(transitive)
- Removed@aws-cdk/aws-cloudwatch@0.29.0(transitive)
- Removed@aws-cdk/aws-codedeploy-api@0.29.0(transitive)
- Removed@aws-cdk/aws-ec2@0.29.0(transitive)
- Removed@aws-cdk/aws-events@0.29.0(transitive)
- Removed@aws-cdk/aws-iam@0.29.0(transitive)
- Removed@aws-cdk/aws-kms@0.29.0(transitive)
- Removed@aws-cdk/aws-logs@0.29.0(transitive)
- Removed@aws-cdk/aws-route53@0.29.0(transitive)
- Removed@aws-cdk/aws-s3@0.29.0(transitive)
- Removed@aws-cdk/aws-s3-notifications@0.29.0(transitive)
- Removed@aws-cdk/cdk@0.29.0(transitive)
- Removed@aws-cdk/cx-api@0.29.0(transitive)
- Removed@aws-cdk/region-info@0.29.0(transitive)
Updated@aws-cdk/aws-ec2@^0.30.0
Updated@aws-cdk/aws-iam@^0.30.0
Updated@aws-cdk/aws-route53@^0.30.0
Updated@aws-cdk/aws-s3@^0.30.0
Updated@aws-cdk/cdk@^0.30.0