Skip to content

Commit a09ae3e

Browse files
chore(cloudfront): add new enum values for cloudfront
1 parent 1e1f8eb commit a09ae3e

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed

packages/aws-cdk-lib/aws-cloudfront/lib/distribution.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -905,6 +905,10 @@ export enum OriginProtocolPolicy {
905905
export enum SSLMethod {
906906
SNI = 'sni-only',
907907
VIP = 'vip',
908+
/**
909+
* PLACEHOLDER_COMMENT_TO_BE_FILLED_OUT
910+
*/
911+
STATIC_IP = 'static-ip',
908912
}
909913

910914
/**

packages/aws-cdk-lib/aws-cloudfront/lib/function.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,16 @@ export enum FunctionEventType {
247247
* The viewer-response specifies the outgoing response
248248
*/
249249
VIEWER_RESPONSE = 'viewer-response',
250+
251+
/**
252+
* PLACEHOLDER_COMMENT_TO_BE_FILLED_OUT
253+
*/
254+
ORIGIN_REQUEST = 'origin-request',
255+
256+
/**
257+
* PLACEHOLDER_COMMENT_TO_BE_FILLED_OUT
258+
*/
259+
ORIGIN_RESPONSE = 'origin-response',
250260
}
251261

252262
/**

packages/aws-cdk-lib/aws-cloudfront/lib/web-distribution.ts

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,31 @@ export enum FailoverStatusCode {
4646
* Gateway Timeout (504)
4747
*/
4848
GATEWAY_TIMEOUT = 504,
49+
50+
/**
51+
* PLACEHOLDER_COMMENT_TO_BE_FILLED_OUT
52+
*/
53+
400 = '400',
54+
55+
/**
56+
* PLACEHOLDER_COMMENT_TO_BE_FILLED_OUT
57+
*/
58+
405 = '405',
59+
60+
/**
61+
* PLACEHOLDER_COMMENT_TO_BE_FILLED_OUT
62+
*/
63+
414 = '414',
64+
65+
/**
66+
* PLACEHOLDER_COMMENT_TO_BE_FILLED_OUT
67+
*/
68+
416 = '416',
69+
70+
/**
71+
* PLACEHOLDER_COMMENT_TO_BE_FILLED_OUT
72+
*/
73+
501 = '501',
4974
}
5075

5176
/**

0 commit comments

Comments
 (0)