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 0.26.0 to 0.27.0

4

lib/alb/application-listener-certificate.d.ts

@@ -10,3 +10,3 @@ import cdk = require('@aws-cdk/cdk');

*/
listener: IApplicationListener;
readonly listener: IApplicationListener;
/**

@@ -17,3 +17,3 @@ * ARNs of certificates to attach

*/
certificateArns: string[];
readonly certificateArns: string[];
}

@@ -20,0 +20,0 @@ /**

@@ -18,2 +18,2 @@ "use strict";

exports.ApplicationListenerCertificate = ApplicationListenerCertificate;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwbGljYXRpb24tbGlzdGVuZXItY2VydGlmaWNhdGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJhcHBsaWNhdGlvbi1saXN0ZW5lci1jZXJ0aWZpY2F0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLG9DQUFxQztBQUNyQywwRkFBNkU7QUFvQjdFOztHQUVHO0FBQ0gsTUFBYSw4QkFBK0IsU0FBUSxHQUFHLENBQUMsU0FBUztJQUMvRCxZQUFZLEtBQW9CLEVBQUUsRUFBVSxFQUFFLEtBQTBDO1FBQ3RGLEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxDQUFDLENBQUM7UUFFakIsSUFBSSx5REFBc0IsQ0FBQyxJQUFJLEVBQUUsVUFBVSxFQUFFO1lBQzNDLFdBQVcsRUFBRSxLQUFLLENBQUMsUUFBUSxDQUFDLFdBQVc7WUFDdkMsWUFBWSxFQUFFLEtBQUssQ0FBQyxlQUFlLENBQUMsR0FBRyxDQUFDLGNBQWMsQ0FBQyxFQUFFL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NhdGVQcm9wcykge1xuICAgIHN1cGVyKHNjb3BlLCBpZCk7XG5cbiAgICBuZXcgQ2ZuTGlzdGVuZXJDZXJ0aWZpY2F0ZSh0aGlzLCAnUmVzb3VyY2UnLCB7XG4gICAgICBsaXN0ZW5lckFybjogcHJvcHMubGlzdGVuZXIubGlzdGVuZXJBcm4sXG4gICAgICBjZXJ0aWZpY2F0ZXM6IHByb3BzLmNlcnRpZmljYXRlQXJucy5tYXAoY2VydGlmaWNhdGVBcm4gPT4gKHsgY2VydGlmaWNhdGVBcm4gfSkpLFxuICAgIH0pO1xuICB9XG59XG4iXX0=

@@ -15,7 +15,7 @@ import cdk = require('@aws-cdk/cdk');

*/
priority: number;
readonly priority: number;
/**
* Target groups to forward requests to
*/
targetGroups?: IApplicationTargetGroup[];
readonly targetGroups?: IApplicationTargetGroup[];
/**

@@ -30,3 +30,3 @@ * Rule applies if the requested host matches the indicated host

*/
hostHeader?: string;
readonly hostHeader?: string;
/**

@@ -41,3 +41,3 @@ * Rule applies if the requested path matches the given path pattern

*/
pathPattern?: string;
readonly pathPattern?: string;
}

@@ -51,3 +51,3 @@ /**

*/
listener: IApplicationListener;
readonly listener: IApplicationListener;
}

@@ -54,0 +54,0 @@ /**

@@ -71,2 +71,2 @@ "use strict";

exports.ApplicationListenerRule = ApplicationListenerRule;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwbGljYXRpb24tbGlzdGVuZXItcnVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImFwcGxpY2F0aW9uLWxpc3RlbmVyLXJ1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxvQ0FBcUM7QUFDckMsMEZBQXNFO0FBdUR0RTs7R0FFRztBQUNILE1BQWEsdUJBQXdCLFNBQVEsR0FBRyxDQUFDLFNBQVM7SUFXeEQsWUFBWSxLQUFvQixFQUFFLEVBQVUsRUFBRSxLQUFtQ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IHJldC5wdXNoKHsgZmllbGQsIHZhbHVlcyB9KTtcbiAgICAgIH1cbiAgICB9XG4gICAgcmV0dXJuIHJldDtcbiAgfVxufVxuIl19

@@ -17,3 +17,3 @@ import ec2 = require('@aws-cdk/aws-ec2');

*/
protocol?: ApplicationProtocol;
readonly protocol?: ApplicationProtocol;
/**

@@ -24,7 +24,7 @@ * The port on which the listener listens for requests.

*/
port?: number;
readonly port?: number;
/**
* The certificates to use on this listener
*/
certificateArns?: string[];
readonly certificateArns?: string[];
/**

@@ -35,3 +35,3 @@ * The security policy that defines which ciphers and protocols are supported.

*/
sslPolicy?: SslPolicy;
readonly sslPolicy?: SslPolicy;
/**

@@ -42,3 +42,3 @@ * Default target groups to load balance to

*/
defaultTargetGroups?: IApplicationTargetGroup[];
readonly defaultTargetGroups?: IApplicationTargetGroup[];
/**

@@ -57,3 +57,3 @@ * Allow anyone to connect to this listener

*/
open?: boolean;
readonly open?: boolean;
}

@@ -67,3 +67,3 @@ /**

*/
loadBalancer: IApplicationLoadBalancer;
readonly loadBalancer: IApplicationLoadBalancer;
}

@@ -190,11 +190,11 @@ /**

*/
listenerArn: string;
readonly listenerArn: string;
/**
* Security group ID of the load balancer this listener is associated with
*/
securityGroupId: string;
readonly securityGroupId: string;
/**
* The default port on which this listener is listening
*/
defaultPort?: string;
readonly defaultPort?: string;
}

@@ -216,3 +216,3 @@ /**

*/
priority?: number;
readonly priority?: number;
/**

@@ -229,3 +229,3 @@ * Rule applies if the requested host matches the indicated host

*/
hostHeader?: string;
readonly hostHeader?: string;
/**

@@ -242,3 +242,3 @@ * Rule applies if the requested path matches the given path pattern

*/
pathPattern?: string;
readonly pathPattern?: string;
}

@@ -252,3 +252,3 @@ /**

*/
targetGroups: IApplicationTargetGroup[];
readonly targetGroups: IApplicationTargetGroup[];
}

@@ -264,3 +264,3 @@ /**

*/
protocol?: ApplicationProtocol;
readonly protocol?: ApplicationProtocol;
/**

@@ -271,3 +271,3 @@ * The port on which the listener listens for requests.

*/
port?: number;
readonly port?: number;
/**

@@ -281,3 +281,3 @@ * The time period during which the load balancer sends a newly registered

*/
slowStartSec?: number;
readonly slowStartSec?: number;
/**

@@ -293,3 +293,3 @@ * The stickiness cookie expiration period.

*/
stickinessCookieDurationSec?: number;
readonly stickinessCookieDurationSec?: number;
/**

@@ -302,3 +302,3 @@ * The targets to add to this target group.

*/
targets?: IApplicationLoadBalancerTarget[];
readonly targets?: IApplicationLoadBalancerTarget[];
/**

@@ -313,3 +313,3 @@ * The name of the target group.

*/
targetGroupName?: string;
readonly targetGroupName?: string;
/**

@@ -322,3 +322,3 @@ * The amount of time for Elastic Load Balancing to wait before deregistering a target.

*/
deregistrationDelaySec?: number;
readonly deregistrationDelaySec?: number;
/**

@@ -329,3 +329,3 @@ * Health check configuration

*/
healthCheck?: HealthCheck;
readonly healthCheck?: HealthCheck;
}

