Skip to content

Commit

Permalink
chore(apigatewayv2): backfill missing enums for apigatewayv2
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhcsun committed Feb 28, 2025
1 parent 8679b89 commit 5d9bce4
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/aws-cdk-lib/aws-apigatewayv2/lib/http/integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,21 @@ export enum HttpIntegrationType {
* @see https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html
*/
AWS_PROXY = 'AWS_PROXY',

/**
* [PLACEHOLDER FOR: TO BE FILLED OUT]
*/
AWS = 'AWS',

/**
* [PLACEHOLDER FOR: TO BE FILLED OUT]
*/
HTTP = 'HTTP',

/**
* [PLACEHOLDER FOR: TO BE FILLED OUT]
*/
MOCK = 'MOCK',
}

/**
Expand Down
12 changes: 12 additions & 0 deletions packages/aws-cdk-lib/aws-apigatewayv2/lib/parameter-mapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@ export class MappingValue implements IMappingValue {
* Creates an empty mapping value.
*/
public static readonly NONE = new MappingValue('');
/**
* [PLACEHOLDER COMMENT: TO BE FILLED OUT]
*/
public static readonly JWT = new MappingValue('JWT');
/**
* [PLACEHOLDER COMMENT: TO BE FILLED OUT]
*/
public static readonly CUSTOM = new MappingValue('CUSTOM');
/**
* [PLACEHOLDER COMMENT: TO BE FILLED OUT]
*/
public static readonly AWS_IAM = new MappingValue('AWS_IAM');

/**
* Creates a header mapping value.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ export enum WebSocketIntegrationType {
* AWS Integration Type
*/
AWS = 'AWS',
/**
* [PLACEHOLDER FOR: TO BE FILLED OUT]
*/
HTTP = 'HTTP',
/**
* [PLACEHOLDER FOR: TO BE FILLED OUT]
*/
HTTP_PROXY = 'HTTP_PROXY',
}

/**
Expand Down

0 comments on commit 5d9bce4

Please sign in to comment.