agent-claw: automated task changes
This commit is contained in:
13
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/.jsiirc.json
generated
vendored
Normal file
13
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/.jsiirc.json
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"targets": {
|
||||
"java": {
|
||||
"package": "software.amazon.awscdk.services.elasticloadbalancingv2.targets"
|
||||
},
|
||||
"dotnet": {
|
||||
"namespace": "Amazon.CDK.AWS.ElasticLoadBalancingV2.Targets"
|
||||
},
|
||||
"python": {
|
||||
"module": "aws_cdk.aws_elasticloadbalancingv2_targets"
|
||||
}
|
||||
}
|
||||
}
|
||||
4
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/README.md
generated
vendored
Normal file
4
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/README.md
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
# Targets for AWS Elastic Load Balancing V2
|
||||
|
||||
|
||||
This package contains targets for ELBv2. See the README of the `aws-cdk-lib/aws-elasticloadbalancingv2` library.
|
||||
1
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/index.d.ts
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export * from './lib';
|
||||
1
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/index.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/index.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";var __createBinding=exports&&exports.__createBinding||(Object.create?(function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}):(function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]})),__exportStar=exports&&exports.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0});var _noFold;exports.AlbArnTarget=void 0,Object.defineProperty(exports,_noFold="AlbArnTarget",{enumerable:!0,configurable:!0,get:()=>{var value=require("./lib").AlbArnTarget;return Object.defineProperty(exports,_noFold="AlbArnTarget",{enumerable:!0,configurable:!0,value}),value}}),exports.AlbTarget=void 0,Object.defineProperty(exports,_noFold="AlbTarget",{enumerable:!0,configurable:!0,get:()=>{var value=require("./lib").AlbTarget;return Object.defineProperty(exports,_noFold="AlbTarget",{enumerable:!0,configurable:!0,value}),value}}),exports.AlbListenerTarget=void 0,Object.defineProperty(exports,_noFold="AlbListenerTarget",{enumerable:!0,configurable:!0,get:()=>{var value=require("./lib").AlbListenerTarget;return Object.defineProperty(exports,_noFold="AlbListenerTarget",{enumerable:!0,configurable:!0,value}),value}}),exports.IpTarget=void 0,Object.defineProperty(exports,_noFold="IpTarget",{enumerable:!0,configurable:!0,get:()=>{var value=require("./lib").IpTarget;return Object.defineProperty(exports,_noFold="IpTarget",{enumerable:!0,configurable:!0,value}),value}}),exports.InstanceIdTarget=void 0,Object.defineProperty(exports,_noFold="InstanceIdTarget",{enumerable:!0,configurable:!0,get:()=>{var value=require("./lib").InstanceIdTarget;return Object.defineProperty(exports,_noFold="InstanceIdTarget",{enumerable:!0,configurable:!0,value}),value}}),exports.InstanceTarget=void 0,Object.defineProperty(exports,_noFold="InstanceTarget",{enumerable:!0,configurable:!0,get:()=>{var value=require("./lib").InstanceTarget;return Object.defineProperty(exports,_noFold="InstanceTarget",{enumerable:!0,configurable:!0,value}),value}}),exports.LambdaTarget=void 0,Object.defineProperty(exports,_noFold="LambdaTarget",{enumerable:!0,configurable:!0,get:()=>{var value=require("./lib").LambdaTarget;return Object.defineProperty(exports,_noFold="LambdaTarget",{enumerable:!0,configurable:!0,value}),value}});
|
||||
68
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/lib/alb-target.d.ts
generated
vendored
Normal file
68
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/lib/alb-target.d.ts
generated
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
import * as elbv2 from '../../aws-elasticloadbalancingv2';
|
||||
import type { aws_elasticloadbalancingv2 } from '../../interfaces';
|
||||
/**
|
||||
* A single Application Load Balancer as the target for load balancing.
|
||||
*/
|
||||
export declare class AlbArnTarget implements elbv2.INetworkLoadBalancerTarget {
|
||||
private readonly albArn;
|
||||
private readonly port;
|
||||
/**
|
||||
* Create a new alb target.
|
||||
* Note that the ALB must have a listener on the provided target port.
|
||||
*
|
||||
* @param albArn The ARN of the application load balancer to load balance to
|
||||
* @param port The port on which the target is listening
|
||||
*/
|
||||
constructor(albArn: string, port: number);
|
||||
/**
|
||||
* Register this alb target with a load balancer
|
||||
*
|
||||
* Don't call this, it is called automatically when you add the target to a
|
||||
* load balancer.
|
||||
*/
|
||||
attachToNetworkTargetGroup(targetGroup: elbv2.INetworkTargetGroup): elbv2.LoadBalancerTargetProps;
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
protected _attach(_targetGroup: aws_elasticloadbalancingv2.ITargetGroupRef): elbv2.LoadBalancerTargetProps;
|
||||
}
|
||||
/**
|
||||
* A single Application Load Balancer as the target for load balancing.
|
||||
* @deprecated Use `AlbListenerTarget` instead or
|
||||
* `AlbArnTarget` for an imported load balancer. This target does not automatically
|
||||
* add a dependency between the ALB listener and resulting NLB target group,
|
||||
* without which may cause stack deployments to fail if the NLB target group is provisioned
|
||||
* before the listener has been fully created.
|
||||
*/
|
||||
export declare class AlbTarget extends AlbArnTarget {
|
||||
/**
|
||||
* @param alb The application load balancer to load balance to
|
||||
* @param port The port on which the target is listening
|
||||
*/
|
||||
constructor(alb: elbv2.IApplicationLoadBalancerRef, port: number);
|
||||
}
|
||||
/**
|
||||
* A single Application Load Balancer's listener as the target for load balancing.
|
||||
*/
|
||||
export declare class AlbListenerTarget extends AlbArnTarget {
|
||||
private albListener;
|
||||
/**
|
||||
* Create a new ALB target.
|
||||
* The associated target group will automatically have a dependency added
|
||||
* against the ALB's listener.
|
||||
*
|
||||
* @param albListener The application load balancer listener to target.
|
||||
*/
|
||||
constructor(albListener: elbv2.ApplicationListener);
|
||||
private attach;
|
||||
/**
|
||||
* Register this ALB target with a load balancer.
|
||||
*
|
||||
* Don't call this, it is called automatically when you add the target to a
|
||||
* load balancer.
|
||||
*
|
||||
* This adds dependency on albListener because creation of ALB listener and NLB can vary during runtime.
|
||||
* More Details on - https://github.com/aws/aws-cdk/issues/17208
|
||||
*/
|
||||
attachToNetworkTargetGroup(targetGroup: elbv2.INetworkTargetGroup): elbv2.LoadBalancerTargetProps;
|
||||
}
|
||||
1
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/lib/alb-target.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/lib/alb-target.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AlbListenerTarget=exports.AlbTarget=exports.AlbArnTarget=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var elbv2=()=>{var tmp=require("../../aws-elasticloadbalancingv2");return elbv2=()=>tmp,tmp};class AlbArnTarget{albArn;port;static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_elasticloadbalancingv2_targets.AlbArnTarget",version:"2.252.0"};constructor(albArn,port){this.albArn=albArn,this.port=port}attachToNetworkTargetGroup(targetGroup){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_elasticloadbalancingv2_INetworkTargetGroup(targetGroup)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.attachToNetworkTargetGroup),error}return this._attach(targetGroup)}_attach(_targetGroup){return{targetType:elbv2().TargetType.ALB,targetJson:{id:this.albArn,port:this.port}}}}exports.AlbArnTarget=AlbArnTarget;class AlbTarget extends AlbArnTarget{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_elasticloadbalancingv2_targets.AlbTarget",version:"2.252.0"};constructor(alb,port){super(alb.loadBalancerRef.loadBalancerArn,port);try{jsiiDeprecationWarnings().print("aws-cdk-lib.aws_elasticloadbalancingv2_targets.AlbTarget","Use `AlbListenerTarget` instead or\n`AlbArnTarget` for an imported load balancer. This target does not automatically\nadd a dependency between the ALB listener and resulting NLB target group,\nwithout which may cause stack deployments to fail if the NLB target group is provisioned\nbefore the listener has been fully created."),jsiiDeprecationWarnings().aws_cdk_lib_aws_elasticloadbalancingv2_IApplicationLoadBalancerRef(alb)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,AlbTarget),error}}}exports.AlbTarget=AlbTarget;class AlbListenerTarget extends AlbArnTarget{albListener;static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_elasticloadbalancingv2_targets.AlbListenerTarget",version:"2.252.0"};constructor(albListener){super(albListener.loadBalancer.loadBalancerArn,albListener.port),this.albListener=albListener;try{jsiiDeprecationWarnings().aws_cdk_lib_aws_elasticloadbalancingv2_ApplicationListener(albListener)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,AlbListenerTarget),error}}attach(targetGroup){return targetGroup.node.addDependency(this.albListener),super._attach(targetGroup)}attachToNetworkTargetGroup(targetGroup){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_elasticloadbalancingv2_INetworkTargetGroup(targetGroup)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.attachToNetworkTargetGroup),error}return this.attach(targetGroup)}}exports.AlbListenerTarget=AlbListenerTarget;
|
||||
4
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/lib/index.d.ts
generated
vendored
Normal file
4
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/lib/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
export * from './alb-target';
|
||||
export * from './ip-target';
|
||||
export * from './instance-target';
|
||||
export * from './lambda-target';
|
||||
1
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/lib/index.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/lib/index.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";var __createBinding=exports&&exports.__createBinding||(Object.create?(function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}):(function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]})),__exportStar=exports&&exports.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0});var _noFold;exports.AlbArnTarget=void 0,Object.defineProperty(exports,_noFold="AlbArnTarget",{enumerable:!0,configurable:!0,get:()=>{var value=require("./alb-target").AlbArnTarget;return Object.defineProperty(exports,_noFold="AlbArnTarget",{enumerable:!0,configurable:!0,value}),value}}),exports.AlbTarget=void 0,Object.defineProperty(exports,_noFold="AlbTarget",{enumerable:!0,configurable:!0,get:()=>{var value=require("./alb-target").AlbTarget;return Object.defineProperty(exports,_noFold="AlbTarget",{enumerable:!0,configurable:!0,value}),value}}),exports.AlbListenerTarget=void 0,Object.defineProperty(exports,_noFold="AlbListenerTarget",{enumerable:!0,configurable:!0,get:()=>{var value=require("./alb-target").AlbListenerTarget;return Object.defineProperty(exports,_noFold="AlbListenerTarget",{enumerable:!0,configurable:!0,value}),value}}),exports.IpTarget=void 0,Object.defineProperty(exports,_noFold="IpTarget",{enumerable:!0,configurable:!0,get:()=>{var value=require("./ip-target").IpTarget;return Object.defineProperty(exports,_noFold="IpTarget",{enumerable:!0,configurable:!0,value}),value}}),exports.InstanceIdTarget=void 0,Object.defineProperty(exports,_noFold="InstanceIdTarget",{enumerable:!0,configurable:!0,get:()=>{var value=require("./instance-target").InstanceIdTarget;return Object.defineProperty(exports,_noFold="InstanceIdTarget",{enumerable:!0,configurable:!0,value}),value}}),exports.InstanceTarget=void 0,Object.defineProperty(exports,_noFold="InstanceTarget",{enumerable:!0,configurable:!0,get:()=>{var value=require("./instance-target").InstanceTarget;return Object.defineProperty(exports,_noFold="InstanceTarget",{enumerable:!0,configurable:!0,value}),value}}),exports.LambdaTarget=void 0,Object.defineProperty(exports,_noFold="LambdaTarget",{enumerable:!0,configurable:!0,get:()=>{var value=require("./lambda-target").LambdaTarget;return Object.defineProperty(exports,_noFold="LambdaTarget",{enumerable:!0,configurable:!0,value}),value}});
|
||||
43
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/lib/instance-target.d.ts
generated
vendored
Normal file
43
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/lib/instance-target.d.ts
generated
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
import type * as ec2 from '../../aws-ec2';
|
||||
import * as elbv2 from '../../aws-elasticloadbalancingv2';
|
||||
/**
|
||||
* An EC2 instance that is the target for load balancing
|
||||
*
|
||||
* If you register a target of this type, you are responsible for making
|
||||
* sure the load balancer's security group can connect to the instance.
|
||||
*/
|
||||
export declare class InstanceIdTarget implements elbv2.IApplicationLoadBalancerTarget, elbv2.INetworkLoadBalancerTarget {
|
||||
private readonly instanceId;
|
||||
private readonly port?;
|
||||
/**
|
||||
* Create a new Instance target
|
||||
*
|
||||
* @param instanceId Instance ID of the instance to register to
|
||||
* @param port Override the default port for the target group
|
||||
*/
|
||||
constructor(instanceId: string, port?: number | undefined);
|
||||
/**
|
||||
* Register this instance target with a load balancer
|
||||
*
|
||||
* Don't call this, it is called automatically when you add the target to a
|
||||
* load balancer.
|
||||
*/
|
||||
attachToApplicationTargetGroup(targetGroup: elbv2.IApplicationTargetGroup): elbv2.LoadBalancerTargetProps;
|
||||
/**
|
||||
* Register this instance target with a load balancer
|
||||
*
|
||||
* Don't call this, it is called automatically when you add the target to a
|
||||
* load balancer.
|
||||
*/
|
||||
attachToNetworkTargetGroup(targetGroup: elbv2.INetworkTargetGroup): elbv2.LoadBalancerTargetProps;
|
||||
private attach;
|
||||
}
|
||||
export declare class InstanceTarget extends InstanceIdTarget {
|
||||
/**
|
||||
* Create a new Instance target
|
||||
*
|
||||
* @param instance Instance to register to
|
||||
* @param port Override the default port for the target group
|
||||
*/
|
||||
constructor(instance: ec2.Instance, port?: number);
|
||||
}
|
||||
1
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/lib/instance-target.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/lib/instance-target.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.InstanceTarget=exports.InstanceIdTarget=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var elbv2=()=>{var tmp=require("../../aws-elasticloadbalancingv2");return elbv2=()=>tmp,tmp};class InstanceIdTarget{instanceId;port;static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_elasticloadbalancingv2_targets.InstanceIdTarget",version:"2.252.0"};constructor(instanceId,port){this.instanceId=instanceId,this.port=port}attachToApplicationTargetGroup(targetGroup){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_elasticloadbalancingv2_IApplicationTargetGroup(targetGroup)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.attachToApplicationTargetGroup),error}return this.attach(targetGroup)}attachToNetworkTargetGroup(targetGroup){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_elasticloadbalancingv2_INetworkTargetGroup(targetGroup)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.attachToNetworkTargetGroup),error}return this.attach(targetGroup)}attach(_targetGroup){return{targetType:elbv2().TargetType.INSTANCE,targetJson:{id:this.instanceId,port:this.port}}}}exports.InstanceIdTarget=InstanceIdTarget;class InstanceTarget extends InstanceIdTarget{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_elasticloadbalancingv2_targets.InstanceTarget",version:"2.252.0"};constructor(instance,port){super(instance.instanceId,port);try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ec2_Instance(instance)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,InstanceTarget),error}}}exports.InstanceTarget=InstanceTarget;
|
||||
55
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/lib/ip-target.d.ts
generated
vendored
Normal file
55
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/lib/ip-target.d.ts
generated
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
import * as elbv2 from '../../aws-elasticloadbalancingv2';
|
||||
/**
|
||||
* An IP address that is a target for load balancing.
|
||||
*
|
||||
* Specify IP addresses from the subnets of the virtual private cloud (VPC) for
|
||||
* the target group, the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and
|
||||
* 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). You can't specify
|
||||
* publicly routable IP addresses.
|
||||
*
|
||||
* If you register a target of this type, you are responsible for making
|
||||
* sure the load balancer's security group can send packets to the IP address.
|
||||
*/
|
||||
export declare class IpTarget implements elbv2.IApplicationLoadBalancerTarget, elbv2.INetworkLoadBalancerTarget {
|
||||
private readonly ipAddress;
|
||||
private readonly port?;
|
||||
private readonly availabilityZone?;
|
||||
/**
|
||||
* Create a new IPAddress target
|
||||
*
|
||||
* The availabilityZone parameter determines whether the target receives
|
||||
* traffic from the load balancer nodes in the specified Availability Zone
|
||||
* or from all enabled Availability Zones for the load balancer.
|
||||
*
|
||||
* This parameter is not supported if the target type of the target group
|
||||
* is instance. If the IP address is in a subnet of the VPC for the target
|
||||
* group, the Availability Zone is automatically detected and this
|
||||
* parameter is optional. If the IP address is outside the VPC, this
|
||||
* parameter is required.
|
||||
*
|
||||
* With an Application Load Balancer, if the IP address is outside the VPC
|
||||
* for the target group, the only supported value is all.
|
||||
*
|
||||
* Default is automatic.
|
||||
*
|
||||
* @param ipAddress The IP Address to load balance to
|
||||
* @param port Override the group's default port
|
||||
* @param availabilityZone Availability zone to send traffic from
|
||||
*/
|
||||
constructor(ipAddress: string, port?: number | undefined, availabilityZone?: string | undefined);
|
||||
/**
|
||||
* Register this instance target with a load balancer
|
||||
*
|
||||
* Don't call this, it is called automatically when you add the target to a
|
||||
* load balancer.
|
||||
*/
|
||||
attachToApplicationTargetGroup(targetGroup: elbv2.IApplicationTargetGroup): elbv2.LoadBalancerTargetProps;
|
||||
/**
|
||||
* Register this instance target with a load balancer
|
||||
*
|
||||
* Don't call this, it is called automatically when you add the target to a
|
||||
* load balancer.
|
||||
*/
|
||||
attachToNetworkTargetGroup(targetGroup: elbv2.INetworkTargetGroup): elbv2.LoadBalancerTargetProps;
|
||||
private attach;
|
||||
}
|
||||
1
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/lib/ip-target.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/lib/ip-target.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IpTarget=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var elbv2=()=>{var tmp=require("../../aws-elasticloadbalancingv2");return elbv2=()=>tmp,tmp};class IpTarget{ipAddress;port;availabilityZone;static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_elasticloadbalancingv2_targets.IpTarget",version:"2.252.0"};constructor(ipAddress,port,availabilityZone){this.ipAddress=ipAddress,this.port=port,this.availabilityZone=availabilityZone}attachToApplicationTargetGroup(targetGroup){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_elasticloadbalancingv2_IApplicationTargetGroup(targetGroup)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.attachToApplicationTargetGroup),error}return this.attach(targetGroup)}attachToNetworkTargetGroup(targetGroup){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_elasticloadbalancingv2_INetworkTargetGroup(targetGroup)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.attachToNetworkTargetGroup),error}return this.attach(targetGroup)}attach(_targetGroup){return{targetType:elbv2().TargetType.IP,targetJson:{id:this.ipAddress,port:this.port,availabilityZone:this.availabilityZone}}}}exports.IpTarget=IpTarget;
|
||||
26
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/lib/lambda-target.d.ts
generated
vendored
Normal file
26
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/lib/lambda-target.d.ts
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
import * as elbv2 from '../../aws-elasticloadbalancingv2';
|
||||
import type * as lambda from '../../aws-lambda';
|
||||
export declare class LambdaTarget implements elbv2.IApplicationLoadBalancerTarget {
|
||||
private readonly fn;
|
||||
/**
|
||||
* Create a new Lambda target
|
||||
*
|
||||
* @param functionArn The Lambda Function to load balance to
|
||||
*/
|
||||
constructor(fn: lambda.IFunction);
|
||||
/**
|
||||
* Register this instance target with a load balancer
|
||||
*
|
||||
* Don't call this, it is called automatically when you add the target to a
|
||||
* load balancer.
|
||||
*/
|
||||
attachToApplicationTargetGroup(targetGroup: elbv2.IApplicationTargetGroup): elbv2.LoadBalancerTargetProps;
|
||||
/**
|
||||
* Register this instance target with a load balancer
|
||||
*
|
||||
* Don't call this, it is called automatically when you add the target to a
|
||||
* load balancer.
|
||||
*/
|
||||
attachToNetworkTargetGroup(targetGroup: elbv2.INetworkTargetGroup): elbv2.LoadBalancerTargetProps;
|
||||
private attach;
|
||||
}
|
||||
1
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/lib/lambda-target.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/lib/lambda-target.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LambdaTarget=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var elbv2=()=>{var tmp=require("../../aws-elasticloadbalancingv2");return elbv2=()=>tmp,tmp},iam=()=>{var tmp=require("../../aws-iam");return iam=()=>tmp,tmp};class LambdaTarget{fn;static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_elasticloadbalancingv2_targets.LambdaTarget",version:"2.252.0"};constructor(fn){this.fn=fn;try{jsiiDeprecationWarnings().aws_cdk_lib_aws_lambda_IFunction(fn)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,LambdaTarget),error}}attachToApplicationTargetGroup(targetGroup){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_elasticloadbalancingv2_IApplicationTargetGroup(targetGroup)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.attachToApplicationTargetGroup),error}return this.fn.grantInvoke(new(iam()).ServicePrincipal("elasticloadbalancing.amazonaws.com")).applyBefore(targetGroup),this.attach(targetGroup)}attachToNetworkTargetGroup(targetGroup){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_elasticloadbalancingv2_INetworkTargetGroup(targetGroup)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.attachToNetworkTargetGroup),error}return this.fn.grantInvoke(new(iam()).ServicePrincipal("elasticloadbalancing.amazonaws.com")).applyBefore(targetGroup),this.attach(targetGroup)}attach(_targetGroup){return{targetType:elbv2().TargetType.LAMBDA,targetJson:{id:this.fn.functionArn}}}}exports.LambdaTarget=LambdaTarget;
|
||||
Reference in New Issue
Block a user