@@ -224,2 +224,2 @@ "use strict";

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwbGljYXRpb24tbGlzdGVuZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJhcHBsaWNhdGlvbi1saXN0ZW5lci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHdDQUF5QztBQUN6QyxvQ0FBcUM7QUFDckMsMkRBQXVEO0FBRXZELDJDQUFpRTtBQUNqRSx5Q0FBMEQ7QUFDMUQseUZBQW9GO0FBQ3BGLDJFQUFzRTtBQUV0RSx5RUFBNkg7QUFpRTdIOztHQUVHO0FBQ0gsTUFBYSxtQkFBb0IsU0FBUSw0QkFBWTtJQUNuRDs7T0FFRztJQUNJLE1BQU0sQ0FBQyxNQUFNLENBQUMsS0FBb0IsRUFBRSxFQUFVLEVBQUUsS0FBcUM7UUFDMUYsT0FBTyxJQUFJLDJCQUEyQixDQUFDLEtBQUssRUFBRSxFQUFFLEVBQUUsS0FBSyxDQUFDLENBQUM7SUFDM0QsQ0FBQztJQTJCRCxZ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pbmcgdG8gd2FpdCBiZWZvcmUgZGVyZWdpc3RlcmluZyBhIHRhcmdldC5cbiAgICpcbiAgICogVGhlIHJhbmdlIGlzIDDigJMzNjAwIHNlY29uZHMuXG4gICAqXG4gICAqIEBkZWZhdWx0IDMwMFxuICAgKi9cbiAgcmVhZG9ubHkgZGVyZWdpc3RyYXRpb25EZWxheVNlYz86IG51bWJlcjtcblxuICAvKipcbiAgICogSGVhbHRoIGNoZWNrIGNvbmZpZ3VyYXRpb25cbiAgICpcbiAgICogQGRlZmF1bHQgTm8gaGVhbHRoIGNoZWNrXG4gICAqL1xuICByZWFkb25seSBoZWFsdGhDaGVjaz86IEhlYWx0aENoZWNrO1xufVxuIl19

@@ -17,3 +17,3 @@ import cloudwatch = require('@aws-cdk/aws-cloudwatch');

*/
securityGroup?: ec2.ISecurityGroup;
readonly securityGroup?: ec2.ISecurityGroup;
/**

@@ -26,3 +26,3 @@ * The type of IP addresses to use

*/
ipAddressType?: IpAddressType;
readonly ipAddressType?: IpAddressType;
/**

@@ -33,3 +33,3 @@ * Indicates whether HTTP/2 is enabled.

*/
http2Enabled?: boolean;
readonly http2Enabled?: boolean;
/**

@@ -40,3 +40,3 @@ * The load balancer idle timeout, in seconds

*/
idleTimeoutSecs?: number;
readonly idleTimeoutSecs?: number;
}

@@ -303,7 +303,7 @@ /**

*/
loadBalancerArn: string;
readonly loadBalancerArn: string;
/**
* ID of the load balancer's security group
*/
securityGroupId: string;
readonly securityGroupId: string;
}

@@ -370,2 +370,2 @@ "use strict";

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwbGljYXRpb24tbG9hZC1iYWxhbmNlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImFwcGxpY2F0aW9uLWxvYWQtYmFsYW5jZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxzREFBdUQ7QUFDdkQsd0NBQXlDO0FBQ3pDLH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Bwcm9wczogQmFzZUFwcGxpY2F0aW9uTGlzdGVuZXJQcm9wcyk6IEFwcGxpY2F0aW9uTGlzdGVuZXIge1xuICAgIHJldHVybiBuZXcgQXBwbGljYXRpb25MaXN0ZW5lcih0aGlzLCBpZCwge1xuICAgICAgbG9hZEJhbGFuY2VyOiB0aGlzLFxuICAgICAgLi4ucHJvcHNcbiAgICB9KTtcbiAgfVxufVxuIl19

@@ -17,3 +17,3 @@ import cloudwatch = require('@aws-cdk/aws-cloudwatch');

*/
protocol?: ApplicationProtocol;
readonly protocol?: ApplicationProtocol;
/**

@@ -24,3 +24,3 @@ * The port on which the listener listens for requests.

*/
port?: number;
readonly port?: number;
/**

@@ -34,3 +34,3 @@ * The time period during which the load balancer sends a newly registered

*/
slowStartSec?: number;
readonly slowStartSec?: number;
/**

@@ -46,3 +46,3 @@ * The stickiness cookie expiration period.

*/
stickinessCookieDurationSec?: number;
readonly stickinessCookieDurationSec?: number;
/**

@@ -55,3 +55,3 @@ * The targets to add to this target group.

*/
targets?: IApplicationLoadBalancerTarget[];
readonly targets?: IApplicationLoadBalancerTarget[];
}

@@ -58,0 +58,0 @@ /**

@@ -202,2 +202,2 @@ "use strict";

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwbGljYXRpb24tdGFyZ2V0LWdyb3VwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYXBwbGljYXRpb24tdGFyZ2V0LWdyb3VwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsc0RBQXVEO0FBQ3ZELHdDQUF5QztBQUN6QyxvQ0FBcUM7QUFDckMsbUVBQ3NGO0FBRXRGLGlEQUE2RDtBQUM3RCx5Q0FBMEQ7QUFzRDFEOztHQUVHO0FBQ0gsTUFBYSxzQkFBdUIsU0FBUSxtQ0FBZTtJQUN6RDs7T0FFRztJQUNJLE1BQU0sQ0FBQyxNQUFNLENBQUMsS0FBb0I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90aGluZyBvZiBvdXIgbWVtYmVyc1xuICB9XG59XG5cbi8qKlxuICogSW50ZXJmYWNlIGZvciBjb25zdHJ1Y3RzIHRoYXQgY2FuIGJlIHRhcmdldHMgb2YgYW4gYXBwbGljYXRpb24gbG9hZCBiYWxhbmNlclxuICovXG5leHBvcnQgaW50ZXJmYWNlIElBcHBsaWNhdGlvbkxvYWRCYWxhbmNlclRhcmdldCB7XG4gIC8qKlxuICAgKiBBdHRhY2ggbG9hZC1iYWxhbmNlZCB0YXJnZXQgdG8gYSBUYXJnZXRHcm91cFxuICAgKlxuICAgKiBNYXkgcmV0dXJuIEpTT04gdG8gZGlyZWN0bHkgYWRkIHRvIHRoZSBbVGFyZ2V0c10gbGlzdCwgb3IgcmV0dXJuIHVuZGVmaW5lZFxuICAgKiBpZiB0aGUgdGFyZ2V0IHdpbGwgcmVnaXN0ZXIgaXRzZWxmIHdpdGggdGhlIGxvYWQgYmFsYW5jZXIuXG4gICAqL1xuICBhdHRhY2hUb0FwcGxpY2F0aW9uVGFyZ2V0R3JvdXAodGFyZ2V0R3JvdXA6IEFwcGxpY2F0aW9uVGFyZ2V0R3JvdXApOiBMb2FkQmFsYW5jZXJUYXJnZXRQcm9wcztcbn1cbiJdfQ==

@@ -11,3 +11,3 @@ import cdk = require('@aws-cdk/cdk');

*/
defaultActions: Array<CfnListener.ActionProperty | cdk.Token> | cdk.Token;
readonly defaultActions: Array<CfnListener.ActionProperty | cdk.Token> | cdk.Token;
/**

@@ -17,3 +17,3 @@ * `AWS::ElasticLoadBalancingV2::Listener.LoadBalancerArn`

*/
loadBalancerArn: string;
readonly loadBalancerArn: string;
/**

@@ -23,3 +23,3 @@ * `AWS::ElasticLoadBalancingV2::Listener.Port`

*/
port: number | cdk.Token;
readonly port: number | cdk.Token;
/**

@@ -29,3 +29,3 @@ * `AWS::ElasticLoadBalancingV2::Listener.Protocol`

*/
protocol: string;
readonly protocol: string;
/**

@@ -35,3 +35,3 @@ * `AWS::ElasticLoadBalancingV2::Listener.Certificates`

*/
certificates?: Array<CfnListener.CertificateProperty | cdk.Token> | cdk.Token;
readonly certificates?: Array<CfnListener.CertificateProperty | cdk.Token> | cdk.Token;
/**

@@ -41,3 +41,3 @@ * `AWS::ElasticLoadBalancingV2::Listener.SslPolicy`

*/
sslPolicy?: string;
readonly sslPolicy?: string;
}

