Skip to content

Commit

Permalink
chore(cloudfront): backfill missing enums for cloudfront
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhcsun committed Feb 28, 2025
1 parent 8679b89 commit 55d8318
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/aws-cdk-lib/aws-cloudfront/lib/distribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -905,6 +905,10 @@ export enum OriginProtocolPolicy {
export enum SSLMethod {
SNI = 'sni-only',
VIP = 'vip',
/**
* [PLACEHOLDER FOR: TO BE FILLED OUT]
*/
STATIC_IP = 'static-ip',
}

/**
Expand Down
10 changes: 10 additions & 0 deletions packages/aws-cdk-lib/aws-cloudfront/lib/function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,16 @@ export enum FunctionEventType {
* The viewer-response specifies the outgoing response
*/
VIEWER_RESPONSE = 'viewer-response',

/**
* [PLACEHOLDER FOR: TO BE FILLED OUT]
*/
ORIGIN_REQUEST = 'origin-request',

/**
* [PLACEHOLDER FOR: TO BE FILLED OUT]
*/
ORIGIN_RESPONSE = 'origin-response',
}

/**
Expand Down

0 comments on commit 55d8318

Please sign in to comment.