agent-claw: automated task changes
This commit is contained in:
40
cdk/node_modules/aws-cdk-lib/aws-apigatewayv2-integrations/lib/http/private/integration.d.ts
generated
vendored
Normal file
40
cdk/node_modules/aws-cdk-lib/aws-apigatewayv2-integrations/lib/http/private/integration.d.ts
generated
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
import type { HttpRouteIntegrationBindOptions, HttpRouteIntegrationConfig, IVpcLink } from '../../../../aws-apigatewayv2';
|
||||
import { HttpConnectionType, HttpIntegrationType, HttpRouteIntegration, PayloadFormatVersion, HttpMethod } from '../../../../aws-apigatewayv2';
|
||||
import type * as ec2 from '../../../../aws-ec2';
|
||||
/**
|
||||
* Options required to use an existing vpcLink or configure a new one
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
export interface VpcLinkConfigurationOptions {
|
||||
/**
|
||||
* The vpc link to be used for the private integration
|
||||
*
|
||||
* @default - a new VpcLink is created
|
||||
*/
|
||||
readonly vpcLink?: IVpcLink;
|
||||
/**
|
||||
* The vpc for which the VpcLink needs to be created
|
||||
*
|
||||
* @default undefined
|
||||
*/
|
||||
readonly vpc?: ec2.IVpc;
|
||||
}
|
||||
/**
|
||||
* The HTTP Private integration resource for HTTP API
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
export declare abstract class HttpPrivateIntegration extends HttpRouteIntegration {
|
||||
protected httpMethod: HttpMethod;
|
||||
protected payloadFormatVersion: PayloadFormatVersion;
|
||||
protected integrationType: HttpIntegrationType;
|
||||
protected connectionType: HttpConnectionType;
|
||||
/**
|
||||
* Adds a vpcLink to the API if not passed in the options
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
protected _configureVpcLink(bindOptions: HttpRouteIntegrationBindOptions, configOptions: VpcLinkConfigurationOptions): IVpcLink;
|
||||
abstract bind(options: HttpRouteIntegrationBindOptions): HttpRouteIntegrationConfig;
|
||||
}
|
||||
1
cdk/node_modules/aws-cdk-lib/aws-apigatewayv2-integrations/lib/http/private/integration.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/aws-apigatewayv2-integrations/lib/http/private/integration.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.HttpPrivateIntegration=void 0;var aws_apigatewayv2_1=()=>{var tmp=require("../../../../aws-apigatewayv2");return aws_apigatewayv2_1=()=>tmp,tmp},errors_1=()=>{var tmp=require("../../../../core/lib/errors");return errors_1=()=>tmp,tmp},literal_string_1=()=>{var tmp=require("../../../../core/lib/private/literal-string");return literal_string_1=()=>tmp,tmp};class HttpPrivateIntegration extends aws_apigatewayv2_1().HttpRouteIntegration{httpMethod=aws_apigatewayv2_1().HttpMethod.ANY;payloadFormatVersion=aws_apigatewayv2_1().PayloadFormatVersion.VERSION_1_0;integrationType=aws_apigatewayv2_1().HttpIntegrationType.HTTP_PROXY;connectionType=aws_apigatewayv2_1().HttpConnectionType.VPC_LINK;_configureVpcLink(bindOptions,configOptions){let vpcLink=configOptions.vpcLink;if(!vpcLink){if(!configOptions.vpc)throw new(errors_1()).ValidationError((0,literal_string_1().lit)`OneVpcLinkVpcProvided`,"One of vpcLink or vpc should be provided for private integration",bindOptions.scope);vpcLink=bindOptions.route.httpApi.addVpcLink({vpc:configOptions.vpc})}return vpcLink}}exports.HttpPrivateIntegration=HttpPrivateIntegration;
|
||||
Reference in New Issue
Block a user