@@ -78,3 +78,3 @@ /**

*/
authenticateCognitoConfig?: CfnListener.AuthenticateCognitoConfigProperty | cdk.Token;
readonly authenticateCognitoConfig?: CfnListener.AuthenticateCognitoConfigProperty | cdk.Token;
/**

@@ -84,3 +84,3 @@ * `CfnListener.ActionProperty.AuthenticateOidcConfig`

*/
authenticateOidcConfig?: CfnListener.AuthenticateOidcConfigProperty | cdk.Token;
readonly authenticateOidcConfig?: CfnListener.AuthenticateOidcConfigProperty | cdk.Token;
/**

@@ -90,3 +90,3 @@ * `CfnListener.ActionProperty.FixedResponseConfig`

*/
fixedResponseConfig?: CfnListener.FixedResponseConfigProperty | cdk.Token;
readonly fixedResponseConfig?: CfnListener.FixedResponseConfigProperty | cdk.Token;
/**

@@ -96,3 +96,3 @@ * `CfnListener.ActionProperty.Order`

*/
order?: number | cdk.Token;
readonly order?: number | cdk.Token;
/**

@@ -102,3 +102,3 @@ * `CfnListener.ActionProperty.RedirectConfig`

*/
redirectConfig?: CfnListener.RedirectConfigProperty | cdk.Token;
readonly redirectConfig?: CfnListener.RedirectConfigProperty | cdk.Token;
/**

@@ -108,3 +108,3 @@ * `CfnListener.ActionProperty.TargetGroupArn`

*/
targetGroupArn?: string;
readonly targetGroupArn?: string;
/**

@@ -114,3 +114,3 @@ * `CfnListener.ActionProperty.Type`

*/
type: string;
readonly type: string;
}

@@ -127,3 +127,3 @@ }

*/
authenticationRequestExtraParams?: {
readonly authenticationRequestExtraParams?: {
[key: string]: (string);

@@ -135,3 +135,3 @@ } | cdk.Token;

*/
onUnauthenticatedRequest?: string;
readonly onUnauthenticatedRequest?: string;
/**

@@ -141,3 +141,3 @@ * `CfnListener.AuthenticateCognitoConfigProperty.Scope`

*/
scope?: string;
readonly scope?: string;
/**

@@ -147,3 +147,3 @@ * `CfnListener.AuthenticateCognitoConfigProperty.SessionCookieName`

*/
sessionCookieName?: string;
readonly sessionCookieName?: string;
/**

@@ -153,3 +153,3 @@ * `CfnListener.AuthenticateCognitoConfigProperty.SessionTimeout`

*/
sessionTimeout?: number | cdk.Token;
readonly sessionTimeout?: number | cdk.Token;
/**

@@ -159,3 +159,3 @@ * `CfnListener.AuthenticateCognitoConfigProperty.UserPoolArn`

*/
userPoolArn: string;
readonly userPoolArn: string;
/**

@@ -165,3 +165,3 @@ * `CfnListener.AuthenticateCognitoConfigProperty.UserPoolClientId`

*/
userPoolClientId: string;
readonly userPoolClientId: string;
/**

@@ -171,3 +171,3 @@ * `CfnListener.AuthenticateCognitoConfigProperty.UserPoolDomain`

*/
userPoolDomain: string;
readonly userPoolDomain: string;
}

@@ -184,3 +184,3 @@ }

*/
authenticationRequestExtraParams?: {
readonly authenticationRequestExtraParams?: {
[key: string]: (string);

@@ -192,3 +192,3 @@ } | cdk.Token;

*/
authorizationEndpoint: string;
readonly authorizationEndpoint: string;
/**

@@ -198,3 +198,3 @@ * `CfnListener.AuthenticateOidcConfigProperty.ClientId`

*/
clientId: string;
readonly clientId: string;
/**

@@ -204,3 +204,3 @@ * `CfnListener.AuthenticateOidcConfigProperty.ClientSecret`

*/
clientSecret: string;
readonly clientSecret: string;
/**

@@ -210,3 +210,3 @@ * `CfnListener.AuthenticateOidcConfigProperty.Issuer`

*/
issuer: string;
readonly issuer: string;
/**

@@ -216,3 +216,3 @@ * `CfnListener.AuthenticateOidcConfigProperty.OnUnauthenticatedRequest`

*/
onUnauthenticatedRequest?: string;
readonly onUnauthenticatedRequest?: string;
/**

@@ -222,3 +222,3 @@ * `CfnListener.AuthenticateOidcConfigProperty.Scope`

*/
scope?: string;
readonly scope?: string;
/**

@@ -228,3 +228,3 @@ * `CfnListener.AuthenticateOidcConfigProperty.SessionCookieName`

*/
sessionCookieName?: string;
readonly sessionCookieName?: string;
/**

@@ -234,3 +234,3 @@ * `CfnListener.AuthenticateOidcConfigProperty.SessionTimeout`

*/
sessionTimeout?: number | cdk.Token;
readonly sessionTimeout?: number | cdk.Token;
/**

@@ -240,3 +240,3 @@ * `CfnListener.AuthenticateOidcConfigProperty.TokenEndpoint`

*/
tokenEndpoint: string;
readonly tokenEndpoint: string;
/**

@@ -246,3 +246,3 @@ * `CfnListener.AuthenticateOidcConfigProperty.UserInfoEndpoint`

*/
userInfoEndpoint: string;
readonly userInfoEndpoint: string;
}

@@ -259,3 +259,3 @@ }

*/
certificateArn?: string;
readonly certificateArn?: string;
}

@@ -272,3 +272,3 @@ }

*/
contentType?: string;
readonly contentType?: string;
/**

@@ -278,3 +278,3 @@ * `CfnListener.FixedResponseConfigProperty.MessageBody`

*/
messageBody?: string;
readonly messageBody?: string;
/**

@@ -284,3 +284,3 @@ * `CfnListener.FixedResponseConfigProperty.StatusCode`

*/
statusCode: string;
readonly statusCode: string;
}

@@ -297,3 +297,3 @@ }

*/
host?: string;
readonly host?: string;
/**

@@ -303,3 +303,3 @@ * `CfnListener.RedirectConfigProperty.Path`

*/
path?: string;
readonly path?: string;
/**

@@ -309,3 +309,3 @@ * `CfnListener.RedirectConfigProperty.Port`

*/
port?: string;
readonly port?: string;
/**

@@ -315,3 +315,3 @@ * `CfnListener.RedirectConfigProperty.Protocol`

*/
protocol?: string;
readonly protocol?: string;
/**

@@ -321,3 +321,3 @@ * `CfnListener.RedirectConfigProperty.Query`

*/
query?: string;
readonly query?: string;
/**

@@ -327,3 +327,3 @@ * `CfnListener.RedirectConfigProperty.StatusCode`

*/
statusCode: string;
readonly statusCode: string;
}

@@ -340,3 +340,3 @@ }

*/
certificates: Array<CfnListenerCertificate.CertificateProperty | cdk.Token> | cdk.Token;
readonly certificates: Array<CfnListenerCertificate.CertificateProperty | cdk.Token> | cdk.Token;
/**

@@ -346,3 +346,3 @@ * `AWS::ElasticLoadBalancingV2::ListenerCertificate.ListenerArn`

*/
listenerArn: string;
readonly listenerArn: string;
}

@@ -383,3 +383,3 @@ /**

*/
certificateArn?: string;
readonly certificateArn?: string;
}

@@ -396,3 +396,3 @@ }

*/
actions: Array<CfnListenerRule.ActionProperty | cdk.Token> | cdk.Token;
readonly actions: Array<CfnListenerRule.ActionProperty | cdk.Token> | cdk.Token;
/**

@@ -402,3 +402,3 @@ * `AWS::ElasticLoadBalancingV2::ListenerRule.Conditions`

*/
conditions: Array<CfnListenerRule.RuleConditionProperty | cdk.Token> | cdk.Token;
readonly conditions: Array<CfnListenerRule.RuleConditionProperty | cdk.Token> | cdk.Token;
/**

@@ -408,3 +408,3 @@ * `AWS::ElasticLoadBalancingV2::ListenerRule.ListenerArn`

*/
listenerArn: string;
readonly listenerArn: string;
/**

@@ -414,3 +414,3 @@ * `AWS::ElasticLoadBalancingV2::ListenerRule.Priority`

*/
priority: number | cdk.Token;
readonly priority: number | cdk.Token;
}

