@aws-cdk/aws-elasticloadbalancingv2
Advanced tools
Comparing version 0.35.0 to 0.36.0
@@ -1,2 +0,2 @@ | ||
import cdk = require('@aws-cdk/cdk'); | ||
import cdk = require('@aws-cdk/core'); | ||
import { IApplicationListener } from './application-listener'; | ||
@@ -3,0 +3,0 @@ /** |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const cdk = require("@aws-cdk/cdk"); | ||
const cdk = require("@aws-cdk/core"); | ||
const elasticloadbalancingv2_generated_1 = require("../elasticloadbalancingv2.generated"); | ||
@@ -18,2 +18,2 @@ /** | ||
exports.ApplicationListenerCertificate = ApplicationListenerCertificate; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwbGljYXRpb24tbGlzdGVuZXItY2VydGlmaWNhdGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJhcHBsaWNhdGlvbi1saXN0ZW5lci1jZXJ0aWZpY2F0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLG9DQUFxQztBQUNyQywwRkFBNkU7QUFvQjdFOztHQUVHO0FBQ0gsTUFBYSw4QkFBK0IsU0FBUSxHQUFHLENBQUMsU0FBUztJQUMvRCxZQUFZLEtBQW9CLEVBQUUsRUFBVSxFQUFFLEtBQTBDO1FBQ3RGLEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxDQUFDLENBQUM7UUFFakIsSUFBSSx5REFBc0IsQ0FBQyxJQUFJLEVBQUUsVUFBVSxFQUFFO1lBQzNDLFdBQVcsRUFBRSxLQUFLLENBQUMsUUFBUSxDQUFDLFdBQVc7WUFDdkMsWUFBWSxFQUFFLEtBQUssQ0FBQyxlQUFlLENBQUMsR0FBRyxDQUFDLGNBQWMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLGNBQWMsRUFBRSxDQUFDLENBQUM7U0FDaEYsQ0FBQyxDQUFDO0lBQ0wsQ0FBQztDQ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Q2VydGlmaWNhdGUodGhpcywgJ1Jlc291cmNlJywge1xuICAgICAgbGlzdGVuZXJBcm46IHByb3BzLmxpc3RlbmVyLmxpc3RlbmVyQXJuLFxuICAgICAgY2VydGlmaWNhdGVzOiBwcm9wcy5jZXJ0aWZpY2F0ZUFybnMubWFwKGNlcnRpZmljYXRlQXJuID0+ICh7IGNlcnRpZmljYXRlQXJuIH0pKSxcbiAgICB9KTtcbiAgfVxufVxuIl19 |
@@ -1,2 +0,2 @@ | ||
import cdk = require('@aws-cdk/cdk'); | ||
import cdk = require('@aws-cdk/core'); | ||
import { IApplicationListener } from './application-listener'; | ||
@@ -3,0 +3,0 @@ import { IApplicationTargetGroup } from './application-target-group'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const cdk = require("@aws-cdk/cdk"); | ||
const cdk = require("@aws-cdk/core"); | ||
const elasticloadbalancingv2_generated_1 = require("../elasticloadbalancingv2.generated"); | ||
@@ -47,3 +47,3 @@ /** | ||
} | ||
this.listenerRuleArn = resource.refAsString; | ||
this.listenerRuleArn = resource.ref; | ||
} | ||
@@ -113,2 +113,2 @@ /** | ||
exports.validateFixedResponse = validateFixedResponse; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwbGljYXRpb24tbGlzdGVuZXItcnVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImFwcGxpY2F0aW9uLWxpc3RlbmVyLXJ1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxvQ0FBcUM7QUFDckMsMEZBQXNFO0FBa0V0RTs7R0FFRztBQUNILElBQVksV0FNWDtBQU5ELFdBQVksV0FBVztJQUNyQix3Q0FBeUIsQ0FBQTtJQUN6QixvQ0FBcUIsQ0FBQTtJQUNyQixzQ0FBd0IsQ0FBQTtJQUN4QixnRUFBaUQsQ0FBQTtJQUNqRCxvREFBcUMsQ0FBQTtBQUN2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tcbiAgICB0aHJvdyBuZXcgRXJyb3IoJ2BzdGF0dXNDb2RlYCBtdXN0IGJlIDJYWCwgNFhYIG9yIDVYWC4nKTtcbiAgfVxuXG4gIGlmIChmaXhlZFJlc3BvbnNlLm1lc3NhZ2VCb2R5ICYmIGZpeGVkUmVzcG9uc2UubWVzc2FnZUJvZHkubGVuZ3RoID4gMTAyNCkge1xuICAgIHRocm93IG5ldyBFcnJvcignYG1lc3NhZ2VCb2R5YCBjYW5ub3QgaGF2ZSBtb3JlIHRoYW4gMTAyNCBjaGFyYWN0ZXJzLicpO1xuICB9XG59XG4iXX0= |
import ec2 = require('@aws-cdk/aws-ec2'); | ||
import { Construct, IResource } from '@aws-cdk/cdk'; | ||
import { Construct, Duration, IResource } from '@aws-cdk/core'; | ||
import { BaseListener } from '../shared/base-listener'; | ||
@@ -126,3 +126,3 @@ import { HealthCheck } from '../shared/base-target-group'; | ||
*/ | ||
registerConnectable(connectable: ec2.IConnectable, portRange: ec2.IPortRange): void; | ||
registerConnectable(connectable: ec2.IConnectable, portRange: ec2.Port): void; | ||
/** | ||
@@ -174,3 +174,3 @@ * Validate this listener. | ||
*/ | ||
registerConnectable(connectable: ec2.IConnectable, portRange: ec2.IPortRange): void; | ||
registerConnectable(connectable: ec2.IConnectable, portRange: ec2.Port): void; | ||
} | ||
@@ -264,7 +264,7 @@ /** | ||
* | ||
* The range is 30–900 seconds (15 minutes). | ||
* The range is 30-900 seconds (15 minutes). | ||
* | ||
* @default 0 | ||
*/ | ||
readonly slowStartSec?: number; | ||
readonly slowStart?: Duration; | ||
/** | ||
@@ -278,5 +278,5 @@ * The stickiness cookie expiration period. | ||
* | ||
* @default 86400 (1 day) | ||
* @default Duration.days(1) | ||
*/ | ||
readonly stickinessCookieDurationSec?: number; | ||
readonly stickinessCookieDuration?: Duration; | ||
/** | ||
@@ -303,7 +303,7 @@ * The targets to add to this target group. | ||
* | ||
* The range is 0–3600 seconds. | ||
* The range is 0-3600 seconds. | ||
* | ||
* @default 300 | ||
* @default Duration.minutes(5) | ||
*/ | ||
readonly deregistrationDelaySec?: number; | ||
readonly deregistrationDelay?: Duration; | ||
/** | ||
@@ -310,0 +310,0 @@ * Health check configuration |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const ec2 = require("@aws-cdk/aws-ec2"); | ||
const cdk_1 = require("@aws-cdk/cdk"); | ||
const core_1 = require("@aws-cdk/core"); | ||
const base_listener_1 = require("../shared/base-listener"); | ||
@@ -27,3 +27,3 @@ const enums_1 = require("../shared/enums"); | ||
loadBalancerArn: props.loadBalancer.loadBalancerArn, | ||
certificates: cdk_1.Lazy.anyValue({ produce: () => this.certificateArns.map(certificateArn => ({ certificateArn })) }), | ||
certificates: core_1.Lazy.anyValue({ produce: () => this.certificateArns.map(certificateArn => ({ certificateArn })) }), | ||
protocol, | ||
@@ -41,7 +41,7 @@ port, | ||
securityGroups: props.loadBalancer.connections.securityGroups, | ||
defaultPortRange: new ec2.TcpPort(port), | ||
defaultPort: ec2.Port.tcp(port), | ||
}); | ||
(props.defaultTargetGroups || []).forEach(this.addDefaultTargetGroup.bind(this)); | ||
if (props.open !== false) { | ||
this.connections.allowDefaultPortFrom(new ec2.AnyIPv4(), `Allow from anyone on port ${port}`); | ||
this.connections.allowDefaultPortFrom(ec2.Peer.anyIpv4(), `Allow from anyone on port ${port}`); | ||
} | ||
@@ -99,8 +99,8 @@ } | ||
const group = new application_target_group_1.ApplicationTargetGroup(this, id + 'Group', { | ||
deregistrationDelaySec: props.deregistrationDelaySec, | ||
deregistrationDelay: props.deregistrationDelay, | ||
healthCheck: props.healthCheck, | ||
port: props.port, | ||
protocol: props.protocol, | ||
slowStartSec: props.slowStartSec, | ||
stickinessCookieDurationSec: props.stickinessCookieDurationSec, | ||
slowStart: props.slowStart, | ||
stickinessCookieDuration: props.stickinessCookieDuration, | ||
targetGroupName: props.targetGroupName, | ||
@@ -157,3 +157,3 @@ targets: props.targets, | ||
const errors = super.validate(); | ||
if (this.protocol === enums_1.ApplicationProtocol.Https && this.certificateArns.length === 0) { | ||
if (this.protocol === enums_1.ApplicationProtocol.HTTPS && this.certificateArns.length === 0) { | ||
errors.push('HTTPS Listener needs at least one certificate (call addCertificateArns)'); | ||
@@ -172,10 +172,10 @@ } | ||
exports.ApplicationListener = ApplicationListener; | ||
class ImportedApplicationListener extends cdk_1.Resource { | ||
class ImportedApplicationListener extends core_1.Resource { | ||
constructor(scope, id, props) { | ||
super(scope, id); | ||
this.listenerArn = props.listenerArn; | ||
const defaultPortRange = props.defaultPort !== undefined ? new ec2.TcpPort(props.defaultPort) : undefined; | ||
const defaultPort = props.defaultPort !== undefined ? ec2.Port.tcp(props.defaultPort) : undefined; | ||
this.connections = new ec2.Connections({ | ||
securityGroups: [ec2.SecurityGroup.fromSecurityGroupId(this, 'SecurityGroup', props.securityGroupId)], | ||
defaultPortRange, | ||
defaultPort, | ||
}); | ||
@@ -245,2 +245,2 @@ } | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwbGljYXRpb24tbGlzdGVuZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJhcHBsaWNhdGlvbi1saXN0ZW5lci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHdDQUF5QztBQUN6QyxzQ0FBb0U7QUFDcEUsMkRBQXVEO0FBRXZELDJDQUFpRTtBQUNqRSx5Q0FBMEQ7QUFDMUQseUZBQW9GO0FBQ3BGLDJFQUE0RztBQUU1Ryx5RUFBNkg7QUFtRTdIOzs7O0dBSUc7QUFDSCxNQUFhLG1CQUFvQixTQUFRLDRCQUFZO0lBQ25EOztPQUVHO0lBQ0ksTUFBTSxDQUFDLGlDQUFpQyxDQUFDLEtBQWdCLEVBQUUsRUFBVSxFQUFFLEtBQW9DO1FBQ2hILE9BQU8sSUFBSSwyQkFBMkIsQ0FBQyxLQUFLLEVBQUUsRUFBRSxFQUFFLEtBQUssQ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VzKDUpXG4gICAqL1xuICByZWFkb25seSBkZXJlZ2lzdHJhdGlvbkRlbGF5PzogRHVyYXRpb247XG5cbiAgLyoqXG4gICAqIEhlYWx0aCBjaGVjayBjb25maWd1cmF0aW9uXG4gICAqXG4gICAqIEBkZWZhdWx0IE5vIGhlYWx0aCBjaGVja1xuICAgKi9cbiAgcmVhZG9ubHkgaGVhbHRoQ2hlY2s/OiBIZWFsdGhDaGVjaztcbn1cblxuLyoqXG4gKiBQcm9wZXJ0aWVzIGZvciBhZGRpbmcgYSBmaXhlZCByZXNwb25zZSB0byBhIGxpc3RlbmVyXG4gKi9cbmV4cG9ydCBpbnRlcmZhY2UgQWRkRml4ZWRSZXNwb25zZVByb3BzIGV4dGVuZHMgQWRkUnVsZVByb3BzLCBGaXhlZFJlc3BvbnNlIHtcbn1cblxuZnVuY3Rpb24gY2hlY2tBZGRSdWxlUHJvcHMocHJvcHM6IEFkZFJ1bGVQcm9wcykge1xuICBpZiAoKHByb3BzLmhvc3RIZWFkZXIgIT09IHVuZGVmaW5lZCB8fCBwcm9wcy5wYXRoUGF0dGVybiAhPT0gdW5kZWZpbmVkKSAhPT0gKHByb3BzLnByaW9yaXR5ICE9PSB1bmRlZmluZWQpKSB7XG4gICAgdGhyb3cgbmV3IEVycm9yKGBTZXR0aW5nICdwYXRoUGF0dGVybicgb3IgJ2hvc3RIZWFkZXInIGFsc28gcmVxdWlyZXMgJ3ByaW9yaXR5JywgYW5kIHZpY2UgdmVyc2FgKTtcbiAgfVxufVxuIl19 |
import cloudwatch = require('@aws-cdk/aws-cloudwatch'); | ||
import ec2 = require('@aws-cdk/aws-ec2'); | ||
import s3 = require('@aws-cdk/aws-s3'); | ||
import { Construct } from '@aws-cdk/cdk'; | ||
import { Construct, Duration } from '@aws-cdk/core'; | ||
import { BaseLoadBalancer, BaseLoadBalancerProps, ILoadBalancerV2 } from '../shared/base-load-balancer'; | ||
@@ -37,3 +37,3 @@ import { IpAddressType } from '../shared/enums'; | ||
*/ | ||
readonly idleTimeoutSecs?: number; | ||
readonly idleTimeout?: Duration; | ||
} | ||
@@ -235,3 +235,3 @@ /** | ||
*/ | ||
Elb3xxCount = "HTTPCode_ELB_3XX_Count", | ||
ELB_3XX_COUNT = "HTTPCode_ELB_3XX_Count", | ||
/** | ||
@@ -244,7 +244,7 @@ * The number of HTTP 4XX client error codes that originate from the load balancer. | ||
*/ | ||
Elb4xxCount = "HTTPCode_ELB_4XX_Count", | ||
ELB_4XX_COUNT = "HTTPCode_ELB_4XX_Count", | ||
/** | ||
* The number of HTTP 5XX server error codes that originate from the load balancer. | ||
*/ | ||
Elb5xxCount = "HTTPCode_ELB_5XX_Count" | ||
ELB_5XX_COUNT = "HTTPCode_ELB_5XX_Count" | ||
} | ||
@@ -258,15 +258,15 @@ /** | ||
*/ | ||
Target2xxCount = "HTTPCode_Target_2XX_Count", | ||
TARGET_2XX_COUNT = "HTTPCode_Target_2XX_Count", | ||
/** | ||
* The number of 3xx response codes from targets | ||
*/ | ||
Target3xxCount = "HTTPCode_Target_3XX_Count", | ||
TARGET_3XX_COUNT = "HTTPCode_Target_3XX_Count", | ||
/** | ||
* The number of 4xx response codes from targets | ||
*/ | ||
Target4xxCount = "HTTPCode_Target_4XX_Count", | ||
TARGET_4XX_COUNT = "HTTPCode_Target_4XX_Count", | ||
/** | ||
* The number of 5xx response codes from targets | ||
*/ | ||
Target5xxCount = "HTTPCode_Target_5XX_Count" | ||
TARGET_5XX_COUNT = "HTTPCode_Target_5XX_Count" | ||
} | ||
@@ -273,0 +273,0 @@ /** |
@@ -6,3 +6,3 @@ "use strict"; | ||
const iam = require("@aws-cdk/aws-iam"); | ||
const cdk_1 = require("@aws-cdk/cdk"); | ||
const core_1 = require("@aws-cdk/core"); | ||
const base_load_balancer_1 = require("../shared/base-load-balancer"); | ||
@@ -25,3 +25,3 @@ const application_listener_1 = require("./application-listener"); | ||
type: "application", | ||
securityGroups: cdk_1.Lazy.listValue({ produce: () => [this.securityGroup.securityGroupId] }), | ||
securityGroups: core_1.Lazy.listValue({ produce: () => [this.securityGroup.securityGroupId] }), | ||
ipAddressType: props.ipAddressType, | ||
@@ -38,4 +38,4 @@ }); | ||
} | ||
if (props.idleTimeoutSecs !== undefined) { | ||
this.setAttribute('idle_timeout.timeout_seconds', props.idleTimeoutSecs.toString()); | ||
if (props.idleTimeout !== undefined) { | ||
this.setAttribute('idle_timeout.timeout_seconds', props.idleTimeout.toSeconds().toString()); | ||
} | ||
@@ -50,4 +50,4 @@ } | ||
this.setAttribute('access_logs.s3.prefix', prefix); | ||
const region = cdk_1.Stack.of(this).region; | ||
if (cdk_1.Token.isUnresolved(region)) { | ||
const region = core_1.Stack.of(this).region; | ||
if (core_1.Token.isUnresolved(region)) { | ||
throw new Error(`Region is required to enable ELBv2 access logging`); | ||
@@ -60,3 +60,3 @@ } | ||
prefix = prefix || ''; | ||
bucket.grantPut(new iam.AccountPrincipal(account), prefix + '*'); | ||
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) | ||
@@ -367,3 +367,3 @@ this.node.addDependency(bucket); | ||
*/ | ||
HttpCodeElb["Elb3xxCount"] = "HTTPCode_ELB_3XX_Count"; | ||
HttpCodeElb["ELB_3XX_COUNT"] = "HTTPCode_ELB_3XX_Count"; | ||
/** | ||
@@ -376,7 +376,7 @@ * The number of HTTP 4XX client error codes that originate from the load balancer. | ||
*/ | ||
HttpCodeElb["Elb4xxCount"] = "HTTPCode_ELB_4XX_Count"; | ||
HttpCodeElb["ELB_4XX_COUNT"] = "HTTPCode_ELB_4XX_Count"; | ||
/** | ||
* The number of HTTP 5XX server error codes that originate from the load balancer. | ||
*/ | ||
HttpCodeElb["Elb5xxCount"] = "HTTPCode_ELB_5XX_Count"; | ||
HttpCodeElb["ELB_5XX_COUNT"] = "HTTPCode_ELB_5XX_Count"; | ||
})(HttpCodeElb = exports.HttpCodeElb || (exports.HttpCodeElb = {})); | ||
@@ -391,15 +391,15 @@ /** | ||
*/ | ||
HttpCodeTarget["Target2xxCount"] = "HTTPCode_Target_2XX_Count"; | ||
HttpCodeTarget["TARGET_2XX_COUNT"] = "HTTPCode_Target_2XX_Count"; | ||
/** | ||
* The number of 3xx response codes from targets | ||
*/ | ||
HttpCodeTarget["Target3xxCount"] = "HTTPCode_Target_3XX_Count"; | ||
HttpCodeTarget["TARGET_3XX_COUNT"] = "HTTPCode_Target_3XX_Count"; | ||
/** | ||
* The number of 4xx response codes from targets | ||
*/ | ||
HttpCodeTarget["Target4xxCount"] = "HTTPCode_Target_4XX_Count"; | ||
HttpCodeTarget["TARGET_4XX_COUNT"] = "HTTPCode_Target_4XX_Count"; | ||
/** | ||
* The number of 5xx response codes from targets | ||
*/ | ||
HttpCodeTarget["Target5xxCount"] = "HTTPCode_Target_5XX_Count"; | ||
HttpCodeTarget["TARGET_5XX_COUNT"] = "HTTPCode_Target_5XX_Count"; | ||
})(HttpCodeTarget = exports.HttpCodeTarget || (exports.HttpCodeTarget = {})); | ||
@@ -431,3 +431,3 @@ // https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-access-logs.html#access-logging-bucket-permissions | ||
*/ | ||
class ImportedApplicationLoadBalancer extends cdk_1.Resource { | ||
class ImportedApplicationLoadBalancer extends core_1.Resource { | ||
constructor(scope, id, props) { | ||
@@ -462,2 +462,2 @@ super(scope, id); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwbGljYXRpb24tbG9hZC1iYWxhbmNlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImFwcGxpY2F0aW9uLWxvYWQtYmFsYW5jZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxzREFBdUQ7QUFDdkQsd0NBQXlDO0FBQ3pDLHdDQUF5QztBQUV6QyxzQ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WxpbmUtbGVuZ3RoXG4gICAgdGhyb3cgbmV3IEVycm9yKGAnbG9hZEJhbGFuY2VyQ2Fub25pY2FsSG9zdGVkWm9uZUlkJyB3YXMgbm90IHByb3ZpZGVkIHdoZW4gY29uc3RydWN0aW5nIEFwcGxpY2F0aW9uIExvYWQgQmFsYW5jZXIgJHt0aGlzLm5vZGUucGF0aH0gZnJvbSBhdHRyaWJ1dGVzYCk7XG4gIH1cblxuICBwdWJsaWMgZ2V0IGxvYWRCYWxhbmNlckRuc05hbWUoKTogc3RyaW5nIHtcbiAgICBpZiAodGhpcy5wcm9wcy5sb2FkQmFsYW5jZXJEbnNOYW1lKSB7IHJldHVybiB0aGlzLnByb3BzLmxvYWRCYWxhbmNlckRuc05hbWU7IH1cbiAgICAvLyB0c2xpbnQ6ZGlzYWJsZS1uZXh0LWxpbmU6bWF4LWxpbmUtbGVuZ3RoXG4gICAgdGhyb3cgbmV3IEVycm9yKGAnbG9hZEJhbGFuY2VyRG5zTmFtZScgd2FzIG5vdCBwcm92aWRlZCB3aGVuIGNvbnN0cnVjdGluZyBBcHBsaWNhdGlvbiBMb2FkIEJhbGFuY2VyICR7dGhpcy5ub2RlLnBhdGh9IGZyb20gYXR0cmlidXRlc2ApO1xuICB9XG59XG4iXX0= |
import cloudwatch = require('@aws-cdk/aws-cloudwatch'); | ||
import ec2 = require('@aws-cdk/aws-ec2'); | ||
import { Construct, IConstruct } from '@aws-cdk/cdk'; | ||
import { Construct, Duration, IConstruct } from '@aws-cdk/core'; | ||
import { BaseTargetGroupProps, ITargetGroup, LoadBalancerTargetProps, TargetGroupBase, TargetGroupImportProps } from '../shared/base-target-group'; | ||
@@ -28,7 +28,7 @@ import { ApplicationProtocol } from '../shared/enums'; | ||
* | ||
* The range is 30–900 seconds (15 minutes). | ||
* The range is 30-900 seconds (15 minutes). | ||
* | ||
* @default 0 | ||
*/ | ||
readonly slowStartSec?: number; | ||
readonly slowStart?: Duration; | ||
/** | ||
@@ -42,5 +42,5 @@ * The stickiness cookie expiration period. | ||
* | ||
* @default 86400 (1 day) | ||
* @default Duration.days(1) | ||
*/ | ||
readonly stickinessCookieDurationSec?: number; | ||
readonly stickinessCookieDuration?: Duration; | ||
/** | ||
@@ -75,3 +75,3 @@ * The targets to add to this target group. | ||
*/ | ||
enableCookieStickiness(durationSec: number): void; | ||
enableCookieStickiness(duration: Duration): void; | ||
/** | ||
@@ -82,3 +82,3 @@ * Register a connectable as a member of this target group. | ||
*/ | ||
registerConnectable(connectable: ec2.IConnectable, portRange?: ec2.IPortRange): void; | ||
registerConnectable(connectable: ec2.IConnectable, portRange?: ec2.Port): void; | ||
/** | ||
@@ -85,0 +85,0 @@ * Register a listener that is load balancing to this target group. |
@@ -26,7 +26,7 @@ "use strict"; | ||
this.listeners = []; | ||
if (props.slowStartSec !== undefined) { | ||
this.setAttribute('slow_start.duration_seconds', props.slowStartSec.toString()); | ||
if (props.slowStart !== undefined) { | ||
this.setAttribute('slow_start.duration_seconds', props.slowStart.toSeconds().toString()); | ||
} | ||
if (props.stickinessCookieDurationSec !== undefined) { | ||
this.enableCookieStickiness(props.stickinessCookieDurationSec); | ||
if (props.stickinessCookieDuration !== undefined) { | ||
this.enableCookieStickiness(props.stickinessCookieDuration); | ||
} | ||
@@ -47,6 +47,6 @@ this.addTarget(...(props.targets || [])); | ||
*/ | ||
enableCookieStickiness(durationSec) { | ||
enableCookieStickiness(duration) { | ||
this.setAttribute('stickiness.enabled', 'true'); | ||
this.setAttribute('stickiness.type', 'lb_cookie'); | ||
this.setAttribute('stickiness.lb_cookie.duration_seconds', durationSec.toString()); | ||
this.setAttribute('stickiness.lb_cookie.duration_seconds', duration.toSeconds().toString()); | ||
} | ||
@@ -59,3 +59,3 @@ /** | ||
registerConnectable(connectable, portRange) { | ||
portRange = portRange || new ec2.TcpPort(this.defaultPort); | ||
portRange = portRange || ec2.Port.tcp(this.defaultPort); | ||
// Notify all listeners that we already know about of this new connectable. | ||
@@ -229,2 +229,2 @@ // Then remember for new list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mNlZCB0YXJnZXQgdG8gYSBUYXJnZXRHcm91cFxuICAgKlxuICAgKiBNYXkgcmV0dXJuIEpTT04gdG8gZGlyZWN0bHkgYWRkIHRvIHRoZSBbVGFyZ2V0c10gbGlzdCwgb3IgcmV0dXJuIHVuZGVmaW5lZFxuICAgKiBpZiB0aGUgdGFyZ2V0IHdpbGwgcmVnaXN0ZXIgaXRzZWxmIHdpdGggdGhlIGxvYWQgYmFsYW5jZXIuXG4gICAqL1xuICBhdHRhY2hUb0FwcGxpY2F0aW9uVGFyZ2V0R3JvdXAodGFyZ2V0R3JvdXA6IEFwcGxpY2F0aW9uVGFyZ2V0R3JvdXApOiBMb2FkQmFsYW5jZXJUYXJnZXRQcm9wcztcbn1cbiJdfQ== |
@@ -1,2 +0,2 @@ | ||
import { Construct, IResource } from '@aws-cdk/cdk'; | ||
import { Construct, Duration, IResource } from '@aws-cdk/core'; | ||
import { BaseListener } from '../shared/base-listener'; | ||
@@ -130,5 +130,5 @@ import { HealthCheck } from '../shared/base-target-group'; | ||
* | ||
* @default 300 | ||
* @default Duration.minutes(5) | ||
*/ | ||
readonly deregistrationDelaySec?: number; | ||
readonly deregistrationDelay?: Duration; | ||
/** | ||
@@ -135,0 +135,0 @@ * Indicates whether Proxy Protocol version 2 is enabled. |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const cdk_1 = require("@aws-cdk/cdk"); | ||
const core_1 = require("@aws-cdk/core"); | ||
const base_listener_1 = require("../shared/base-listener"); | ||
@@ -17,3 +17,3 @@ const enums_1 = require("../shared/enums"); | ||
static fromNetworkListenerArn(scope, id, networkListenerArn) { | ||
class Import extends cdk_1.Resource { | ||
class Import extends core_1.Resource { | ||
constructor() { | ||
@@ -28,10 +28,10 @@ super(...arguments); | ||
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}`); | ||
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) { | ||
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) { | ||
if (proto !== enums_1.Protocol.TLS && certs.length > 0) { | ||
throw new Error(`Protocol must be TLS when certificates have been specified`); | ||
@@ -73,3 +73,3 @@ } | ||
const group = new network_target_group_1.NetworkTargetGroup(this, id + 'Group', { | ||
deregistrationDelaySec: props.deregistrationDelaySec, | ||
deregistrationDelay: props.deregistrationDelay, | ||
healthCheck: props.healthCheck, | ||
@@ -87,2 +87,2 @@ port: props.port, | ||
exports.NetworkListener = NetworkListener; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmV0d29yay1saXN0ZW5lci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIm5ldHdvcmstbGlzdGVuZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxzQ0FBOEQ7QUFDOUQsMkRBQXVEO0FBRXZELDJDQUFzRDtBQUV0RCxpRUFBNkc7QUE0RDdHOzs7O0dBSUc7QUFDSCxNQUFhLGVBQWdCLFNBQVEsNEJBQVk7SUFDL0M7O09BRUc7SUFDSSxNQUFNLENBQUMsc0JBQXNCLENBQUMsS0FBZ0IsRUFBRSxFQUFVLEVBQUUsa0JBQTBCO1FBQzNGL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gIC8qKlxuICAgKiBJbmRpY2F0ZXMgd2hldGhlciBQcm94eSBQcm90b2NvbCB2ZXJzaW9uIDIgaXMgZW5hYmxlZC5cbiAgICpcbiAgICogQGRlZmF1bHQgZmFsc2VcbiAgICovXG4gIHJlYWRvbmx5IHByb3h5UHJvdG9jb2xWMj86IGJvb2xlYW47XG5cbiAgLyoqXG4gICAqIEhlYWx0aCBjaGVjayBjb25maWd1cmF0aW9uXG4gICAqXG4gICAqIEBkZWZhdWx0IE5vIGhlYWx0aCBjaGVja1xuICAgKi9cbiAgcmVhZG9ubHkgaGVhbHRoQ2hlY2s/OiBIZWFsdGhDaGVjaztcbn1cbiJdfQ== |
import cloudwatch = require('@aws-cdk/aws-cloudwatch'); | ||
import ec2 = require('@aws-cdk/aws-ec2'); | ||
import { Construct } from '@aws-cdk/cdk'; | ||
import { Construct } from '@aws-cdk/core'; | ||
import { BaseLoadBalancer, BaseLoadBalancerProps, ILoadBalancerV2 } from '../shared/base-load-balancer'; | ||
@@ -5,0 +5,0 @@ import { BaseNetworkListenerProps, NetworkListener } from './network-listener'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const cloudwatch = require("@aws-cdk/aws-cloudwatch"); | ||
const cdk_1 = require("@aws-cdk/cdk"); | ||
const core_1 = require("@aws-cdk/core"); | ||
const base_load_balancer_1 = require("../shared/base-load-balancer"); | ||
@@ -14,3 +14,3 @@ const network_listener_1 = require("./network-listener"); | ||
static fromNetworkLoadBalancerAttributes(scope, id, attrs) { | ||
class Import extends cdk_1.Resource { | ||
class Import extends core_1.Resource { | ||
constructor() { | ||
@@ -185,2 +185,2 @@ super(...arguments); | ||
exports.NetworkLoadBalancer = NetworkLoadBalancer; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmV0d29yay1sb2FkLWJhbGFuY2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsibmV0d29yay1sb2FkLWJhbGFuY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2YgdGhpcyBsb2FkIGJhbGFuY2VyXG4gICAqL1xuICByZWFkb25seSBsb2FkQmFsYW5jZXJBcm46IHN0cmluZztcblxuICAvKipcbiAgICogVGhlIFZQQyB0aGlzIGxvYWQgYmFsYW5jZXIgaGFzIGJlZW4gY3JlYXRlZCBpbiAoaWYgYXZhaWxhYmxlKVxuICAgKi9cbiAgcmVhZG9ubHkgdnBjPzogZWMyLklWcGM7XG5cbiAgLyoqXG4gICAqIEFkZCBhIGxpc3RlbmVyIHRvIHRoaXMgbG9hZCBiYWxhbmNlclxuICAgKlxuICAgKiBAcmV0dXJucyBUaGUgbmV3bHkgY3JlYXRlZCBsaXN0ZW5lclxuICAgKi9cbiAgYWRkTGlzdGVuZXIoaWQ6IHN0cmluZywgcHJvcHM6IEJhc2VOZXR3b3JrTGlzdGVuZXJQcm9wcyk6IE5ldHdvcmtMaXN0ZW5lcjtcbn1cbiJdfQ== |
@@ -1,2 +0,2 @@ | ||
import cdk = require('@aws-cdk/cdk'); | ||
import cdk = require('@aws-cdk/core'); | ||
import { BaseTargetGroupProps, ITargetGroup, LoadBalancerTargetProps, TargetGroupBase, TargetGroupImportProps } from '../shared/base-target-group'; | ||
@@ -3,0 +3,0 @@ import { INetworkListener } from './network-listener'; |
@@ -18,3 +18,3 @@ "use strict"; | ||
super(scope, id, props, { | ||
protocol: enums_1.Protocol.Tcp, | ||
protocol: enums_1.Protocol.TCP, | ||
port: props.port, | ||
@@ -65,2 +65,2 @@ }); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmV0d29yay10YXJnZXQtZ3JvdXAuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJuZXR3b3JrLXRhcmdldC1ncm91cC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUNBLG1FQUNzRjtBQUN0RiwyQ0FBMkM7QUFDM0MsaURBQTZEO0FBK0I3RDs7R0FFRztBQUNILE1BQWEsa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sYW5jZXIuXG4gICAqL1xuICBhdHRhY2hUb05ldHdvcmtUYXJnZXRHcm91cCh0YXJnZXRHcm91cDogTmV0d29ya1RhcmdldEdyb3VwKTogTG9hZEJhbGFuY2VyVGFyZ2V0UHJvcHM7XG59XG4iXX0= |
@@ -1,2 +0,2 @@ | ||
import { Construct, Resource } from '@aws-cdk/cdk'; | ||
import { Construct, Resource } from '@aws-cdk/core'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Base class for listeners |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const cdk_1 = require("@aws-cdk/cdk"); | ||
const core_1 = require("@aws-cdk/core"); | ||
const elasticloadbalancingv2_generated_1 = require("../elasticloadbalancingv2.generated"); | ||
@@ -8,3 +8,3 @@ /** | ||
*/ | ||
class BaseListener extends cdk_1.Resource { | ||
class BaseListener extends core_1.Resource { | ||
constructor(scope, id, additionalProps) { | ||
@@ -15,5 +15,5 @@ super(scope, id); | ||
...additionalProps, | ||
defaultActions: cdk_1.Lazy.anyValue({ produce: () => this.defaultActions }), | ||
defaultActions: core_1.Lazy.anyValue({ produce: () => this.defaultActions }), | ||
}); | ||
this.listenerArn = resource.refAsString; | ||
this.listenerArn = resource.ref; | ||
} | ||
@@ -48,2 +48,2 @@ /** | ||
exports.BaseListener = BaseListener; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1saXN0ZW5lci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImJhc2UtbGlzdGVuZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxzQ0FBeUQ7QUFDekQsMEZBQWtFO0FBR2xFOztHQUVHO0FBQ0gsTUFBc0IsWUFBYSxTQUFRLGNBQVE7SUFRakQsWUFBWSxLQUFnQixFQUFFLEVBQVUsRUFBRSxlQUFvQjtRQUM1RCxLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQy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VmYXVsdEFjdGlvbnMubGVuZ3RoID09PSAwKSB7XG4gICAgICByZXR1cm4gWydMaXN0ZW5lciBuZWVkcyBhdCBsZWFzdCBvbmUgZGVmYXVsdCB0YXJnZXQgZ3JvdXAgKGNhbGwgYWRkVGFyZ2V0R3JvdXBzKSddO1xuICAgIH1cbiAgICByZXR1cm4gW107XG4gIH1cblxuICAvKipcbiAgICogQWRkIGFuIGFjdGlvbiB0byB0aGUgbGlzdCBvZiBkZWZhdWx0IGFjdGlvbnMgb2YgdGhpcyBsaXN0ZW5lclxuICAgKiBAaW50ZXJuYWxcbiAgICovXG4gIHByb3RlY3RlZCBfYWRkRGVmYXVsdEFjdGlvbihhY3Rpb246IENmbkxpc3RlbmVyLkFjdGlvblByb3BlcnR5KSB7XG4gICAgdGhpcy5kZWZhdWx0QWN0aW9ucy5wdXNoKGFjdGlvbik7XG4gIH1cblxuICAvKipcbiAgICogQWRkIGEgVGFyZ2V0R3JvdXAgdG8gdGhlIGxpc3Qgb2YgZGVmYXVsdCBhY3Rpb25zIG9mIHRoaXMgbGlzdGVuZXJcbiAgICogQGludGVybmFsXG4gICAqL1xuICBwcm90ZWN0ZWQgX2FkZERlZmF1bHRUYXJnZXRHcm91cCh0YXJnZXRHcm91cDogSVRhcmdldEdyb3VwKSB7XG4gICAgdGhpcy5fYWRkRGVmYXVsdEFjdGlvbih7XG4gICAgICB0YXJnZXRHcm91cEFybjogdGFyZ2V0R3JvdXAudGFyZ2V0R3JvdXBBcm4sXG4gICAgICB0eXBlOiAnZm9yd2FyZCdcbiAgICB9KTtcbiAgfVxufVxuIl19 |
import ec2 = require('@aws-cdk/aws-ec2'); | ||
import { Construct, IResource, Resource } from '@aws-cdk/cdk'; | ||
import { Construct, IResource, Resource } from '@aws-cdk/core'; | ||
/** | ||
@@ -4,0 +4,0 @@ * Shared properties of both Application and Network Load Balancers |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const ec2 = require("@aws-cdk/aws-ec2"); | ||
const cdk_1 = require("@aws-cdk/cdk"); | ||
const core_1 = require("@aws-cdk/core"); | ||
const elasticloadbalancingv2_generated_1 = require("../elasticloadbalancingv2.generated"); | ||
@@ -10,5 +10,7 @@ const util_1 = require("./util"); | ||
*/ | ||
class BaseLoadBalancer extends cdk_1.Resource { | ||
class BaseLoadBalancer extends core_1.Resource { | ||
constructor(scope, id, baseProps, additionalProps) { | ||
super(scope, id); | ||
super(scope, id, { | ||
physicalName: baseProps.loadBalancerName, | ||
}); | ||
/** | ||
@@ -19,14 +21,14 @@ * Attributes set on this load balancer | ||
const internetFacing = util_1.ifUndefined(baseProps.internetFacing, false); | ||
const vpcSubnets = util_1.ifUndefined(baseProps.vpcSubnets, { subnetType: internetFacing ? ec2.SubnetType.Public : ec2.SubnetType.Private }); | ||
const { subnetIds, internetConnectedDependency } = baseProps.vpc.selectSubnets(vpcSubnets); | ||
const vpcSubnets = util_1.ifUndefined(baseProps.vpcSubnets, { subnetType: internetFacing ? ec2.SubnetType.PUBLIC : ec2.SubnetType.PRIVATE }); | ||
const { subnetIds, internetConnectivityEstablished } = baseProps.vpc.selectSubnets(vpcSubnets); | ||
this.vpc = baseProps.vpc; | ||
const resource = new elasticloadbalancingv2_generated_1.CfnLoadBalancer(this, 'Resource', { | ||
name: baseProps.loadBalancerName, | ||
name: this.physicalName, | ||
subnets: subnetIds, | ||
scheme: internetFacing ? 'internet-facing' : 'internal', | ||
loadBalancerAttributes: cdk_1.Lazy.anyValue({ produce: () => util_1.renderAttributes(this.attributes) }), | ||
loadBalancerAttributes: core_1.Lazy.anyValue({ produce: () => util_1.renderAttributes(this.attributes) }), | ||
...additionalProps | ||
}); | ||
if (internetFacing) { | ||
resource.node.addDependency(internetConnectedDependency); | ||
resource.node.addDependency(internetConnectivityEstablished); | ||
} | ||
@@ -40,3 +42,3 @@ if (baseProps.deletionProtection) { | ||
this.loadBalancerName = resource.attrLoadBalancerName; | ||
this.loadBalancerArn = resource.refAsString; | ||
this.loadBalancerArn = resource.ref; | ||
this.loadBalancerSecurityGroups = resource.attrSecurityGroups; | ||
@@ -60,2 +62,2 @@ } | ||
exports.BaseLoadBalancer = BaseLoadBalancer; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1sb2FkLWJhbGFuY2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYmFzZS1sb2FkLWJhbGFuY2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsd0NBQXlDO0FBQ3pDLHNDQUFvRTtBQUNwRSwwRkFBc0U7QUFDdEUsaUNBQW1FO0FBMERuRTs7R0FFRztBQUNILE1BQXNCLGdCQUFpQixTQUFRLGNBQVE7SUEwRHJELFlBQVksS0FBZ0IsRUFBRSxFQUFVLEVBQUUsU0FBZ0MsRUFBRSxlQUFvQjtRQUM5RixLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQyxDQUFDO1FBTm5COztXQUVHO1FBQ2MsZUFBVSxHQUFlLEVBQUUsQ0FBQztRQUszQyxNQUFNLGNBQWMsR0FBRyxrQkFBVyxDQUFDLFNBQVMsQ0FBQyxjQUFjLEVBQUUsS0FBSyxDQUFDLENBQUM7UUFFcEUsTUFBTSxVQUFVLEdBQUcsa0JBQVcsQ0FBQyxTQUFTLENBQUMsVUFBVSxFQUNqRCxFQUFFLFVBQVUsRUFBRSxjQUFjLENBQUMsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxVQUFVLENBQUMsTUFBTSxDQUFDLENBQUMsQ0FBQyxHQUFHLENBQUMsVUFBVSxDQUFDLE9BQU8sRUFBRSxDQUFDLENBQUM7UUFFbkYsTUFBTSxFQUFFLFNBQVMsRUFBRSwyQkFBMkIsRUFBRSxHQUFHLFNBQVMsQ0FBQyxHQUFHLENBQUMsYUFBYSxDQUFDLFVBQVUsQ0FBQyxDQUFDO1FBRTNGLElBQUksQ0FBQyxHQUFHLEdBQUcsU0FB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hbWUgPSByZXNvdXJjZS5hdHRyTG9hZEJhbGFuY2VyTmFtZTtcbiAgICB0aGlzLmxvYWRCYWxhbmNlckFybiA9IHJlc291cmNlLnJlZjtcbiAgICB0aGlzLmxvYWRCYWxhbmNlclNlY3VyaXR5R3JvdXBzID0gcmVzb3VyY2UuYXR0clNlY3VyaXR5R3JvdXBzO1xuICB9XG5cbiAgLyoqXG4gICAqIFNldCBhIG5vbi1zdGFuZGFyZCBhdHRyaWJ1dGUgb24gdGhlIGxvYWQgYmFsYW5jZXJcbiAgICpcbiAgICogQHNlZSBodHRwczovL2RvY3MuYXdzLmFtYXpvbi5jb20vZWxhc3RpY2xvYWRiYWxhbmNpbmcvbGF0ZXN0L2FwcGxpY2F0aW9uL2FwcGxpY2F0aW9uLWxvYWQtYmFsYW5jZXJzLmh0bWwjbG9hZC1iYWxhbmNlci1hdHRyaWJ1dGVzXG4gICAqL1xuICBwdWJsaWMgc2V0QXR0cmlidXRlKGtleTogc3RyaW5nLCB2YWx1ZTogc3RyaW5nIHwgdW5kZWZpbmVkKSB7XG4gICAgdGhpcy5hdHRyaWJ1dGVzW2tleV0gPSB2YWx1ZTtcbiAgfVxuXG4gIC8qKlxuICAgKiBSZW1vdmUgYW4gYXR0cmlidXRlIGZyb20gdGhlIGxvYWQgYmFsYW5jZXJcbiAgICovXG4gIHB1YmxpYyByZW1vdmVBdHRyaWJ1dGUoa2V5OiBzdHJpbmcpIHtcbiAgICB0aGlzLnNldEF0dHJpYnV0ZShrZXksIHVuZGVmaW5lZCk7XG4gIH1cbn1cbiJdfQ== |
import ec2 = require('@aws-cdk/aws-ec2'); | ||
import cdk = require('@aws-cdk/cdk'); | ||
import cdk = require('@aws-cdk/core'); | ||
import { Protocol, TargetType } from './enums'; | ||
@@ -29,3 +29,3 @@ /** | ||
*/ | ||
readonly deregistrationDelaySec?: number; | ||
readonly deregistrationDelay?: cdk.Duration; | ||
/** | ||
@@ -55,5 +55,5 @@ * Health check configuration | ||
* | ||
* @default 30 | ||
* @default Duration.seconds(30) | ||
*/ | ||
readonly intervalSecs?: number; | ||
readonly interval?: cdk.Duration; | ||
/** | ||
@@ -83,9 +83,9 @@ * The ping path destination where Elastic Load Balancing sends health check requests. | ||
* | ||
* For Application Load Balancers, the range is 2–60 seconds and the | ||
* For Application Load Balancers, the range is 2-60 seconds and the | ||
* default is 5 seconds. For Network Load Balancers, this is 10 seconds for | ||
* TCP and HTTPS health checks and 6 seconds for HTTP health checks. | ||
* | ||
* @default 5 for ALBs, 10 or 6 for NLBs | ||
* @default Duration.seconds(5) for ALBs, Duration.seconds(10) or Duration.seconds(6) for NLBs | ||
*/ | ||
readonly timeoutSeconds?: number; | ||
readonly timeout?: cdk.Duration; | ||
/** | ||
@@ -92,0 +92,0 @@ * The number of consecutive health checks successes required before considering an unhealthy target healthy. |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const cdk = require("@aws-cdk/cdk"); | ||
const cdk = require("@aws-cdk/core"); | ||
const elasticloadbalancingv2_generated_1 = require("../elasticloadbalancingv2.generated"); | ||
@@ -24,4 +24,4 @@ const util_1 = require("./util"); | ||
this.targetsJson = new Array(); | ||
if (baseProps.deregistrationDelaySec !== undefined) { | ||
this.setAttribute('deregistration_delay.timeout_seconds', baseProps.deregistrationDelaySec.toString()); | ||
if (baseProps.deregistrationDelay !== undefined) { | ||
this.setAttribute('deregistration_delay.timeout_seconds', baseProps.deregistrationDelay.toString()); | ||
} | ||
@@ -37,7 +37,11 @@ this.healthCheck = baseProps.healthCheck || {}; | ||
// HEALTH CHECK | ||
healthCheckIntervalSeconds: cdk.Lazy.numberValue({ produce: () => this.healthCheck && this.healthCheck.intervalSecs }), | ||
healthCheckIntervalSeconds: cdk.Lazy.numberValue({ | ||
produce: () => this.healthCheck && this.healthCheck.interval && this.healthCheck.interval.toSeconds() | ||
}), | ||
healthCheckPath: cdk.Lazy.stringValue({ produce: () => this.healthCheck && this.healthCheck.path }), | ||
healthCheckPort: cdk.Lazy.stringValue({ produce: () => this.healthCheck && this.healthCheck.port }), | ||
healthCheckProtocol: cdk.Lazy.stringValue({ produce: () => this.healthCheck && this.healthCheck.protocol }), | ||
healthCheckTimeoutSeconds: cdk.Lazy.numberValue({ produce: () => this.healthCheck && this.healthCheck.timeoutSeconds }), | ||
healthCheckTimeoutSeconds: cdk.Lazy.numberValue({ | ||
produce: () => this.healthCheck && this.healthCheck.timeout && this.healthCheck.timeout.toSeconds() | ||
}), | ||
healthyThresholdCount: cdk.Lazy.numberValue({ produce: () => this.healthCheck && this.healthCheck.healthyThresholdCount }), | ||
@@ -51,3 +55,3 @@ unhealthyThresholdCount: cdk.Lazy.numberValue({ produce: () => this.healthCheck && this.healthCheck.unhealthyThresholdCount }), | ||
this.targetGroupLoadBalancerArns = this.resource.attrLoadBalancerArns; | ||
this.targetGroupArn = this.resource.refAsString; | ||
this.targetGroupArn = this.resource.ref; | ||
this.targetGroupFullName = this.resource.attrTargetGroupFullName; | ||
@@ -108,2 +112,2 @@ this.loadBalancerArns = this.resource.attrLoadBalancerArns.toString(); | ||
exports.loadBalancerNameFromListenerArn = loadBalancerNameFromListenerArn; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS10YXJnZXQtZ3JvdXAuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJiYXNlLXRhcmdldC1ncm91cC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUNBLG9DQUFxQztBQUNyQywwRkFBcUU7QUFFckUsaUNBQXNEO0FBNkh0RDs7R0FFRztBQUNILE1BQXNCLGVBQWdCLFNBQVEsR0FBRyxDQUFDLFNBQVM7SUF1RXpELFlBQVksS0FBb0IsRUFBRSxFQUFVLEVBQUUsU0FBK0IsRUFBRSxlQUFvQjtRQUNqRyxLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQyxDQUFDO1FBMUJuQjs7V0FFRztRQUNnQixxQ0FBZ0MsR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||
DualStack = "dualstack" | ||
DUAL_STACK = "dualstack" | ||
} | ||
@@ -22,15 +22,15 @@ /** | ||
*/ | ||
Http = "HTTP", | ||
HTTP = "HTTP", | ||
/** | ||
* HTTPS | ||
*/ | ||
Https = "HTTPS", | ||
HTTPS = "HTTPS", | ||
/** | ||
* TCP | ||
*/ | ||
Tcp = "TCP", | ||
TCP = "TCP", | ||
/** | ||
* TLS | ||
*/ | ||
Tls = "TLS" | ||
TLS = "TLS" | ||
} | ||
@@ -44,7 +44,7 @@ /** | ||
*/ | ||
Http = "HTTP", | ||
HTTP = "HTTP", | ||
/** | ||
* HTTPS | ||
*/ | ||
Https = "HTTPS" | ||
HTTPS = "HTTPS" | ||
} | ||
@@ -68,7 +68,7 @@ /** | ||
*/ | ||
Recommended = "ELBSecurityPolicy-2016-08", | ||
RECOMMENDED = "ELBSecurityPolicy-2016-08", | ||
/** | ||
* Forward secrecy ciphers only | ||
*/ | ||
ForwardSecrecy = "ELBSecurityPolicy-FS-2018-06", | ||
FORWARD_SECRECY = "ELBSecurityPolicy-FS-2018-06", | ||
/** | ||
@@ -81,3 +81,3 @@ * TLS1.2 only and no SHA ciphers | ||
*/ | ||
TLS12Ext = "ELBSecurityPolicy-TLS-1-2-Ext-2018-06", | ||
TLS12_EXT = "ELBSecurityPolicy-TLS-1-2-Ext-2018-06", | ||
/** | ||
@@ -93,3 +93,3 @@ * TLS1.1 and higher with all ciphers | ||
*/ | ||
Legacy = "ELBSecurityPolicy-TLS-1-0-2015-04" | ||
LEGACY = "ELBSecurityPolicy-TLS-1-0-2015-04" | ||
} | ||
@@ -103,7 +103,7 @@ /** | ||
*/ | ||
Instance = "instance", | ||
INSTANCE = "instance", | ||
/** | ||
* Targets identified by IP address | ||
*/ | ||
Ip = "ip" | ||
IP = "ip" | ||
} |
@@ -11,7 +11,7 @@ "use strict"; | ||
*/ | ||
IpAddressType["Ipv4"] = "ipv4"; | ||
IpAddressType["IPV4"] = "ipv4"; | ||
/** | ||
* Allocate both IPv4 and IPv6 addresses | ||
*/ | ||
IpAddressType["DualStack"] = "dualstack"; | ||
IpAddressType["DUAL_STACK"] = "dualstack"; | ||
})(IpAddressType = exports.IpAddressType || (exports.IpAddressType = {})); | ||
@@ -26,15 +26,15 @@ /** | ||
*/ | ||
Protocol["Http"] = "HTTP"; | ||
Protocol["HTTP"] = "HTTP"; | ||
/** | ||
* HTTPS | ||
*/ | ||
Protocol["Https"] = "HTTPS"; | ||
Protocol["HTTPS"] = "HTTPS"; | ||
/** | ||
* TCP | ||
*/ | ||
Protocol["Tcp"] = "TCP"; | ||
Protocol["TCP"] = "TCP"; | ||
/** | ||
* TLS | ||
*/ | ||
Protocol["Tls"] = "TLS"; | ||
Protocol["TLS"] = "TLS"; | ||
})(Protocol = exports.Protocol || (exports.Protocol = {})); | ||
@@ -49,7 +49,7 @@ /** | ||
*/ | ||
ApplicationProtocol["Http"] = "HTTP"; | ||
ApplicationProtocol["HTTP"] = "HTTP"; | ||
/** | ||
* HTTPS | ||
*/ | ||
ApplicationProtocol["Https"] = "HTTPS"; | ||
ApplicationProtocol["HTTPS"] = "HTTPS"; | ||
})(ApplicationProtocol = exports.ApplicationProtocol || (exports.ApplicationProtocol = {})); | ||
@@ -74,7 +74,7 @@ /** | ||
*/ | ||
SslPolicy["Recommended"] = "ELBSecurityPolicy-2016-08"; | ||
SslPolicy["RECOMMENDED"] = "ELBSecurityPolicy-2016-08"; | ||
/** | ||
* Forward secrecy ciphers only | ||
*/ | ||
SslPolicy["ForwardSecrecy"] = "ELBSecurityPolicy-FS-2018-06"; | ||
SslPolicy["FORWARD_SECRECY"] = "ELBSecurityPolicy-FS-2018-06"; | ||
/** | ||
@@ -87,3 +87,3 @@ * TLS1.2 only and no SHA ciphers | ||
*/ | ||
SslPolicy["TLS12Ext"] = "ELBSecurityPolicy-TLS-1-2-Ext-2018-06"; | ||
SslPolicy["TLS12_EXT"] = "ELBSecurityPolicy-TLS-1-2-Ext-2018-06"; | ||
/** | ||
@@ -99,3 +99,3 @@ * TLS1.1 and higher with all ciphers | ||
*/ | ||
SslPolicy["Legacy"] = "ELBSecurityPolicy-TLS-1-0-2015-04"; | ||
SslPolicy["LEGACY"] = "ELBSecurityPolicy-TLS-1-0-2015-04"; | ||
})(SslPolicy = exports.SslPolicy || (exports.SslPolicy = {})); | ||
@@ -110,8 +110,8 @@ /** | ||
*/ | ||
TargetType["Instance"] = "instance"; | ||
TargetType["INSTANCE"] = "instance"; | ||
/** | ||
* Targets identified by IP address | ||
*/ | ||
TargetType["Ip"] = "ip"; | ||
TargetType["IP"] = "ip"; | ||
})(TargetType = exports.TargetType || (exports.TargetType = {})); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW51bXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJlbnVtcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBOztHQUVHO0FBQ0gsSUFBWSxhQVVYO0FBVkQsV0FBWSxhQUFhO0lBQ3ZCOztPQUVHO0lBQ0gsOEJBQWEsQ0FBQTtJQUViOztPQUVHO0lBQ0gsd0NBQXVCLENBQUE7QUFDekIsQ0FBQyxFQVZXLGFBQWEsR0FBYixxQkFBYSxLQUFiLHFCQUFhLFFBVXhCO0FBRUQ7O0dBRUc7QUFDSCxJQUFZLFFBb0JYO0FBcEJELFdBQVksUUFBUTtJQUNsQjs7T0FFRztJQUNILHlCQUFhLENBQUE7SUFFYjs7T0FFRztJQUNILDJCQUFlLENBQUE7SUFFZjs7T0FFRztJQUNILHVCQUFXLENBQUE7SUFFWDs7T0FFRztJQUNILHVCQUFXLENBQUE7QUFDYixDQUFDLEVBcEJXLFFBQVEsR0FBUixnQkFBUSxLQUFSLGdCQUFRLFFBb0JuQjtBQUVEOztHQUVHO0FBQ0gsSUFBWSxtQkFVWDtBQVZELFdBQVksbUJBQW1CO0lBQzdCOztPQUVHO0lBQ0gsb0NBQWEsQ0FBQTtJQUViOztPQ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mQgaGlnaGVyIHdpdGggYWxsIGNpcGhlcnNcbiAgICovXG4gIFRMUzExID0gJ0VMQlNlY3VyaXR5UG9saWN5LVRMUy0xLTEtMjAxNy0wMScsXG5cbiAgLyoqXG4gICAqIFN1cHBvcnQgZm9yIERFUy1DQkMzLVNIQVxuICAgKlxuICAgKiBEbyBub3QgdXNlIHRoaXMgc2VjdXJpdHkgcG9saWN5IHVubGVzcyB5b3UgbXVzdCBzdXBwb3J0IGEgbGVnYWN5IGNsaWVudFxuICAgKiB0aGF0IHJlcXVpcmVzIHRoZSBERVMtQ0JDMy1TSEEgY2lwaGVyLCB3aGljaCBpcyBhIHdlYWsgY2lwaGVyLlxuICAgKi9cbiAgTEVHQUNZID0gJ0VMQlNlY3VyaXR5UG9saWN5LVRMUy0xLTAtMjAxNS0wNCcsXG59XG5cbi8qKlxuICogSG93IHRvIGludGVycHJldCB0aGUgbG9hZCBiYWxhbmNpbmcgdGFyZ2V0IGlkZW50aWZpZXJzXG4gKi9cbmV4cG9ydCBlbnVtIFRhcmdldFR5cGUge1xuICAvKipcbiAgICogVGFyZ2V0cyBpZGVudGlmaWVkIGJ5IGluc3RhbmNlIElEXG4gICAqL1xuICBJTlNUQU5DRSA9ICdpbnN0YW5jZScsXG5cbiAgLyoqXG4gICAqIFRhcmdldHMgaWRlbnRpZmllZCBieSBJUCBhZGRyZXNzXG4gICAqL1xuICBJUCA9ICdpcCcsXG59XG4iXX0= |
@@ -1,2 +0,2 @@ | ||
import cdk = require('@aws-cdk/cdk'); | ||
import cdk = require('@aws-cdk/core'); | ||
import { ITargetGroup, TargetGroupImportProps } from './base-target-group'; | ||
@@ -3,0 +3,0 @@ /** |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const cdk = require("@aws-cdk/cdk"); | ||
const cdk = require("@aws-cdk/core"); | ||
/** | ||
@@ -15,6 +15,6 @@ * Base internal class for existing target groups | ||
this.targetGroupArn = props.targetGroupArn; | ||
this.loadBalancerArns = props.loadBalancerArns || cdk.Aws.noValue; | ||
this.loadBalancerArns = props.loadBalancerArns || cdk.Aws.NO_VALUE; | ||
} | ||
} | ||
exports.ImportedTargetGroupBase = ImportedTargetGroupBase; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1wb3J0ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbXBvcnRlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLG9DQUFxQztBQUdyQzs7R0FFRztBQUNILE1BQXNCLHVCQUF3QixTQUFRLEdBQUcsQ0FBQyxTQUFTO0lBZ0JqRSxZQUFZLEtBQW9CLEVBQUUsRUFBVSxFQUFFLEtBQTZCO1FBQ3pFLEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxDQUFDLENBQUM7UUFObkI7O1dBRUc7UUFDYSx5QkFBb0IsR0FBb0IsSUFBSSxHQUFHLENBQUMsa0JBQWtCLEVBQUUsQ0FBQztRQUtuRixJQUFJLENBQUMsY0FBYyxHQUFHLEtBQUssQ0FBQyxjQUFjLENBQUM7UUFDM0MsSUFBSSxDQUFDLGdCQUFnQixHQUFHLEtBQUssQ0FBQyxnQkFBZ0IsSUFBSSxHQUFHLENBQUMsR0FBRyxDQUFDLE9BQU8sQ0FBQztJQUNwRSxDQUFDO0NBQ0Y7QUF0QkQsMERBc0JDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGNkayA9IHJlcXVpcmUoJ0Bhd3MtY2RrL2NkaycpO1xuaW1wb3J0IHsgSVRhcmdldEdyb3VwLCBUYXJnZXRHcm91cEltcG9ydFByb3BzIH0gZnJvbSAnLi9iYXNlLXRhcmdldC1ncm91cCc7XG5cbi8qKlxuICogQmFzZSBpbnRlcm5hbCBjbGFzcyBmb3IgZXhpc3RpbmcgdGFyZ2V0IGdyb3Vwc1xuICovXG5leHBvcnQgYWJzdHJhY3QgY2xhc3MgSW1wb3J0ZWRUYX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qXG4gICAqIEEgdG9rZW4gcmVwcmVzZW50aW5nIGEgbGlzdCBvZiBBUk5zIG9mIHRoZSBsb2FkIGJhbGFuY2VycyB0aGF0IHJvdXRlIHRyYWZmaWMgdG8gdGhpcyB0YXJnZXQgZ3JvdXBcbiAgICovXG4gIHB1YmxpYyByZWFkb25seSBsb2FkQmFsYW5jZXJBcm5zOiBzdHJpbmc7XG5cbiAgLyoqXG4gICAqIFJldHVybiBhbiBvYmplY3QgdG8gZGVwZW5kIG9uIHRoZSBsaXN0ZW5lcnMgYWRkZWQgdG8gdGhpcyB0YXJnZXQgZ3JvdXBcbiAgICovXG4gIHB1YmxpYyByZWFkb25seSBsb2FkQmFsYW5jZXJBdHRhY2hlZDogY2RrLklEZXBlbmRhYmxlID0gbmV3IGNkay5Db25jcmV0ZURlcGVuZGFibGUoKTtcblxuICBjb25zdHJ1Y3RvcihzY29wZTogY2RrLkNvbnN0cnVjdCwgaWQ6IHN0cmluZywgcHJvcHM6IFRhcmdldEdyb3VwSW1wb3J0UHJvcHMpIHtcbiAgICBzdXBlcihzY29wZSwgaWQpO1xuXG4gICAgdGhpcy50YXJnZXRHcm91cEFybiA9IHByb3BzLnRhcmdldEdyb3VwQXJuO1xuICAgIHRoaXMubG9hZEJhbGFuY2VyQXJucyA9IHByb3BzLmxvYWRCYWxhbmNlckFybnMgfHwgY2RrLkF3cy5OT19WQUxVRTtcbiAgfVxufVxuIl19 |
@@ -41,3 +41,3 @@ "use strict"; | ||
return { | ||
targetType: enums_1.TargetType.Instance, | ||
targetType: enums_1.TargetType.INSTANCE, | ||
targetJson: { id: this.instanceId, port: this.port } | ||
@@ -107,3 +107,3 @@ }; | ||
return { | ||
targetType: enums_1.TargetType.Ip, | ||
targetType: enums_1.TargetType.IP, | ||
targetJson: { id: this.ipAddress, port: this.port, availabilityZone: this.availabilityZone } | ||
@@ -114,2 +114,2 @@ }; | ||
exports.IpTarget = IpTarget; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJz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Qcm9wcyB7XG4gICAgcmV0dXJuIHtcbiAgICAgIHRhcmdldFR5cGU6IFRhcmdldFR5cGUuSVAsXG4gICAgICB0YXJnZXRKc29uOiB7IGlkOiB0aGlzLmlwQWRkcmVzcywgcG9ydDogdGhpcy5wb3J0LCBhdmFpbGFiaWxpdHlab25lOiB0aGlzLmF2YWlsYWJpbGl0eVpvbmUgfVxuICAgIH07XG4gIH1cbn1cbiJdfQ== |
@@ -22,4 +22,4 @@ "use strict"; | ||
switch (proto) { | ||
case enums_1.ApplicationProtocol.Http: return 80; | ||
case enums_1.ApplicationProtocol.Https: return 443; | ||
case enums_1.ApplicationProtocol.HTTP: return 80; | ||
case enums_1.ApplicationProtocol.HTTPS: return 443; | ||
default: | ||
@@ -39,6 +39,6 @@ throw new Error(`Unrecognized protocol: ${proto}`); | ||
case 8080: | ||
return enums_1.ApplicationProtocol.Http; | ||
return enums_1.ApplicationProtocol.HTTP; | ||
case 443: | ||
case 8443: | ||
return enums_1.ApplicationProtocol.Https; | ||
return enums_1.ApplicationProtocol.HTTPS; | ||
default: | ||
@@ -72,2 +72,2 @@ throw new Error(`Don't know default protocol for port: ${port}; please supply a protocol`); | ||
exports.ifUndefined = ifUndefined; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInV0aWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxtQ0FBOEM7QUFJOUM7O0dBRUc7QUFDSCxTQUFnQixnQkFBZ0IsQ0FBQyxVQUFzQjtJQUNyRCxNQUFNLEdBQUcsR0FBVSxFQUFFLENBQUM7SUFDdEIsS0FBSyxNQUFNLENBQUMsR0FBRyxFQUFFLEtBQUssQ0FBQyxJQUFJLE1BQU0sQ0FBQyxPQUFPLENBQUMsVUFBVSxDQUFDLEVBQUU7UUFDckQsSUFBSSxLQUFLLEtBQUssU0FBUyxFQU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9IGRlZmF1bHRQb3J0Rm9yUHJvdG9jb2wocHJvdG9jb2whKTsgfVxuXG4gIHJldHVybiBbcHJvdG9jb2wsIHBvcnRdO1xufVxuXG4vKipcbiAqIEhlbHBlciBmdW5jdGlvbiB0byBkZWZhdWx0IHVuZGVmaW5lZCBpbnB1dCBwcm9wc1xuICovXG5leHBvcnQgZnVuY3Rpb24gaWZVbmRlZmluZWQ8VD4oeDogVCB8IHVuZGVmaW5lZCwgZGVmOiBUKSB7XG4gIHJldHVybiB4ICE9PSB1bmRlZmluZWQgPyB4IDogZGVmO1xufVxuIl19 |
{ | ||
"name": "@aws-cdk/aws-elasticloadbalancingv2", | ||
"version": "0.35.0", | ||
"version": "0.36.0", | ||
"description": "The CDK Construct Library for AWS::ElasticLoadBalancingV2", | ||
@@ -66,24 +66,24 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^0.35.0", | ||
"cdk-build-tools": "^0.35.0", | ||
"cdk-integ-tools": "^0.35.0", | ||
"cfn2ts": "^0.35.0", | ||
"pkglint": "^0.35.0" | ||
"@aws-cdk/assert": "^0.36.0", | ||
"cdk-build-tools": "^0.36.0", | ||
"cdk-integ-tools": "^0.36.0", | ||
"cfn2ts": "^0.36.0", | ||
"pkglint": "^0.36.0" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/aws-certificatemanager": "^0.35.0", | ||
"@aws-cdk/aws-cloudwatch": "^0.35.0", | ||
"@aws-cdk/aws-ec2": "^0.35.0", | ||
"@aws-cdk/aws-iam": "^0.35.0", | ||
"@aws-cdk/aws-s3": "^0.35.0", | ||
"@aws-cdk/cdk": "^0.35.0" | ||
"@aws-cdk/aws-certificatemanager": "^0.36.0", | ||
"@aws-cdk/aws-cloudwatch": "^0.36.0", | ||
"@aws-cdk/aws-ec2": "^0.36.0", | ||
"@aws-cdk/aws-iam": "^0.36.0", | ||
"@aws-cdk/aws-s3": "^0.36.0", | ||
"@aws-cdk/core": "^0.36.0" | ||
}, | ||
"homepage": "https://github.com/awslabs/aws-cdk", | ||
"peerDependencies": { | ||
"@aws-cdk/aws-certificatemanager": "^0.35.0", | ||
"@aws-cdk/aws-cloudwatch": "^0.35.0", | ||
"@aws-cdk/aws-ec2": "^0.35.0", | ||
"@aws-cdk/aws-iam": "^0.35.0", | ||
"@aws-cdk/aws-s3": "^0.35.0", | ||
"@aws-cdk/cdk": "^0.35.0" | ||
"@aws-cdk/aws-certificatemanager": "^0.36.0", | ||
"@aws-cdk/aws-cloudwatch": "^0.36.0", | ||
"@aws-cdk/aws-ec2": "^0.36.0", | ||
"@aws-cdk/aws-iam": "^0.36.0", | ||
"@aws-cdk/aws-s3": "^0.36.0", | ||
"@aws-cdk/core": "^0.36.0" | ||
}, | ||
@@ -97,3 +97,5 @@ "engines": { | ||
"construct-ctor:@aws-cdk/aws-elasticloadbalancingv2.BaseLoadBalancer.<initializer>", | ||
"construct-ctor:@aws-cdk/aws-elasticloadbalancingv2.TargetGroupBase.<initializer>" | ||
"construct-ctor:@aws-cdk/aws-elasticloadbalancingv2.TargetGroupBase.<initializer>", | ||
"props-physical-name:@aws-cdk/aws-elasticloadbalancingv2.ApplicationListenerProps", | ||
"props-physical-name:@aws-cdk/aws-elasticloadbalancingv2.NetworkListenerProps" | ||
] | ||
@@ -100,0 +102,0 @@ }, |
@@ -5,4 +5,4 @@ "use strict"; | ||
const s3 = require("@aws-cdk/aws-s3"); | ||
const cdk = require("@aws-cdk/cdk"); | ||
const cdk_1 = require("@aws-cdk/cdk"); | ||
const cdk = require("@aws-cdk/core"); | ||
const core_1 = require("@aws-cdk/core"); | ||
const elbv2 = require("../../lib"); | ||
@@ -25,3 +25,2 @@ module.exports = { | ||
{ Ref: "StackPublicSubnet2Subnet3C7D2288" }, | ||
{ Ref: "StackPublicSubnet3SubnetCC1055D9" } | ||
], | ||
@@ -46,3 +45,2 @@ Type: "application" | ||
'StackPublicSubnet2DefaultRoute0319539B', | ||
'StackPublicSubnet3DefaultRouteBC0DA152' | ||
] | ||
@@ -64,3 +62,2 @@ }, assert_1.ResourcePart.CompleteDefinition)); | ||
{ Ref: "StackPrivateSubnet2SubnetA2F8EDD8" }, | ||
{ Ref: "StackPrivateSubnet3Subnet28548F2E" } | ||
], | ||
@@ -80,3 +77,3 @@ Type: "application" | ||
http2Enabled: false, | ||
idleTimeoutSecs: 1000, | ||
idleTimeout: cdk.Duration.seconds(1000), | ||
}); | ||
@@ -133,3 +130,6 @@ // THEN | ||
Principal: { AWS: { "Fn::Join": ["", ["arn:", { Ref: "AWS::Partition" }, ":iam::127311923021:root"]] } }, | ||
Resource: { "Fn::Join": ["", [{ "Fn::GetAtt": ["AccessLoggingBucketA6D88F29", "Arn"] }, "/*"]] } | ||
Resource: { | ||
"Fn::Join": ["", [{ "Fn::GetAtt": ["AccessLoggingBucketA6D88F29", "Arn"] }, "/AWSLogs/", | ||
{ Ref: "AWS::AccountId" }, "/*"]] | ||
} | ||
} | ||
@@ -180,3 +180,6 @@ ] | ||
Principal: { AWS: { "Fn::Join": ["", ["arn:", { Ref: "AWS::Partition" }, ":iam::127311923021:root"]] } }, | ||
Resource: { "Fn::Join": ["", [{ "Fn::GetAtt": ["AccessLoggingBucketA6D88F29", "Arn"] }, "/prefix-of-access-logs*"]] } | ||
Resource: { | ||
"Fn::Join": ["", [{ "Fn::GetAtt": ["AccessLoggingBucketA6D88F29", "Arn"] }, "/prefix-of-access-logs/AWSLogs/", | ||
{ Ref: "AWS::AccountId" }, "/*"]] | ||
} | ||
} | ||
@@ -202,4 +205,4 @@ ] | ||
metrics.push(lb.metricElbAuthSuccess()); | ||
metrics.push(lb.metricHttpCodeElb(elbv2.HttpCodeElb.Elb3xxCount)); | ||
metrics.push(lb.metricHttpCodeTarget(elbv2.HttpCodeTarget.Target3xxCount)); | ||
metrics.push(lb.metricHttpCodeElb(elbv2.HttpCodeElb.ELB_3XX_COUNT)); | ||
metrics.push(lb.metricHttpCodeTarget(elbv2.HttpCodeTarget.TARGET_3XX_COUNT)); | ||
metrics.push(lb.metricHttpFixedResponseCount()); | ||
@@ -228,3 +231,3 @@ metrics.push(lb.metricHttpRedirectCount()); | ||
// GIVEN | ||
const stack = new cdk_1.Stack(); | ||
const stack = new core_1.Stack(); | ||
const vpc = new ec2.Vpc(stack, 'Stack'); | ||
@@ -243,2 +246,2 @@ // WHEN | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC5sb2FkLWJhbGFuY2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsidGVzdC5sb2FkLWJhbGFuY2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSw0Q0FBcUU7QUFDckUsd0NBQXlDO0FBQ3pDLHNDQUF1QztBQUN2QyxvQ0FBcUM7QUFDckMsc0NBQXFDO0FBRXJDLG1DQUFvQztBQUVwQyxpQkFBUztJQUNQLHVDQUF1QyxDQUFDLElBQVU7UUFDaEQsUUFBUTtRQUNSLE1BQU0sS0FBSyxHQUFHLElBQUksR0FBRyxDQUFDLEtBQUssRUFBRSxDQUFDO1FBQzlCLE1BQU0sR0FBRyxHQUFHLElBQUksR0FBRyxDQUFDLEdBQUcsQ0FBQyxLQUFLLEVBQUUsT0FBTyxDQUFDLENBQUM7UUFFeEMsT0FBTztRQUNQLElBQUksS0FBSyxDQUFDLHVCQUF1QixDQUFDLEtBQUssRUFBRSxJQUFJLEVBQUU7WUFDN0MsR0FBRztZQUNILGNBQWMsRUFBRSxJQUFJO1NBQ3JCLENBQUMsQ0FBQztRQUVILE9BQU87UUFDUCxlQUFNLENBQUMsS0FBSyxDQUFDLENBQUMsRUFBRSxDQUFDLHFCQUFZLENBQUMsMkNBQTJDLEVBQUU7WUFDekUsTUFBTSxFQUFFLGlCQUFpQjtZQUN6QixPQUFPLEVBQUU7Z0JBQ1AsRUFBRSxHQUFHLEVBQUUsa0NBQWtDLEVBQUU7Z0JBQzNDLEVBQUUsR0FBRyxFQUFFL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G4gICAgY29uc3Qgc3RhY2sgPSBuZXcgU3RhY2soKTtcbiAgICBjb25zdCB2cGMgPSBuZXcgZWMyLlZwYyhzdGFjaywgJ1N0YWNrJyk7XG5cbiAgICAvLyBXSEVOXG4gICAgbmV3IGVsYnYyLkFwcGxpY2F0aW9uTG9hZEJhbGFuY2VyKHN0YWNrLCAnQUxCJywge1xuICAgICAgbG9hZEJhbGFuY2VyTmFtZTogJ215TG9hZEJhbGFuY2VyJyxcbiAgICAgIHZwY1xuICAgIH0pO1xuXG4gICAgLy8gVEhFTlxuICAgIGV4cGVjdChzdGFjaykudG8oaGF2ZVJlc291cmNlKCdBV1M6OkVsYXN0aWNMb2FkQmFsYW5jaW5nVjI6OkxvYWRCYWxhbmNlcicsIHtcbiAgICAgIE5hbWU6ICdteUxvYWRCYWxhbmNlcidcbiAgICB9KSk7XG4gICAgdGVzdC5kb25lKCk7XG4gIH0sXG59O1xuIl19 |
"use strict"; | ||
const assert_1 = require("@aws-cdk/assert"); | ||
const ec2 = require("@aws-cdk/aws-ec2"); | ||
const cdk = require("@aws-cdk/cdk"); | ||
const cdk = require("@aws-cdk/core"); | ||
const elbv2 = require("../../lib"); | ||
@@ -215,2 +215,2 @@ const helpers_1 = require("../helpers"); | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC5zZWN1cml0eS1ncm91cHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJ0ZXN0LnNlY3VyaXR5LWdyb3Vwcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsNENBQXVEO0FBQ3ZELHdDQUF5QztBQUN6QyxvQ0FBcUM7QUFFckMsbUNBQW9DO0FBQ3BDLHdDQUF1RDtBQTRNdkQsTUFBTSxpQkFBaUIsR0FBRyxFQUFFLFlBQVksRUFBRSxDQUFFLHlCQUF5QixFQUFFLFNBQVMsQ0FBRSxFQUFFLENBQUM7QUFDckYsTUF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IH0pO1xuXG4gICAgY3JlYXRlTGlzdGVuZXIgPSBjcmVhdGVMaXN0ZW5lciA9PT0gdW5kZWZpbmVkID8gdHJ1ZSA6IGNyZWF0ZUxpc3RlbmVyO1xuICAgIGlmIChjcmVhdGVMaXN0ZW5lcikge1xuICAgICAgdGhpcy5saXN0ZW5lciA9IHRoaXMubGIuYWRkTGlzdGVuZXIoJ0xpc3RlbmVyJywgeyBwb3J0OiA4MCwgb3BlbjogZmFsc2UgfSk7XG4gICAgfVxuICB9XG59XG4iXX0= |
import ec2 = require('@aws-cdk/aws-ec2'); | ||
import cdk = require('@aws-cdk/cdk'); | ||
import cdk = require('@aws-cdk/core'); | ||
import elbv2 = require('../lib'); | ||
@@ -4,0 +4,0 @@ export declare class FakeSelfRegisteringTarget extends cdk.Construct implements elbv2.IApplicationLoadBalancerTarget, elbv2.INetworkLoadBalancerTarget, ec2.IConnectable { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const ec2 = require("@aws-cdk/aws-ec2"); | ||
const cdk = require("@aws-cdk/cdk"); | ||
const cdk = require("@aws-cdk/core"); | ||
const elbv2 = require("../lib"); | ||
@@ -16,9 +16,9 @@ class FakeSelfRegisteringTarget extends cdk.Construct { | ||
targetGroup.registerConnectable(this); | ||
return { targetType: elbv2.TargetType.Instance }; | ||
return { targetType: elbv2.TargetType.INSTANCE }; | ||
} | ||
attachToNetworkTargetGroup(_targetGroup) { | ||
return { targetType: elbv2.TargetType.Instance }; | ||
return { targetType: elbv2.TargetType.INSTANCE }; | ||
} | ||
} | ||
exports.FakeSelfRegisteringTarget = FakeSelfRegisteringTarget; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVscGVycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImhlbHBlcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx3Q0FBeUM7QUFDekMsb0NBQXFDO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BcHBsaWNhdGlvblRhcmdldEdyb3VwKTogZWxidjIuTG9hZEJhbGFuY2VyVGFyZ2V0UHJvcHMge1xuICAgIHRhcmdldEdyb3VwLnJlZ2lzdGVyQ29ubmVjdGFibGUodGhpcyk7XG4gICAgcmV0dXJuIHsgdGFyZ2V0VHlwZTogZWxidjIuVGFyZ2V0VHlwZS5JTlNUQU5DRSB9O1xuICB9XG5cbiAgcHVibGljIGF0dGFjaFRvTmV0d29ya1RhcmdldEdyb3VwKF90YXJnZXRHcm91cDogZWxidjIuTmV0d29ya1RhcmdldEdyb3VwKTogZWxidjIuTG9hZEJhbGFuY2VyVGFyZ2V0UHJvcHMge1xuICAgIHJldHVybiB7IHRhcmdldFR5cGU6IGVsYnYyLlRhcmdldFR5cGUuSU5TVEFOQ0UgfTtcbiAgfVxufVxuIl19 |
@@ -5,3 +5,3 @@ #!/usr/bin/env node | ||
const ec2 = require("@aws-cdk/aws-ec2"); | ||
const cdk = require("@aws-cdk/cdk"); | ||
const cdk = require("@aws-cdk/core"); | ||
const elbv2 = require("../lib"); | ||
@@ -39,2 +39,2 @@ const app = new cdk.App(); | ||
app.synth(); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZWcuYWxiLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiaW50ZWcuYWxiLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUNBLHdDQUF5QztBQUN6QyxvQ0FBcUM7QUFDckMsZ0NBQWlDO0FBRWpDLE1BQU0sR0FBRyxHQUFHLElBQUksR0FBRyxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQzFCLE1BQU0sS0FBSyxHQUFHLElBQUksR0FBRyxDQUFDLEtBQUssQ0FBQyxHQUFHLEVBQUUscUJBQXFCLENBQUMsQ0FBQztBQUV4RCxNQUFNLEdBQUcsR0FBRyxJQUFJLEdBQUcsQ0FBQyxHQUFHLENBQUMsS0FBSy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sXG4gIGV2YWx1YXRpb25QZXJpb2RzOiAyLFxufSk7XG5cbmdyb3VwMi5tZXRyaWNUYXJnZXRSZXNwb25zZVRpbWUoKS5jcmVhdGVBbGFybShzdGFjaywgJ1Jlc3BvbnNlVGltZUhpZ2gyJywge1xuICB0aHJlc2hvbGQ6IDUsXG4gIGV2YWx1YXRpb25QZXJpb2RzOiAyLFxufSk7XG5cbmFwcC5zeW50aCgpO1xuIl19 |
@@ -5,3 +5,3 @@ #!/usr/bin/env node | ||
const ec2 = require("@aws-cdk/aws-ec2"); | ||
const cdk = require("@aws-cdk/cdk"); | ||
const cdk = require("@aws-cdk/core"); | ||
const elbv2 = require("../lib"); | ||
@@ -24,5 +24,5 @@ const app = new cdk.App(); | ||
}); | ||
group.node.addDependency(...vpc.internetDependencies); | ||
group.node.addDependency(vpc.internetConnectivityEstablished); | ||
// The target's security group must allow being routed by the LB and the clients. | ||
app.synth(); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZWcubmxiLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiaW50ZWcubmxiLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUNBLHdDQUF5QztBQUN6QyxvQ0FBcUM7QUFDckMsZ0NBQWlDO0FBRWpDLE1BQU0sR0FBRyxHQUFHLElBQUksR0FBRyxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQzFCLE1BQU0sS0FBSyxHQUFHLElBQUksR0FBRyxDQUFDLEtBQUssQ0FBQyxHQUFHLEVBQUUscUJBQXFCLENBQUMsQ0FBQztBQUV4RCxNQUFNLEdBQUcsR0FBRyxJQUFJLEdBQUcsQ0FBQyxHQUFHLENBQUMsS0FBSyxFQUFFLEtBQUssRUFBRTtJQUNwQyxNQUFNLEVBQUUsQ0FBQztDQUNWLENBQUMsQ0FBQztBQUVILE1BQU0sRUFBRSxHQUFHLElBQUksS0FBSyxDQUFDLG1CQUF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GMsXG4gIGludGVybmV0RmFjaW5nOiB0cnVlXG59KTtcblxuY29uc3QgbGlzdGVuZXIgPSBsYi5hZGRMaXN0ZW5lcignTGlzdGVuZXInLCB7XG4gIHBvcnQ6IDQ0Myxcbn0pO1xuXG5jb25zdCBncm91cCA9IGxpc3RlbmVyLmFkZFRhcmdldHMoJ1RhcmdldCcsIHtcbiAgcG9ydDogNDQzLFxuICB0YXJnZXRzOiBbbmV3IGVsYnYyLklwVGFyZ2V0KCcxMC4wLjEuMScpXVxufSk7XG5cbmdyb3VwLm5vZGUuYWRkRGVwZW5kZW5jeSh2cGMuaW50ZXJuZXRDb25uZWN0aXZpdHlFc3RhYmxpc2hlZCk7XG5cbi8vIFRoZSB0YXJnZXQncyBzZWN1cml0eSBncm91cCBtdXN0IGFsbG93IGJlaW5nIHJvdXRlZCBieSB0aGUgTEIgYW5kIHRoZSBjbGllbnRzLlxuXG5hcHAuc3ludGgoKTtcbiJdfQ== |
@@ -5,3 +5,3 @@ "use strict"; | ||
const ec2 = require("@aws-cdk/aws-ec2"); | ||
const cdk = require("@aws-cdk/cdk"); | ||
const cdk = require("@aws-cdk/core"); | ||
const elbv2 = require("../../lib"); | ||
@@ -95,4 +95,4 @@ const helpers_1 = require("../helpers"); | ||
group.configureHealthCheck({ | ||
timeoutSeconds: 3600, | ||
intervalSecs: 30, | ||
timeout: cdk.Duration.hours(1), | ||
interval: cdk.Duration.seconds(30), | ||
path: '/test', | ||
@@ -147,3 +147,3 @@ }); | ||
port: 443, | ||
protocol: elbv2.Protocol.Tls, | ||
protocol: elbv2.Protocol.TLS, | ||
certificates: [{ certificateArn: cert.certificateArn }], | ||
@@ -170,3 +170,3 @@ sslPolicy: elbv2.SslPolicy.TLS12, | ||
port: 443, | ||
protocol: elbv2.Protocol.Http, | ||
protocol: elbv2.Protocol.HTTP, | ||
defaultTargetGroups: [new elbv2.NetworkTargetGroup(stack, 'Group', { vpc, port: 80 })] | ||
@@ -182,3 +182,3 @@ }), Error, '/The protocol must be either TCP or TLS. Found HTTP/'); | ||
port: 443, | ||
protocol: elbv2.Protocol.Tls, | ||
protocol: elbv2.Protocol.TLS, | ||
defaultTargetGroups: [new elbv2.NetworkTargetGroup(stack, 'Group', { vpc, port: 80 })] | ||
@@ -197,3 +197,3 @@ }), Error, '/When the protocol is set to TLS, you must specify certificates/'); | ||
port: 443, | ||
protocol: elbv2.Protocol.Tcp, | ||
protocol: elbv2.Protocol.TCP, | ||
certificates: [{ certificateArn: cert.certificateArn }], | ||
@@ -205,2 +205,2 @@ defaultTargetGroups: [new elbv2.NetworkTargetGroup(stack, 'Group', { vpc, port: 80 })] | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC5saXN0ZW5lci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInRlc3QubGlzdGVuZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLDRDQUFtRTtBQUNuRSx1REFBd0Q7QUFDeEQsd0NBQXlDO0FBQ3pDLG9DQUFxQztBQUVyQyxtQ0FBb0M7QUFDcEMsd0NBQXVEO0FBNE52RCxNQUFNLHdCQUF5QixTQUFRLEdBQUcsQ0FBQyxXQUFXO0lBQ3BELFlBQVksS0FBb0IsRUFBRSxFQUFVLEVBQUUsV0FBK0I7UUFDM0UsS0FBSyxDQUFDLEtBQUssRUFBRSxFQUFFLEVBQUUsRUFBRSxJQUFJLEVBQUUsZ0JBQWdCLEVBQUUsQ0FBQyxDQUFDO1FBQzdDLElBQUksQ0FBQyxJQUFJLENBQUMsYUFBYSxDQUFDLFdBQVcsQ0FBQyxvQkFBb0IsQ0FBQyxDQUFDO0lBQzVELENBQUM7Q0FDRjtBQS9ORCxpQkFBUztJQUNQLHNCQUFzQixDQUFDLElBQVU7UUFDL0IsUUFBUTtRQUNSLE1BQU0sS0FBSyxHQUFHLElBQUksR0FBRyxDQUFDLEtBQUssRUFBRSxDQUFDO1F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tLkNlcnRpZmljYXRlKHN0YWNrLCAnQ2VydGlmaWNhdGUnLCB7XG4gICAgICBkb21haW5OYW1lOiAnZXhhbXBsZS5jb20nXG4gICAgfSk7XG5cbiAgICB0ZXN0LnRocm93cygoKSA9PiBsYi5hZGRMaXN0ZW5lcignTGlzdGVuZXInLCB7XG4gICAgICBwb3J0OiA0NDMsXG4gICAgICBwcm90b2NvbDogZWxidjIuUHJvdG9jb2wuVENQLFxuICAgICAgY2VydGlmaWNhdGVzOiBbIHsgY2VydGlmaWNhdGVBcm46IGNlcnQuY2VydGlmaWNhdGVBcm4gfSBdLFxuICAgICAgZGVmYXVsdFRhcmdldEdyb3VwczogW25ldyBlbGJ2Mi5OZXR3b3JrVGFyZ2V0R3JvdXAoc3RhY2ssICdHcm91cCcsIHsgdnBjLCBwb3J0OiA4MCB9KV1cbiAgICB9KSwgRXJyb3IsICcvUHJvdG9jb2wgbXVzdCBiZSBUTFMgd2hlbiBjZXJ0aWZpY2F0ZXMgaGF2ZSBiZWVuIHNwZWNpZmllZC8nKTtcblxuICAgIHRlc3QuZG9uZSgpO1xuICB9LFxufTtcblxuY2xhc3MgUmVzb3VyY2VXaXRoTEJEZXBlbmRlbmN5IGV4dGVuZHMgY2RrLkNmblJlc291cmNlIHtcbiAgY29uc3RydWN0b3Ioc2NvcGU6IGNkay5Db25zdHJ1Y3QsIGlkOiBzdHJpbmcsIHRhcmdldEdyb3VwOiBlbGJ2Mi5JVGFyZ2V0R3JvdXApIHtcbiAgICBzdXBlcihzY29wZSwgaWQsIHsgdHlwZTogJ1Rlc3Q6OlJlc291cmNlJyB9KTtcbiAgICB0aGlzLm5vZGUuYWRkRGVwZW5kZW5jeSh0YXJnZXRHcm91cC5sb2FkQmFsYW5jZXJBdHRhY2hlZCk7XG4gIH1cbn1cbiJdfQ== |
"use strict"; | ||
const assert_1 = require("@aws-cdk/assert"); | ||
const ec2 = require("@aws-cdk/aws-ec2"); | ||
const cdk = require("@aws-cdk/cdk"); | ||
const cdk = require("@aws-cdk/core"); | ||
const elbv2 = require("../../lib"); | ||
@@ -22,3 +22,2 @@ module.exports = { | ||
{ Ref: "StackPublicSubnet2Subnet3C7D2288" }, | ||
{ Ref: "StackPublicSubnet3SubnetCC1055D9" } | ||
], | ||
@@ -41,3 +40,2 @@ Type: "network" | ||
{ Ref: "StackPrivateSubnet2SubnetA2F8EDD8" }, | ||
{ Ref: "StackPrivateSubnet3Subnet28548F2E" } | ||
], | ||
@@ -84,2 +82,2 @@ Type: "network" | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC5sb2FkLWJhbGFuY2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsidGVzdC5sb2FkLWJhbGFuY2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSw0Q0FBdUQ7QUFDdkQsd0NBQXlDO0FBQ3pDLG9DQUFxQztBQUVyQyxtQ0FBb0M7QUFFcEMsaUJBQVM7SUFDUCx1Q0FBdUMsQ0FBQyxJQUFVO1FBQ2hELFFBQVE7UUFDUixNQUFNLEtBQUssR0FBRyxJQUFJLEdBQUcsQ0FBQyxLQUFLLEVBQUUsQ0FBQztRQUM5QixNQUFNLEdBQUcsR0FBRyxJQUFJLEdBQUcsQ0FBQyxHQUFHLENBQUMsS0FBSyxFQUFFLE9BQU8sQ0FBQyxDQUFDO1FBRXhDLE9BQU87UUFDUCxJQUFJLEtBQUssQ0FBQyxtQkFBbUIsQ0FBQyxLQUFLLEVBQUUsSUFBSSxFQUFFO1lBQ3pDLEdBQUc7WUFDSCxjQUFjLEVBQUUsSUFBSTtTQUNyQixDQUFDLENBQUM7UUFFSCxPQUFPO1FBQ1AsZUFBTSxDQUFDLEtBQUssQ0FBQyxDQUFDLEVBQUUsQ0FBQyxxQkFBWSxDQUFDLDJDQUEyQyxFQUFFO1lBQ3pFLE1BQU0sRUFBRSxpQkFBaUI7WUFDekIsT0F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0FXUzo6RWxhc3RpY0xvYWRCYWxhbmNpbmdWMjo6TG9hZEJhbGFuY2VyJywge1xuICAgICAgTG9hZEJhbGFuY2VyQXR0cmlidXRlczogW1xuICAgICAgICB7XG4gICAgICAgICAgS2V5OiBcImxvYWRfYmFsYW5jaW5nLmNyb3NzX3pvbmUuZW5hYmxlZFwiLFxuICAgICAgICAgIFZhbHVlOiBcInRydWVcIlxuICAgICAgICB9XG4gICAgICBdXG4gICAgfSkpO1xuXG4gICAgdGVzdC5kb25lKCk7XG4gIH0sXG5cbiAgJ2xvYWRCYWxhbmNlck5hbWUnKHRlc3Q6IFRlc3QpIHtcbiAgICAvLyBHSVZFTlxuICAgIGNvbnN0IHN0YWNrID0gbmV3IGNkay5TdGFjaygpO1xuICAgIGNvbnN0IHZwYyA9IG5ldyBlYzIuVnBjKHN0YWNrLCAnU3RhY2snKTtcblxuICAgIC8vIFdIRU5cbiAgICBuZXcgZWxidjIuTmV0d29ya0xvYWRCYWxhbmNlcihzdGFjaywgJ0FMQicsIHtcbiAgICAgIGxvYWRCYWxhbmNlck5hbWU6ICdteUxvYWRCYWxhbmNlcicsXG4gICAgICB2cGNcbiAgICB9KTtcblxuICAgIC8vIFRIRU5cbiAgICBleHBlY3Qoc3RhY2spLnRvKGhhdmVSZXNvdXJjZSgnQVdTOjpFbGFzdGljTG9hZEJhbGFuY2luZ1YyOjpMb2FkQmFsYW5jZXInLCB7XG4gICAgICBOYW1lOiAnbXlMb2FkQmFsYW5jZXInXG4gICAgfSkpO1xuICAgIHRlc3QuZG9uZSgpO1xuICB9XG5cbn07XG4iXX0= |
@@ -53,3 +53,3 @@ { | ||
{ | ||
"path": "../cdk" | ||
"path": "../core" | ||
}, | ||
@@ -56,0 +56,0 @@ { |
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
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
1359959
9155
+ Added@aws-cdk/core@^0.36.0
+ Added@aws-cdk/assets@0.36.2(transitive)
+ Added@aws-cdk/aws-certificatemanager@0.36.2(transitive)
+ Added@aws-cdk/aws-cloudformation@0.36.2(transitive)
+ Added@aws-cdk/aws-cloudwatch@0.36.2(transitive)
+ Added@aws-cdk/aws-ec2@0.36.2(transitive)
+ Added@aws-cdk/aws-events@0.36.2(transitive)
+ Added@aws-cdk/aws-iam@0.36.2(transitive)
+ Added@aws-cdk/aws-kms@0.36.2(transitive)
+ Added@aws-cdk/aws-lambda@0.36.2(transitive)
+ Added@aws-cdk/aws-logs@0.36.2(transitive)
+ Added@aws-cdk/aws-route53@0.36.2(transitive)
+ Added@aws-cdk/aws-s3@0.36.2(transitive)
+ Added@aws-cdk/aws-s3-assets@0.36.2(transitive)
+ Added@aws-cdk/aws-sns@0.36.2(transitive)
+ Added@aws-cdk/aws-sqs@0.36.2(transitive)
+ Added@aws-cdk/aws-ssm@0.36.2(transitive)
+ Added@aws-cdk/core@0.36.2(transitive)
+ Added@aws-cdk/cx-api@0.36.2(transitive)
+ Added@aws-cdk/region-info@0.36.2(transitive)
- Removed@aws-cdk/cdk@^0.35.0
- Removed@aws-cdk/assets@0.35.0(transitive)
- Removed@aws-cdk/aws-certificatemanager@0.35.0(transitive)
- Removed@aws-cdk/aws-cloudformation@0.35.0(transitive)
- Removed@aws-cdk/aws-cloudwatch@0.35.0(transitive)
- Removed@aws-cdk/aws-ec2@0.35.0(transitive)
- Removed@aws-cdk/aws-events@0.35.0(transitive)
- Removed@aws-cdk/aws-iam@0.35.0(transitive)
- Removed@aws-cdk/aws-kms@0.35.0(transitive)
- Removed@aws-cdk/aws-lambda@0.35.0(transitive)
- Removed@aws-cdk/aws-logs@0.35.0(transitive)
- Removed@aws-cdk/aws-route53@0.35.0(transitive)
- Removed@aws-cdk/aws-s3@0.35.0(transitive)
- Removed@aws-cdk/aws-s3-assets@0.35.0(transitive)
- Removed@aws-cdk/aws-sns@0.35.0(transitive)
- Removed@aws-cdk/aws-sqs@0.35.0(transitive)
- Removed@aws-cdk/cdk@0.35.0(transitive)
- Removed@aws-cdk/cx-api@0.35.0(transitive)
- Removed@aws-cdk/region-info@0.35.0(transitive)
Updated@aws-cdk/aws-ec2@^0.36.0
Updated@aws-cdk/aws-iam@^0.36.0
Updated@aws-cdk/aws-s3@^0.36.0