@@ -451,3 +451,3 @@ /**

*/
authenticateCognitoConfig?: CfnListenerRule.AuthenticateCognitoConfigProperty | cdk.Token;
readonly authenticateCognitoConfig?: CfnListenerRule.AuthenticateCognitoConfigProperty | cdk.Token;
/**

@@ -457,3 +457,3 @@ * `CfnListenerRule.ActionProperty.AuthenticateOidcConfig`

*/
authenticateOidcConfig?: CfnListenerRule.AuthenticateOidcConfigProperty | cdk.Token;
readonly authenticateOidcConfig?: CfnListenerRule.AuthenticateOidcConfigProperty | cdk.Token;
/**

@@ -463,3 +463,3 @@ * `CfnListenerRule.ActionProperty.FixedResponseConfig`

*/
fixedResponseConfig?: CfnListenerRule.FixedResponseConfigProperty | cdk.Token;
readonly fixedResponseConfig?: CfnListenerRule.FixedResponseConfigProperty | cdk.Token;
/**

@@ -469,3 +469,3 @@ * `CfnListenerRule.ActionProperty.Order`

*/
order?: number | cdk.Token;
readonly order?: number | cdk.Token;
/**

@@ -475,3 +475,3 @@ * `CfnListenerRule.ActionProperty.RedirectConfig`

*/
redirectConfig?: CfnListenerRule.RedirectConfigProperty | cdk.Token;
readonly redirectConfig?: CfnListenerRule.RedirectConfigProperty | cdk.Token;
/**

@@ -481,3 +481,3 @@ * `CfnListenerRule.ActionProperty.TargetGroupArn`

*/
targetGroupArn?: string;
readonly targetGroupArn?: string;
/**

@@ -487,3 +487,3 @@ * `CfnListenerRule.ActionProperty.Type`

*/
type: string;
readonly type: string;
}

@@ -500,3 +500,3 @@ }

*/
authenticationRequestExtraParams?: {
readonly authenticationRequestExtraParams?: {
[key: string]: (string);

@@ -508,3 +508,3 @@ } | cdk.Token;

*/
onUnauthenticatedRequest?: string;
readonly onUnauthenticatedRequest?: string;
/**

@@ -514,3 +514,3 @@ * `CfnListenerRule.AuthenticateCognitoConfigProperty.Scope`

*/
scope?: string;
readonly scope?: string;
/**

@@ -520,3 +520,3 @@ * `CfnListenerRule.AuthenticateCognitoConfigProperty.SessionCookieName`

*/
sessionCookieName?: string;
readonly sessionCookieName?: string;
/**

@@ -526,3 +526,3 @@ * `CfnListenerRule.AuthenticateCognitoConfigProperty.SessionTimeout`

*/
sessionTimeout?: number | cdk.Token;
readonly sessionTimeout?: number | cdk.Token;
/**

@@ -532,3 +532,3 @@ * `CfnListenerRule.AuthenticateCognitoConfigProperty.UserPoolArn`

*/
userPoolArn: string;
readonly userPoolArn: string;
/**

@@ -538,3 +538,3 @@ * `CfnListenerRule.AuthenticateCognitoConfigProperty.UserPoolClientId`

*/
userPoolClientId: string;
readonly userPoolClientId: string;
/**

@@ -544,3 +544,3 @@ * `CfnListenerRule.AuthenticateCognitoConfigProperty.UserPoolDomain`

*/
userPoolDomain: string;
readonly userPoolDomain: string;
}

@@ -557,3 +557,3 @@ }

*/
authenticationRequestExtraParams?: {
readonly authenticationRequestExtraParams?: {
[key: string]: (string);

@@ -565,3 +565,3 @@ } | cdk.Token;

*/
authorizationEndpoint: string;
readonly authorizationEndpoint: string;
/**

@@ -571,3 +571,3 @@ * `CfnListenerRule.AuthenticateOidcConfigProperty.ClientId`

*/
clientId: string;
readonly clientId: string;
/**

@@ -577,3 +577,3 @@ * `CfnListenerRule.AuthenticateOidcConfigProperty.ClientSecret`

*/
clientSecret: string;
readonly clientSecret: string;
/**

@@ -583,3 +583,3 @@ * `CfnListenerRule.AuthenticateOidcConfigProperty.Issuer`

*/
issuer: string;
readonly issuer: string;
/**

@@ -589,3 +589,3 @@ * `CfnListenerRule.AuthenticateOidcConfigProperty.OnUnauthenticatedRequest`

*/
onUnauthenticatedRequest?: string;
readonly onUnauthenticatedRequest?: string;
/**

@@ -595,3 +595,3 @@ * `CfnListenerRule.AuthenticateOidcConfigProperty.Scope`

*/
scope?: string;
readonly scope?: string;
/**

@@ -601,3 +601,3 @@ * `CfnListenerRule.AuthenticateOidcConfigProperty.SessionCookieName`

*/
sessionCookieName?: string;
readonly sessionCookieName?: string;
/**

@@ -607,3 +607,3 @@ * `CfnListenerRule.AuthenticateOidcConfigProperty.SessionTimeout`

*/
sessionTimeout?: number | cdk.Token;
readonly sessionTimeout?: number | cdk.Token;
/**

@@ -613,3 +613,3 @@ * `CfnListenerRule.AuthenticateOidcConfigProperty.TokenEndpoint`

*/
tokenEndpoint: string;
readonly tokenEndpoint: string;
/**

@@ -619,3 +619,3 @@ * `CfnListenerRule.AuthenticateOidcConfigProperty.UserInfoEndpoint`

*/
userInfoEndpoint: string;
readonly userInfoEndpoint: string;
}

@@ -632,3 +632,3 @@ }

*/
contentType?: string;
readonly contentType?: string;
/**

@@ -638,3 +638,3 @@ * `CfnListenerRule.FixedResponseConfigProperty.MessageBody`

*/
messageBody?: string;
readonly messageBody?: string;
/**

@@ -644,3 +644,3 @@ * `CfnListenerRule.FixedResponseConfigProperty.StatusCode`

*/
statusCode: string;
readonly statusCode: string;
}

@@ -657,3 +657,3 @@ }

*/
host?: string;
readonly host?: string;
/**

@@ -663,3 +663,3 @@ * `CfnListenerRule.RedirectConfigProperty.Path`

*/
path?: string;
readonly path?: string;
/**

@@ -669,3 +669,3 @@ * `CfnListenerRule.RedirectConfigProperty.Port`

*/
port?: string;
readonly port?: string;
/**

@@ -675,3 +675,3 @@ * `CfnListenerRule.RedirectConfigProperty.Protocol`

*/
protocol?: string;
readonly protocol?: string;
/**

@@ -681,3 +681,3 @@ * `CfnListenerRule.RedirectConfigProperty.Query`

*/
query?: string;
readonly query?: string;
/**

@@ -687,3 +687,3 @@ * `CfnListenerRule.RedirectConfigProperty.StatusCode`

*/
statusCode: string;
readonly statusCode: string;
}

@@ -700,3 +700,3 @@ }

*/
field?: string;
readonly field?: string;
/**

@@ -706,3 +706,3 @@ * `CfnListenerRule.RuleConditionProperty.Values`

*/
values?: string[];
readonly values?: string[];
}

@@ -719,3 +719,3 @@ }

*/
ipAddressType?: string;
readonly ipAddressType?: string;
/**

@@ -725,3 +725,3 @@ * `AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttributes`

*/
loadBalancerAttributes?: Array<CfnLoadBalancer.LoadBalancerAttributeProperty | cdk.Token> | cdk.Token;
readonly loadBalancerAttributes?: Array<CfnLoadBalancer.LoadBalancerAttributeProperty | cdk.Token> | cdk.Token;
/**

@@ -731,3 +731,3 @@ * `AWS::ElasticLoadBalancingV2::LoadBalancer.Name`

*/
name?: string;
readonly name?: string;
/**

@@ -737,3 +737,3 @@ * `AWS::ElasticLoadBalancingV2::LoadBalancer.Scheme`

*/
scheme?: string;
readonly scheme?: string;
/**

@@ -743,3 +743,3 @@ * `AWS::ElasticLoadBalancingV2::LoadBalancer.SecurityGroups`

*/
securityGroups?: string[];
readonly securityGroups?: string[];
/**

@@ -749,3 +749,3 @@ * `AWS::ElasticLoadBalancingV2::LoadBalancer.SubnetMappings`

*/
subnetMappings?: Array<CfnLoadBalancer.SubnetMappingProperty | cdk.Token> | cdk.Token;
readonly subnetMappings?: Array<CfnLoadBalancer.SubnetMappingProperty | cdk.Token> | cdk.Token;
/**

@@ -755,3 +755,3 @@ * `AWS::ElasticLoadBalancingV2::LoadBalancer.Subnets`

*/
subnets?: string[];
readonly subnets?: string[];
/**

@@ -761,3 +761,3 @@ * `AWS::ElasticLoadBalancingV2::LoadBalancer.Tags`

*/
tags?: cdk.CfnTag[];
readonly tags?: cdk.CfnTag[];
/**

@@ -767,3 +767,3 @@ * `AWS::ElasticLoadBalancingV2::LoadBalancer.Type`

*/
type?: string;
readonly type?: string;
}

@@ -833,3 +833,3 @@ /**

*/
key?: string;
readonly key?: string;
/**

@@ -839,3 +839,3 @@ * `CfnLoadBalancer.LoadBalancerAttributeProperty.Value`

*/
value?: string;
readonly value?: string;
}

@@ -852,3 +852,3 @@ }

*/
allocationId: string;
readonly allocationId: string;
/**

@@ -858,3 +858,3 @@ * `CfnLoadBalancer.SubnetMappingProperty.SubnetId`

*/
subnetId: string;
readonly subnetId: string;
}

@@ -871,3 +871,3 @@ }

*/
healthCheckEnabled?: boolean | cdk.Token;
readonly healthCheckEnabled?: boolean | cdk.Token;
/**

@@ -877,3 +877,3 @@ * `AWS::ElasticLoadBalancingV2::TargetGroup.HealthCheckIntervalSeconds`

*/
healthCheckIntervalSeconds?: number | cdk.Token;
readonly healthCheckIntervalSeconds?: number | cdk.Token;
/**

@@ -883,3 +883,3 @@ * `AWS::ElasticLoadBalancingV2::TargetGroup.HealthCheckPath`

*/
healthCheckPath?: string;
readonly healthCheckPath?: string;
/**

@@ -889,3 +889,3 @@ * `AWS::ElasticLoadBalancingV2::TargetGroup.HealthCheckPort`

*/
healthCheckPort?: string;
readonly healthCheckPort?: string;
/**

@@ -895,3 +895,3 @@ * `AWS::ElasticLoadBalancingV2::TargetGroup.HealthCheckProtocol`

*/
healthCheckProtocol?: string;
readonly healthCheckProtocol?: string;
/**

@@ -901,3 +901,3 @@ * `AWS::ElasticLoadBalancingV2::TargetGroup.HealthCheckTimeoutSeconds`

*/
healthCheckTimeoutSeconds?: number | cdk.Token;
readonly healthCheckTimeoutSeconds?: number | cdk.Token;
/**

@@ -907,3 +907,3 @@ * `AWS::ElasticLoadBalancingV2::TargetGroup.HealthyThresholdCount`

*/
healthyThresholdCount?: number | cdk.Token;
readonly healthyThresholdCount?: number | cdk.Token;
/**

@@ -913,3 +913,3 @@ * `AWS::ElasticLoadBalancingV2::TargetGroup.Matcher`

*/
matcher?: CfnTargetGroup.MatcherProperty | cdk.Token;
readonly matcher?: CfnTargetGroup.MatcherProperty | cdk.Token;
/**

@@ -919,3 +919,3 @@ * `AWS::ElasticLoadBalancingV2::TargetGroup.Name`

*/
name?: string;
readonly name?: string;
/**

@@ -925,3 +925,3 @@ * `AWS::ElasticLoadBalancingV2::TargetGroup.Port`

*/
port?: number | cdk.Token;
readonly port?: number | cdk.Token;
/**

@@ -931,3 +931,3 @@ * `AWS::ElasticLoadBalancingV2::TargetGroup.Protocol`

*/
protocol?: string;
readonly protocol?: string;
/**

@@ -937,3 +937,3 @@ * `AWS::ElasticLoadBalancingV2::TargetGroup.Tags`

*/
tags?: cdk.CfnTag[];
readonly tags?: cdk.CfnTag[];
/**

@@ -943,3 +943,3 @@ * `AWS::ElasticLoadBalancingV2::TargetGroup.TargetGroupAttributes`

*/
targetGroupAttributes?: Array<CfnTargetGroup.TargetGroupAttributeProperty | cdk.Token> | cdk.Token;
readonly targetGroupAttributes?: Array<CfnTargetGroup.TargetGroupAttributeProperty | cdk.Token> | cdk.Token;
/**

@@ -949,3 +949,3 @@ * `AWS::ElasticLoadBalancingV2::TargetGroup.Targets`

*/
targets?: Array<CfnTargetGroup.TargetDescriptionProperty | cdk.Token> | cdk.Token;
readonly targets?: Array<CfnTargetGroup.TargetDescriptionProperty | cdk.Token> | cdk.Token;
/**

@@ -955,3 +955,3 @@ * `AWS::ElasticLoadBalancingV2::TargetGroup.TargetType`

*/
targetType?: string;
readonly targetType?: string;
/**

@@ -961,3 +961,3 @@ * `AWS::ElasticLoadBalancingV2::TargetGroup.UnhealthyThresholdCount`

*/
unhealthyThresholdCount?: number | cdk.Token;
readonly unhealthyThresholdCount?: number | cdk.Token;
/**

@@ -967,3 +967,3 @@ * `AWS::ElasticLoadBalancingV2::TargetGroup.VpcId`

*/
vpcId?: string;
readonly vpcId?: string;
}

@@ -1025,3 +1025,3 @@ /**

*/
httpCode: string;
readonly httpCode: string;
}

@@ -1038,3 +1038,3 @@ }

*/
availabilityZone?: string;
readonly availabilityZone?: string;
/**

@@ -1044,3 +1044,3 @@ * `CfnTargetGroup.TargetDescriptionProperty.Id`

*/
id: string;
readonly id: string;
/**

@@ -1050,3 +1050,3 @@ * `CfnTargetGroup.TargetDescriptionProperty.Port`

*/
port?: number | cdk.Token;
readonly port?: number | cdk.Token;
}

@@ -1063,3 +1063,3 @@ }

*/
key?: string;
readonly key?: string;
/**

@@ -1069,4 +1069,4 @@ * `CfnTargetGroup.TargetGroupAttributeProperty.Value`

*/
value?: string;
readonly value?: string;
}
}

@@ -13,3 +13,3 @@ import cdk = require('@aws-cdk/cdk');

*/
port: number;
readonly port: number;
/**

@@ -20,3 +20,3 @@ * Default target groups to load balance to

*/
defaultTargetGroups?: INetworkTargetGroup[];
readonly defaultTargetGroups?: INetworkTargetGroup[];
}

@@ -30,3 +30,3 @@ /**

*/
loadBalancer: INetworkLoadBalancer;
readonly loadBalancer: INetworkLoadBalancer;
}

@@ -84,3 +84,3 @@ /**

*/
listenerArn: string;
readonly listenerArn: string;
}

@@ -96,3 +96,3 @@ /**

*/
port: number;
readonly port: number;
/**

@@ -105,3 +105,3 @@ * The targets to add to this target group.

*/
targets?: INetworkLoadBalancerTarget[];
readonly targets?: INetworkLoadBalancerTarget[];
/**

@@ -116,11 +116,11 @@ * The name of the target group.

*/
targetGroupName?: string;
readonly targetGroupName?: string;
/**
* The amount of time for Elastic Load Balancing to wait before deregistering a target.
*
* The range is 0–3600 seconds.
* The range is 0-3600 seconds.
*
* @default 300
*/
deregistrationDelaySec?: number;
readonly deregistrationDelaySec?: number;
/**

@@ -131,3 +131,3 @@ * Indicates whether Proxy Protocol version 2 is enabled.

*/
proxyProtocolV2?: boolean;
readonly proxyProtocolV2?: boolean;
/**

@@ -138,3 +138,3 @@ * Health check configuration

*/
healthCheck?: HealthCheck;
readonly healthCheck?: HealthCheck;
}

@@ -84,2 +84,2 @@ "use strict";

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmV0d29yay1saXN0ZW5lci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIm5ldHdvcmstbGlzdGVuZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxvQ0FBcUM7QUFDckMsMkRBQXVEO0FBRXZELDJDQUEyQztBQUUzQyxpRUFBNkc7QUE2QjdHOztHQUVHO0FBQ0gsTUFBYSxlQUFnQixTQUFRLDRCQUFZO0lBQy9DOztPQUVHO0lBQ0ksTUFBTSxDQUFDLE1BQU0sQ0FBQyxLQUFvQixFQUFFLEVBQVUsRUFBRSxLQUFpQztRQUN0RixPQUFPLElBQUksdUJBQXVCLENBQUMsS0FBSyxFQUFFLEVBQUUsRUFBRSxLQUFLLENBQUMsQ0FBQztJQUN2RCxDQUFDO0lBT0QsWUFBWSxLQUFvQixFQUFFLEVBQVUsRUFBRSxLQUEyQjtRQUN2RSxLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsRUFBRTtZQUNmLGVBQWUsRUFBRSxLQUFLLENBQUMsWUFBWSxDQUFDLGVBQWU7WUFDbkQsUUFBUSxFQUFFLGdCQUFRLENBQUMsR0FBRztZQUN0QixJQUFJLEVBQUUsS0FBSyxDQUFDLElBQUk7U0FDakIsQ0FBQyxDQUFDO1FBRUgsSUFBSSxDQUFDLFlBQVksR0FBRyxLQUFLLENBQUMsWUFBWSxDQUFDO1FBRXZDLENBQUMsS0FBSyxDQUFDLG1CQUFtQixJQUFJLEVBQUUsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsc0JBQXNCLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUM7SUFDcEYsQ0FBQztJQUVEOztPQUVHO0lBQ0ksZUFBZSxD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KiBAZGVmYXVsdCBObyBoZWFsdGggY2hlY2tcbiAgICovXG4gIHJlYWRvbmx5IGhlYWx0aENoZWNrPzogSGVhbHRoQ2hlY2s7XG59XG4iXX0=

@@ -15,3 +15,3 @@ import cloudwatch = require('@aws-cdk/aws-cloudwatch');

*/
crossZoneEnabled?: boolean;
readonly crossZoneEnabled?: boolean;
}

@@ -133,3 +133,3 @@ /**

*/
loadBalancerArn: string;
readonly loadBalancerArn: string;
}

@@ -149,2 +149,2 @@ "use strict";

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmV0d29yay1sb2FkLWJhbGFuY2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsibmV0d29yay1sb2FkLWJhbGFuY2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsc0RBQXVEO0FBRXZELG9DQUFxQztBQUNyQyxxRUFBdUY7QUFDdkYseURBQStFO0FBYy9FOztHQUVHO0FBQ0gsTUFBYSxtQkFBb0IsU0FBUSxxQ0FBZ0I7SUFDaEQsTUFBTSxDQUFDLE1BQU0sQ0FBQyxLQUFvQixFQUFFLEVBQVUsRUFBRSxLQUFxQztRQUMxRixPQUFPLElBQUksMkJBQTJCLENBQUMsS0FBSyxFQUFFLEVBQUUsRUFBRSxLQUFLLENBQUMsQ0FBQztJQUMzRCxDQUFDO0lBRUQsWUFBWSxLQUFvQixFQUFFLEVBQVUsRUFBRSxLQUErQjtRQUMzRSxLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsRUFBRSxLQUFLLEVBQUU7WUFDdEIsSUFBSSxFQUFFLFNBQVM7U0FDaEIsQ0FBQyxDQUFDO1FBRUgsSUFBSSxLQUFLLENBQUMsZ0JBQWdCLEVBQUU7WUFBRSxJQUFJLENBQUMsWUFBWSxDQUFDLG1DQUFtQyxFQUFFLE1BQU0sQ0FBQyxDQUFDO1NBQUU7SUFDakcsQ0FBQztJQUVEOzs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JuO1xuICB9XG5cbiAgcHVibGljIGV4cG9ydCgpIHtcbiAgICByZXR1cm4gdGhpcy5wcm9wcztcbiAgfVxuXG4gIC8qKlxuICAgKiBBZGQgYSBsaXN0ZW5lciB0byB0aGlzIGxvYWQgYmFsYW5jZXJcbiAgICpcbiAgICogQHJldHVybnMgVGhlIG5ld2x5IGNyZWF0ZWQgbGlzdGVuZXJcbiAgICovXG4gIHB1YmxpYyBhZGRMaXN0ZW5lcihpZDogc3RyaW5nLCBwcm9wczogQmFzZU5ldHdvcmtMaXN0ZW5lclByb3BzKTogTmV0d29ya0xpc3RlbmVyIHtcbiAgICByZXR1cm4gbmV3IE5ldHdvcmtMaXN0ZW5lcih0aGlzLCBpZCwge1xuICAgICAgbG9hZEJhbGFuY2VyOiB0aGlzLFxuICAgICAgLi4ucHJvcHNcbiAgICB9KTtcbiAgfVxufVxuIl19

@@ -11,3 +11,3 @@ import cdk = require('@aws-cdk/cdk');

*/
port: number;
readonly port: number;
/**

@@ -18,3 +18,3 @@ * Indicates whether Proxy Protocol version 2 is enabled.

*/
proxyProtocolV2?: boolean;
readonly proxyProtocolV2?: boolean;
/**

@@ -27,3 +27,3 @@ * The targets to add to this target group.

*/
targets?: INetworkLoadBalancerTarget[];
readonly targets?: INetworkLoadBalancerTarget[];
}

@@ -30,0 +30,0 @@ /**

@@ -64,2 +64,2 @@ "use strict";

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmV0d29yay10YXJnZXQtZ3JvdXAuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJuZXR3b3JrLXRhcmdldC1ncm91cC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUNBLG1FQUNzRjtBQUN0RiwyQ0FBMkM7QUFDM0MsaURBQTZEO0FBNkI3RDs7R0FFRztBQUNILE1BQWEsa0JBQW1CLFNBQVEsbUNBQWU7SUFDckQ7O09BRUc7SUFDSSxNQUFNLENBQUMsTU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
/**

@@ -14,6 +13,2 @@ * Base class for listeners

protected validate(): string[];
/**
* Add a TargetGroup to the list of default actions of this listener
*/
protected _addDefaultTargetGroup(targetGroup: ITargetGroup): void;
}

@@ -26,2 +26,3 @@ "use strict";

* Add a TargetGroup to the list of default actions of this listener
* @internal
*/

@@ -36,2 +37,2 @@ _addDefaultTargetGroup(targetGroup) {

exports.BaseListener = BaseListener;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1saXN0ZW5lci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImJhc2UtbGlzdGVuZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxvQ0FBcUM7QUFDckMsMEZBQWtFO0FBR2xFOztHQUVHO0FBQ0gsTUFBc0IsWUFBYSxTQUFRLEdBQUcsQ0FBQyxTQUFTO0lBSXRELFlBQVksS0FBb0IsRUFBRSxFQUFVLEVBQUUsZUFBb0I7UUFDaEUsS0FBSyxDQUFDLEtBQUssRUFBRSxFQUFFLENBQUMsQ0FBQztRQUhGLG1CQUFjLEdBQVUsRUFBRSxDQUFDO1FBSzFDLE1BQU0sUUFBUSxHQUFHLElBQUksOENBQVcsQ0FBQyxJQUFJLEVBQUUsVUFBVSxvQkFDNUMsZUFBZSxJQUNsQixjQUFjLEVBQUUsSUFBSSxHQUFHLENBQUMsS0FBSyxDQUFDLEdBQUcsRUFBRSxDQUFDLElBQUksQ0FBQyxjQUFjLENBQUMsSUFDeEQsQ0FBQztRQUVILElBQUksQ0FBQyxXQUFXLEdBQUcsUUFBUSxDQUFDLEdBQUcsQ0FBQztJQUNsQyxDQUFDO0lBRUQ7O09BRUc7SUFDTyxRQUFRO1FBQ2hCLElBQUksSUFBSSxDQUFDLGNBQWMsQ0FBQyxNQUFNLEtBQUssQ0FBQyxFQUFFO1lBQ3BDLE9BQU8sQ0FBQyx5RUFBeUUsQ0FBQyxDQUFDO1NBQ3BGO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FjdGlvbnMgb2YgdGhpcyBsaXN0ZW5lclxuICAgKiBAaW50ZXJuYWxcbiAgICovXG4gIHByb3RlY3RlZCBfYWRkRGVmYXVsdFRhcmdldEdyb3VwKHRhcmdldEdyb3VwOiBJVGFyZ2V0R3JvdXApIHtcbiAgICB0aGlzLmRlZmF1bHRBY3Rpb25zLnB1c2goe1xuICAgICAgdGFyZ2V0R3JvdXBBcm46IHRhcmdldEdyb3VwLnRhcmdldEdyb3VwQXJuLFxuICAgICAgdHlwZTogJ2ZvcndhcmQnXG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==

@@ -13,7 +13,7 @@ import ec2 = require('@aws-cdk/aws-ec2');

*/
loadBalancerName?: string;
readonly loadBalancerName?: string;
/**
* The VPC network to place the load balancer in
*/
vpc: ec2.IVpcNetwork;
readonly vpc: ec2.IVpcNetwork;
/**

@@ -24,3 +24,3 @@ * Whether the load balancer has an internet-routable address

*/
internetFacing?: boolean;
readonly internetFacing?: boolean;
/**

@@ -31,3 +31,3 @@ * Where in the VPC to place the load balancer

*/
vpcPlacement?: ec2.VpcPlacementStrategy;
readonly vpcSubnets?: ec2.SubnetSelection;
/**

@@ -38,3 +38,3 @@ * Indicates whether deletion protection is enabled.

*/
deletionProtection?: boolean;
readonly deletionProtection?: boolean;
}

@@ -41,0 +41,0 @@ /**

@@ -18,7 +18,8 @@ "use strict";

const internetFacing = util_1.ifUndefined(baseProps.internetFacing, false);
const subnets = baseProps.vpc.subnets(util_1.ifUndefined(baseProps.vpcPlacement, { subnetsToUse: internetFacing ? ec2.SubnetType.Public : ec2.SubnetType.Private }));
const vpcSubnets = util_1.ifUndefined(baseProps.vpcSubnets, { subnetType: internetFacing ? ec2.SubnetType.Public : ec2.SubnetType.Private });
const subnets = baseProps.vpc.subnetIds(vpcSubnets);
this.vpc = baseProps.vpc;
const resource = new elasticloadbalancingv2_generated_1.CfnLoadBalancer(this, 'Resource', Object.assign({ name: baseProps.loadBalancerName, subnets: subnets.map(s => s.subnetId), scheme: internetFacing ? 'internet-facing' : 'internal', loadBalancerAttributes: new cdk.Token(() => util_1.renderAttributes(this.attributes)) }, additionalProps));
const resource = new elasticloadbalancingv2_generated_1.CfnLoadBalancer(this, 'Resource', Object.assign({ name: baseProps.loadBalancerName, subnets, scheme: internetFacing ? 'internet-facing' : 'internal', loadBalancerAttributes: new cdk.Token(() => util_1.renderAttributes(this.attributes)) }, additionalProps));
if (internetFacing) {
resource.node.addDependency(...subnets.map(s => s.internetConnectivityEstablished));
resource.node.addDependency(baseProps.vpc.subnetInternetDependencies(vpcSubnets));
}

@@ -56,2 +57,2 @@ if (baseProps.deletionProtection) {

exports.BaseLoadBalancer = BaseLoadBalancer;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1sb2FkLWJhbGFuY2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYmFzZS1sb2FkLWJhbGFuY2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsd0NBQXlDO0FBRXpDLG9DQUFxQztBQUNyQywwRkFBc0U7QUFDdEUsaUNBQW1FO0FBd0NuRTs7R0FFRztBQUNILE1BQXNCLGdCQUFpQixTQUFRLEdBQUcsQ0FBQyxTQUFTO0lBZ0QxRCxZQUFZLEtBQW9CLEVBQUUsRUFBVSxFQUFFLFNBQWdDLEVBQUUsZUFBb0I7UUFDbEcsS0FBSyxDQUFDLEtBQUssRUFBRSxFQUFFLENBQUMsQ0FBQztRQU5uQjs7V0FFRztRQUNjLGVBQVUsR0FBZSxFQUFFLENBQUM7UUFLM0MsTUFBTSxjQUFjLEdBQUcsa0JBQVcsQ0FBQyxTQUFTLENBQUMsY0FBYyxFQUFFLEtBQUssQ0FBQyxDQUFDO1FBRXBFLE1BQU0sT0FBTyxHQUFHLFNBQVMsQ0FBQyxHQUFHLENBQUMsT0FBTyxDQUFDLGtCQUFXLENBQUMsU0FBUyxDQUFDLFlBQVksR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vYWQgYmFsYW5jZXJcbiAgICpcbiAgICogQHNlZSBodHRwczovL2RvY3MuYXdzLmFtYXpvbi5jb20vZWxhc3RpY2xvYWRiYWxhbmNpbmcvbGF0ZXN0L2FwcGxpY2F0aW9uL2FwcGxpY2F0aW9uLWxvYWQtYmFsYW5jZXJzLmh0bWwjbG9hZC1iYWxhbmNlci1hdHRyaWJ1dGVzXG4gICAqL1xuICBwdWJsaWMgc2V0QXR0cmlidXRlKGtleTogc3RyaW5nLCB2YWx1ZTogc3RyaW5nIHwgdW5kZWZpbmVkKSB7XG4gICAgdGhpcy5hdHRyaWJ1dGVzW2tleV0gPSB2YWx1ZTtcbiAgfVxuXG4gIC8qKlxuICAgKiBSZW1vdmUgYW4gYXR0cmlidXRlIGZyb20gdGhlIGxvYWQgYmFsYW5jZXJcbiAgICovXG4gIHB1YmxpYyByZW1vdmVBdHRyaWJ1dGUoa2V5OiBzdHJpbmcpIHtcbiAgICB0aGlzLnNldEF0dHJpYnV0ZShrZXksIHVuZGVmaW5lZCk7XG4gIH1cblxuICBwdWJsaWMgYXNBbGlhc1JlY29yZFRhcmdldCgpOiByb3V0ZTUzLkFsaWFzUmVjb3JkVGFyZ2V0UHJvcHMge1xuICAgIHJldHVybiB7XG4gICAgICBob3N0ZWRab25lSWQ6IHRoaXMuY2Fub25pY2FsSG9zdGVkWm9uZUlkLFxuICAgICAgZG5zTmFtZTogdGhpcy5kbnNOYW1lXG4gICAgfTtcbiAgfVxufVxuIl19

@@ -18,7 +18,7 @@ import codedeploy = require('@aws-cdk/aws-codedeploy-api');

*/
targetGroupName?: string;
readonly targetGroupName?: string;
/**
* The virtual private cloud (VPC).
*/
vpc: ec2.IVpcNetwork;
readonly vpc: ec2.IVpcNetwork;
/**

@@ -31,3 +31,3 @@ * The amount of time for Elastic Load Balancing to wait before deregistering a target.

*/
deregistrationDelaySec?: number;
readonly deregistrationDelaySec?: number;
/**

@@ -38,3 +38,3 @@ * Health check configuration

*/
healthCheck?: HealthCheck;
readonly healthCheck?: HealthCheck;
/**

@@ -49,3 +49,3 @@ * The type of targets registered to this TargetGroup, either IP or Instance.

*/
targetType?: TargetType;
readonly targetType?: TargetType;
}

@@ -61,3 +61,3 @@ /**

*/
intervalSecs?: number;
readonly intervalSecs?: number;
/**

@@ -68,3 +68,3 @@ * The ping path destination where Elastic Load Balancing sends health check requests.

*/
path?: string;
readonly path?: string;
/**

@@ -75,3 +75,3 @@ * The port that the load balancer uses when performing health checks on the targets.

*/
port?: string;
readonly port?: string;
/**

@@ -85,3 +85,3 @@ * The protocol the load balancer uses when performing health checks on targets.

*/
protocol?: Protocol;
readonly protocol?: Protocol;
/**

@@ -96,3 +96,3 @@ * The amount of time, in seconds, during which no response from a target means a failed health check.

*/
timeoutSeconds?: number;
readonly timeoutSeconds?: number;
/**

@@ -105,3 +105,3 @@ * The number of consecutive health checks successes required before considering an unhealthy target healthy.

*/
healthyThresholdCount?: number;
readonly healthyThresholdCount?: number;
/**

@@ -115,3 +115,3 @@ * The number of consecutive health check failures required before considering a target unhealthy.

*/
unhealthyThresholdCount?: number;
readonly unhealthyThresholdCount?: number;
/**

@@ -124,3 +124,3 @@ * HTTP code to use when checking for a successful response from a target.

*/
healthyHttpCodes?: string;
readonly healthyHttpCodes?: string;
}

@@ -220,11 +220,11 @@ /**

*/
targetGroupArn: string;
readonly targetGroupArn: string;
/**
* Port target group is listening on
*/
defaultPort: string;
readonly defaultPort: string;
/**
* A Token representing the list of ARNs for the load balancer routing to this target group
*/
loadBalancerArns?: string;
readonly loadBalancerArns?: string;
}

@@ -259,3 +259,3 @@ /**

*/
targetType: TargetType;
readonly targetType: TargetType;
/**

@@ -266,3 +266,3 @@ * JSON representing the target's direct addition to the TargetGroup list

*/
targetJson?: any;
readonly targetJson?: any;
}

@@ -269,0 +269,0 @@ /**

@@ -107,2 +107,2 @@ "use strict";

exports.loadBalancerNameFromListenerArn = loadBalancerNameFromListenerArn;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIj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XBwL215LWxvYWQtYmFsYW5jZXIvNTBkYzZjNDk1YzBjOTE4OC9mMmY3ZGM4ZWZjNTIyYWIyXG4gKlxuICogSW50b1xuICpcbiAqICAgICBhcHAvbXktbG9hZC1iYWxhbmNlci81MGRjNmM0OTVjMGM5MTg4XG4gKi9cbmV4cG9ydCBmdW5jdGlvbiBsb2FkQmFsYW5jZXJOYW1lRnJvbUxpc3RlbmVyQXJuKGxpc3RlbmVyQXJuOiBzdHJpbmcpIHtcbiAgICBjb25zdCBhcm5QYXJ0cyA9IGNkay5Gbi5zcGxpdCgnLycsIGxpc3RlbmVyQXJuKTtcbiAgICByZXR1cm4gYCR7Y2RrLkZuLnNlbGVjdCgxLCBhcm5QYXJ0cyl9LyR7Y2RrLkZuLnNlbGVjdCgyLCBhcm5QYXJ0cyl9LyR7Y2RrLkZuLnNlbGVjdCgzLCBhcm5QYXJ0cyl9YDtcbn1cbiJdfQ==

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

this.targetGroupArn = props.targetGroupArn;
this.loadBalancerArns = props.loadBalancerArns || new cdk.AwsNoValue().toString();
this.loadBalancerArns = props.loadBalancerArns || cdk.Aws.noValue;
}

@@ -24,2 +24,2 @@ export() {

exports.ImportedTargetGroupBase = ImportedTargetGroupBase;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1wb3J0ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbXBvcnRlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLG9DQUFxQztBQUdyQzs7R0FFRztBQUNILE1BQXNCLHVCQUF3QixTQUFRLEdBQUcsQ0FBQyxTQUFTO0lBZ0JqRSxZQUFZLEtBQW9CLEVBQUUsRUFBVSxFQUFtQixLQUE2QjtRQUMxRixLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQyxDQUFDO1FBRDRDLFVBQUssR0FBTCxLQUFLLENBQXdCO1FBTDVGOztX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JBcm5zOiBzdHJpbmc7XG5cbiAgLyoqXG4gICAqIFJldHVybiBhbiBvYmplY3QgdG8gZGVwZW5kIG9uIHRoZSBsaXN0ZW5lcnMgYWRkZWQgdG8gdGhpcyB0YXJnZXQgZ3JvdXBcbiAgICovXG4gIHB1YmxpYyByZWFkb25seSBsb2FkQmFsYW5jZXJBdHRhY2hlZDogY2RrLklEZXBlbmRhYmxlID0gbmV3IGNkay5Db25jcmV0ZURlcGVuZGFibGUoKTtcblxuICBjb25zdHJ1Y3RvcihzY29wZTogY2RrLkNvbnN0cnVjdCwgaWQ6IHN0cmluZywgcHJpdmF0ZSByZWFkb25seSBwcm9wczogVGFyZ2V0R3JvdXBJbXBvcnRQcm9wcykge1xuICAgIHN1cGVyKHNjb3BlLCBpZCk7XG5cbiAgICB0aGlzLnRhcmdldEdyb3VwQXJuID0gcHJvcHMudGFyZ2V0R3JvdXBBcm47XG4gICAgdGhpcy5sb2FkQmFsYW5jZXJBcm5zID0gcHJvcHMubG9hZEJhbGFuY2VyQXJucyB8fCBjZGsuQXdzLm5vVmFsdWU7XG4gIH1cblxuICBwdWJsaWMgZXhwb3J0KCkge1xuICAgIHJldHVybiB0aGlzLnByb3BzO1xuICB9XG59XG4iXX0=
{
"name": "@aws-cdk/aws-elasticloadbalancingv2",
"version": "0.26.0",
"version": "0.27.0",
"description": "The CDK Construct Library for AWS::ElasticLoadBalancingV2",

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

},
"sphinx": {}
"sphinx": {},
"python": {
"distName": "aws-cdk.aws-elasticloadbalancingv2",
"module": "aws_cdk.aws_elasticloadbalancingv2"
}
}

@@ -58,25 +62,25 @@ },

"devDependencies": {
"@aws-cdk/assert": "^0.26.0",
"cdk-build-tools": "^0.26.0",
"cdk-integ-tools": "^0.26.0",
"cfn2ts": "^0.26.0",
"pkglint": "^0.26.0"
"@aws-cdk/assert": "^0.27.0",
"cdk-build-tools": "^0.27.0",
"cdk-integ-tools": "^0.27.0",
"cfn2ts": "^0.27.0",
"pkglint": "^0.27.0"
},
"dependencies": {
"@aws-cdk/aws-cloudwatch": "^0.26.0",
"@aws-cdk/aws-codedeploy-api": "^0.26.0",
"@aws-cdk/aws-ec2": "^0.26.0",
"@aws-cdk/aws-iam": "^0.26.0",
"@aws-cdk/aws-route53": "^0.26.0",
"@aws-cdk/aws-s3": "^0.26.0",
"@aws-cdk/cdk": "^0.26.0"
"@aws-cdk/aws-cloudwatch": "^0.27.0",
"@aws-cdk/aws-codedeploy-api": "^0.27.0",
"@aws-cdk/aws-ec2": "^0.27.0",
"@aws-cdk/aws-iam": "^0.27.0",
"@aws-cdk/aws-route53": "^0.27.0",
"@aws-cdk/aws-s3": "^0.27.0",
"@aws-cdk/cdk": "^0.27.0"
},
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/aws-cloudwatch": "^0.26.0",
"@aws-cdk/aws-codedeploy-api": "^0.26.0",
"@aws-cdk/aws-ec2": "^0.26.0",
"@aws-cdk/aws-route53": "^0.26.0",
"@aws-cdk/aws-s3": "^0.26.0",
"@aws-cdk/cdk": "^0.26.0"
"@aws-cdk/aws-cloudwatch": "^0.27.0",
"@aws-cdk/aws-codedeploy-api": "^0.27.0",
"@aws-cdk/aws-ec2": "^0.27.0",
"@aws-cdk/aws-route53": "^0.27.0",
"@aws-cdk/aws-s3": "^0.27.0",
"@aws-cdk/cdk": "^0.27.0"
},

@@ -83,0 +87,0 @@ "engines": {

@@ -25,2 +25,3 @@ {

"strictNullChecks": true,
"stripInternal": true,
"target": "ES2018",

@@ -27,0 +28,0 @@ "composite": true

Sorry, the diff of this file is not supported yet

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