@aws-sdk/client-cloudfront 3.301.0 → 3.303.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,17 +2,22 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { CloudFrontServiceException as __BaseException } from "./CloudFrontServiceException";
3
3
  /**
4
4
  * @public
5
+ * @enum
5
6
  */
6
- export declare enum ResponseHeadersPolicyAccessControlAllowMethodsValues {
7
- ALL = "ALL",
8
- DELETE = "DELETE",
9
- GET = "GET",
10
- HEAD = "HEAD",
11
- OPTIONS = "OPTIONS",
12
- PATCH = "PATCH",
13
- POST = "POST",
14
- PUT = "PUT"
15
- }
7
+ export declare const ResponseHeadersPolicyAccessControlAllowMethodsValues: {
8
+ readonly ALL: "ALL";
9
+ readonly DELETE: "DELETE";
10
+ readonly GET: "GET";
11
+ readonly HEAD: "HEAD";
12
+ readonly OPTIONS: "OPTIONS";
13
+ readonly PATCH: "PATCH";
14
+ readonly POST: "POST";
15
+ readonly PUT: "PUT";
16
+ };
17
+ /**
18
+ * @public
19
+ */
20
+ export type ResponseHeadersPolicyAccessControlAllowMethodsValues = (typeof ResponseHeadersPolicyAccessControlAllowMethodsValues)[keyof typeof ResponseHeadersPolicyAccessControlAllowMethodsValues];
16
21
  /**
17
22
  * @public
18
23
  * <p>Access denied.</p>
@@ -136,12 +141,17 @@ export interface Aliases {
136
141
  }
137
142
  /**
138
143
  * @public
144
+ * @enum
139
145
  */
140
- export declare enum ICPRecordalStatus {
141
- APPROVED = "APPROVED",
142
- PENDING = "PENDING",
143
- SUSPENDED = "SUSPENDED"
144
- }
146
+ export declare const ICPRecordalStatus: {
147
+ readonly APPROVED: "APPROVED";
148
+ readonly PENDING: "PENDING";
149
+ readonly SUSPENDED: "SUSPENDED";
150
+ };
151
+ /**
152
+ * @public
153
+ */
154
+ export type ICPRecordalStatus = (typeof ICPRecordalStatus)[keyof typeof ICPRecordalStatus];
145
155
  /**
146
156
  * @public
147
157
  * <p>Amazon Web Services services in China customers must file for an Internet Content Provider (ICP)
@@ -189,16 +199,21 @@ export interface AliasICPRecordal {
189
199
  }
190
200
  /**
191
201
  * @public
202
+ * @enum
192
203
  */
193
- export declare enum Method {
194
- DELETE = "DELETE",
195
- GET = "GET",
196
- HEAD = "HEAD",
197
- OPTIONS = "OPTIONS",
198
- PATCH = "PATCH",
199
- POST = "POST",
200
- PUT = "PUT"
201
- }
204
+ export declare const Method: {
205
+ readonly DELETE: "DELETE";
206
+ readonly GET: "GET";
207
+ readonly HEAD: "HEAD";
208
+ readonly OPTIONS: "OPTIONS";
209
+ readonly PATCH: "PATCH";
210
+ readonly POST: "POST";
211
+ readonly PUT: "PUT";
212
+ };
213
+ /**
214
+ * @public
215
+ */
216
+ export type Method = (typeof Method)[keyof typeof Method];
202
217
  /**
203
218
  * @public
204
219
  * <p>A complex type that controls whether CloudFront caches the response to requests using the
@@ -365,12 +380,17 @@ export declare class BatchTooLarge extends __BaseException {
365
380
  }
366
381
  /**
367
382
  * @public
383
+ * @enum
368
384
  */
369
- export declare enum ItemSelection {
370
- all = "all",
371
- none = "none",
372
- whitelist = "whitelist"
373
- }
385
+ export declare const ItemSelection: {
386
+ readonly all: "all";
387
+ readonly none: "none";
388
+ readonly whitelist: "whitelist";
389
+ };
390
+ /**
391
+ * @public
392
+ */
393
+ export type ItemSelection = (typeof ItemSelection)[keyof typeof ItemSelection];
374
394
  /**
375
395
  * @public
376
396
  * <p>Contains a list of cookie names.</p>
@@ -564,13 +584,18 @@ export interface ForwardedValues {
564
584
  }
565
585
  /**
566
586
  * @public
587
+ * @enum
567
588
  */
568
- export declare enum EventType {
569
- origin_request = "origin-request",
570
- origin_response = "origin-response",
571
- viewer_request = "viewer-request",
572
- viewer_response = "viewer-response"
573
- }
589
+ export declare const EventType: {
590
+ readonly origin_request: "origin-request";
591
+ readonly origin_response: "origin-response";
592
+ readonly viewer_request: "viewer-request";
593
+ readonly viewer_response: "viewer-response";
594
+ };
595
+ /**
596
+ * @public
597
+ */
598
+ export type EventType = (typeof EventType)[keyof typeof EventType];
574
599
  /**
575
600
  * @public
576
601
  * <p>A CloudFront function that is associated with a cache behavior in a CloudFront
@@ -728,12 +753,17 @@ export interface TrustedSigners {
728
753
  }
729
754
  /**
730
755
  * @public
756
+ * @enum
731
757
  */
732
- export declare enum ViewerProtocolPolicy {
733
- allow_all = "allow-all",
734
- https_only = "https-only",
735
- redirect_to_https = "redirect-to-https"
736
- }
758
+ export declare const ViewerProtocolPolicy: {
759
+ readonly allow_all: "allow-all";
760
+ readonly https_only: "https-only";
761
+ readonly redirect_to_https: "redirect-to-https";
762
+ };
763
+ /**
764
+ * @public
765
+ */
766
+ export type ViewerProtocolPolicy = (typeof ViewerProtocolPolicy)[keyof typeof ViewerProtocolPolicy];
737
767
  /**
738
768
  * @public
739
769
  * <p>A complex type that describes how CloudFront processes requests.</p>
@@ -999,13 +1029,18 @@ export interface CacheBehaviors {
999
1029
  }
1000
1030
  /**
1001
1031
  * @public
1032
+ * @enum
1002
1033
  */
1003
- export declare enum CachePolicyCookieBehavior {
1004
- all = "all",
1005
- allExcept = "allExcept",
1006
- none = "none",
1007
- whitelist = "whitelist"
1008
- }
1034
+ export declare const CachePolicyCookieBehavior: {
1035
+ readonly all: "all";
1036
+ readonly allExcept: "allExcept";
1037
+ readonly none: "none";
1038
+ readonly whitelist: "whitelist";
1039
+ };
1040
+ /**
1041
+ * @public
1042
+ */
1043
+ export type CachePolicyCookieBehavior = (typeof CachePolicyCookieBehavior)[keyof typeof CachePolicyCookieBehavior];
1009
1044
  /**
1010
1045
  * @public
1011
1046
  * <p>An object that determines whether any cookies in viewer requests (and if so, which cookies)
@@ -1054,11 +1089,16 @@ export interface CachePolicyCookiesConfig {
1054
1089
  }
1055
1090
  /**
1056
1091
  * @public
1092
+ * @enum
1057
1093
  */
1058
- export declare enum CachePolicyHeaderBehavior {
1059
- none = "none",
1060
- whitelist = "whitelist"
1061
- }
1094
+ export declare const CachePolicyHeaderBehavior: {
1095
+ readonly none: "none";
1096
+ readonly whitelist: "whitelist";
1097
+ };
1098
+ /**
1099
+ * @public
1100
+ */
1101
+ export type CachePolicyHeaderBehavior = (typeof CachePolicyHeaderBehavior)[keyof typeof CachePolicyHeaderBehavior];
1062
1102
  /**
1063
1103
  * @public
1064
1104
  * <p>An object that determines whether any HTTP headers (and if so, which headers) are included
@@ -1092,13 +1132,18 @@ export interface CachePolicyHeadersConfig {
1092
1132
  }
1093
1133
  /**
1094
1134
  * @public
1135
+ * @enum
1095
1136
  */
1096
- export declare enum CachePolicyQueryStringBehavior {
1097
- all = "all",
1098
- allExcept = "allExcept",
1099
- none = "none",
1100
- whitelist = "whitelist"
1101
- }
1137
+ export declare const CachePolicyQueryStringBehavior: {
1138
+ readonly all: "all";
1139
+ readonly allExcept: "allExcept";
1140
+ readonly none: "none";
1141
+ readonly whitelist: "whitelist";
1142
+ };
1143
+ /**
1144
+ * @public
1145
+ */
1146
+ export type CachePolicyQueryStringBehavior = (typeof CachePolicyQueryStringBehavior)[keyof typeof CachePolicyQueryStringBehavior];
1102
1147
  /**
1103
1148
  * @public
1104
1149
  * <p>Contains a list of query string names.</p>
@@ -1406,11 +1451,16 @@ export declare class CachePolicyInUse extends __BaseException {
1406
1451
  }
1407
1452
  /**
1408
1453
  * @public
1454
+ * @enum
1409
1455
  */
1410
- export declare enum CachePolicyType {
1411
- custom = "custom",
1412
- managed = "managed"
1413
- }
1456
+ export declare const CachePolicyType: {
1457
+ readonly custom: "custom";
1458
+ readonly managed: "managed";
1459
+ };
1460
+ /**
1461
+ * @public
1462
+ */
1463
+ export type CachePolicyType = (typeof CachePolicyType)[keyof typeof CachePolicyType];
1414
1464
  /**
1415
1465
  * @public
1416
1466
  * <p>Contains a cache policy.</p>
@@ -1465,12 +1515,17 @@ export declare class CannotChangeImmutablePublicKeyFields extends __BaseExceptio
1465
1515
  }
1466
1516
  /**
1467
1517
  * @public
1518
+ * @enum
1468
1519
  */
1469
- export declare enum CertificateSource {
1470
- acm = "acm",
1471
- cloudfront = "cloudfront",
1472
- iam = "iam"
1473
- }
1520
+ export declare const CertificateSource: {
1521
+ readonly acm: "acm";
1522
+ readonly cloudfront: "cloudfront";
1523
+ readonly iam: "iam";
1524
+ };
1525
+ /**
1526
+ * @public
1527
+ */
1528
+ export type CertificateSource = (typeof CertificateSource)[keyof typeof CertificateSource];
1474
1529
  /**
1475
1530
  * @public
1476
1531
  * <p>The CNAME specified is already defined for CloudFront.</p>
@@ -1848,13 +1903,18 @@ export interface DefaultCacheBehavior {
1848
1903
  }
1849
1904
  /**
1850
1905
  * @public
1906
+ * @enum
1851
1907
  */
1852
- export declare enum HttpVersion {
1853
- http1_1 = "http1.1",
1854
- http2 = "http2",
1855
- http2and3 = "http2and3",
1856
- http3 = "http3"
1857
- }
1908
+ export declare const HttpVersion: {
1909
+ readonly http1_1: "http1.1";
1910
+ readonly http2: "http2";
1911
+ readonly http2and3: "http2and3";
1912
+ readonly http3: "http3";
1913
+ };
1914
+ /**
1915
+ * @public
1916
+ */
1917
+ export type HttpVersion = (typeof HttpVersion)[keyof typeof HttpVersion];
1858
1918
  /**
1859
1919
  * @public
1860
1920
  * <p>A complex type that controls whether access logs are written for the
@@ -2021,21 +2081,31 @@ export interface CustomHeaders {
2021
2081
  }
2022
2082
  /**
2023
2083
  * @public
2084
+ * @enum
2024
2085
  */
2025
- export declare enum OriginProtocolPolicy {
2026
- http_only = "http-only",
2027
- https_only = "https-only",
2028
- match_viewer = "match-viewer"
2029
- }
2086
+ export declare const OriginProtocolPolicy: {
2087
+ readonly http_only: "http-only";
2088
+ readonly https_only: "https-only";
2089
+ readonly match_viewer: "match-viewer";
2090
+ };
2030
2091
  /**
2031
2092
  * @public
2032
2093
  */
2033
- export declare enum SslProtocol {
2034
- SSLv3 = "SSLv3",
2035
- TLSv1 = "TLSv1",
2036
- TLSv1_1 = "TLSv1.1",
2037
- TLSv1_2 = "TLSv1.2"
2038
- }
2094
+ export type OriginProtocolPolicy = (typeof OriginProtocolPolicy)[keyof typeof OriginProtocolPolicy];
2095
+ /**
2096
+ * @public
2097
+ * @enum
2098
+ */
2099
+ export declare const SslProtocol: {
2100
+ readonly SSLv3: "SSLv3";
2101
+ readonly TLSv1: "TLSv1";
2102
+ readonly TLSv1_1: "TLSv1.1";
2103
+ readonly TLSv1_2: "TLSv1.2";
2104
+ };
2105
+ /**
2106
+ * @public
2107
+ */
2108
+ export type SslProtocol = (typeof SslProtocol)[keyof typeof SslProtocol];
2039
2109
  /**
2040
2110
  * @public
2041
2111
  * <p>A complex type that contains information about the SSL/TLS protocols that CloudFront can use
@@ -2301,20 +2371,30 @@ export interface Origins {
2301
2371
  }
2302
2372
  /**
2303
2373
  * @public
2374
+ * @enum
2304
2375
  */
2305
- export declare enum PriceClass {
2306
- PriceClass_100 = "PriceClass_100",
2307
- PriceClass_200 = "PriceClass_200",
2308
- PriceClass_All = "PriceClass_All"
2309
- }
2376
+ export declare const PriceClass: {
2377
+ readonly PriceClass_100: "PriceClass_100";
2378
+ readonly PriceClass_200: "PriceClass_200";
2379
+ readonly PriceClass_All: "PriceClass_All";
2380
+ };
2310
2381
  /**
2311
2382
  * @public
2312
2383
  */
2313
- export declare enum GeoRestrictionType {
2314
- blacklist = "blacklist",
2315
- none = "none",
2316
- whitelist = "whitelist"
2317
- }
2384
+ export type PriceClass = (typeof PriceClass)[keyof typeof PriceClass];
2385
+ /**
2386
+ * @public
2387
+ * @enum
2388
+ */
2389
+ export declare const GeoRestrictionType: {
2390
+ readonly blacklist: "blacklist";
2391
+ readonly none: "none";
2392
+ readonly whitelist: "whitelist";
2393
+ };
2394
+ /**
2395
+ * @public
2396
+ */
2397
+ export type GeoRestrictionType = (typeof GeoRestrictionType)[keyof typeof GeoRestrictionType];
2318
2398
  /**
2319
2399
  * @public
2320
2400
  * <p>A complex type that controls the countries in which your content is distributed. CloudFront
@@ -2380,24 +2460,34 @@ export interface Restrictions {
2380
2460
  }
2381
2461
  /**
2382
2462
  * @public
2463
+ * @enum
2383
2464
  */
2384
- export declare enum MinimumProtocolVersion {
2385
- SSLv3 = "SSLv3",
2386
- TLSv1 = "TLSv1",
2387
- TLSv1_1_2016 = "TLSv1.1_2016",
2388
- TLSv1_2016 = "TLSv1_2016",
2389
- TLSv1_2_2018 = "TLSv1.2_2018",
2390
- TLSv1_2_2019 = "TLSv1.2_2019",
2391
- TLSv1_2_2021 = "TLSv1.2_2021"
2392
- }
2465
+ export declare const MinimumProtocolVersion: {
2466
+ readonly SSLv3: "SSLv3";
2467
+ readonly TLSv1: "TLSv1";
2468
+ readonly TLSv1_1_2016: "TLSv1.1_2016";
2469
+ readonly TLSv1_2016: "TLSv1_2016";
2470
+ readonly TLSv1_2_2018: "TLSv1.2_2018";
2471
+ readonly TLSv1_2_2019: "TLSv1.2_2019";
2472
+ readonly TLSv1_2_2021: "TLSv1.2_2021";
2473
+ };
2393
2474
  /**
2394
2475
  * @public
2395
2476
  */
2396
- export declare enum SSLSupportMethod {
2397
- sni_only = "sni-only",
2398
- static_ip = "static-ip",
2399
- vip = "vip"
2400
- }
2477
+ export type MinimumProtocolVersion = (typeof MinimumProtocolVersion)[keyof typeof MinimumProtocolVersion];
2478
+ /**
2479
+ * @public
2480
+ * @enum
2481
+ */
2482
+ export declare const SSLSupportMethod: {
2483
+ readonly sni_only: "sni-only";
2484
+ readonly static_ip: "static-ip";
2485
+ readonly vip: "vip";
2486
+ };
2487
+ /**
2488
+ * @public
2489
+ */
2490
+ export type SSLSupportMethod = (typeof SSLSupportMethod)[keyof typeof SSLSupportMethod];
2401
2491
  /**
2402
2492
  * @public
2403
2493
  * <p>A complex type that determines the distribution's SSL/TLS configuration for
@@ -3951,11 +4041,16 @@ export interface ContinuousDeploymentSingleWeightConfig {
3951
4041
  }
3952
4042
  /**
3953
4043
  * @public
4044
+ * @enum
3954
4045
  */
3955
- export declare enum ContinuousDeploymentPolicyType {
3956
- SingleHeader = "SingleHeader",
3957
- SingleWeight = "SingleWeight"
3958
- }
4046
+ export declare const ContinuousDeploymentPolicyType: {
4047
+ readonly SingleHeader: "SingleHeader";
4048
+ readonly SingleWeight: "SingleWeight";
4049
+ };
4050
+ /**
4051
+ * @public
4052
+ */
4053
+ export type ContinuousDeploymentPolicyType = (typeof ContinuousDeploymentPolicyType)[keyof typeof ContinuousDeploymentPolicyType];
3959
4054
  /**
3960
4055
  * @public
3961
4056
  * <p>The traffic configuration of your continuous deployment.</p>
@@ -4256,10 +4351,15 @@ export declare class InvalidTagging extends __BaseException {
4256
4351
  }
4257
4352
  /**
4258
4353
  * @public
4354
+ * @enum
4259
4355
  */
4260
- export declare enum Format {
4261
- URLEncoded = "URLEncoded"
4262
- }
4356
+ export declare const Format: {
4357
+ readonly URLEncoded: "URLEncoded";
4358
+ };
4359
+ /**
4360
+ * @public
4361
+ */
4362
+ export type Format = (typeof Format)[keyof typeof Format];
4263
4363
  /**
4264
4364
  * @public
4265
4365
  * <p>A field-level encryption content type profile.</p>
@@ -4723,10 +4823,15 @@ export declare class TooManyFieldLevelEncryptionProfiles extends __BaseException
4723
4823
  }
4724
4824
  /**
4725
4825
  * @public
4826
+ * @enum
4726
4827
  */
4727
- export declare enum FunctionRuntime {
4728
- cloudfront_js_1_0 = "cloudfront-js-1.0"
4729
- }
4828
+ export declare const FunctionRuntime: {
4829
+ readonly cloudfront_js_1_0: "cloudfront-js-1.0";
4830
+ };
4831
+ /**
4832
+ * @public
4833
+ */
4834
+ export type FunctionRuntime = (typeof FunctionRuntime)[keyof typeof FunctionRuntime];
4730
4835
  /**
4731
4836
  * @public
4732
4837
  * <p>Contains configuration information about a CloudFront function.</p>
@@ -4764,11 +4869,16 @@ export interface CreateFunctionRequest {
4764
4869
  }
4765
4870
  /**
4766
4871
  * @public
4872
+ * @enum
4767
4873
  */
4768
- export declare enum FunctionStage {
4769
- DEVELOPMENT = "DEVELOPMENT",
4770
- LIVE = "LIVE"
4771
- }
4874
+ export declare const FunctionStage: {
4875
+ readonly DEVELOPMENT: "DEVELOPMENT";
4876
+ readonly LIVE: "LIVE";
4877
+ };
4878
+ /**
4879
+ * @public
4880
+ */
4881
+ export type FunctionStage = (typeof FunctionStage)[keyof typeof FunctionStage];
4772
4882
  /**
4773
4883
  * @public
4774
4884
  * <p>Contains metadata about a CloudFront function.</p>
@@ -5118,11 +5228,16 @@ export declare class TooManyPublicKeysInKeyGroup extends __BaseException {
5118
5228
  }
5119
5229
  /**
5120
5230
  * @public
5231
+ * @enum
5121
5232
  */
5122
- export declare enum RealtimeMetricsSubscriptionStatus {
5123
- Disabled = "Disabled",
5124
- Enabled = "Enabled"
5125
- }
5233
+ export declare const RealtimeMetricsSubscriptionStatus: {
5234
+ readonly Disabled: "Disabled";
5235
+ readonly Enabled: "Enabled";
5236
+ };
5237
+ /**
5238
+ * @public
5239
+ */
5240
+ export type RealtimeMetricsSubscriptionStatus = (typeof RealtimeMetricsSubscriptionStatus)[keyof typeof RealtimeMetricsSubscriptionStatus];
5126
5241
  /**
5127
5242
  * @public
5128
5243
  * <p>A subscription configuration for additional CloudWatch metrics.</p>
@@ -5184,25 +5299,40 @@ export declare class MonitoringSubscriptionAlreadyExists extends __BaseException
5184
5299
  }
5185
5300
  /**
5186
5301
  * @public
5302
+ * @enum
5187
5303
  */
5188
- export declare enum OriginAccessControlOriginTypes {
5189
- mediastore = "mediastore",
5190
- s3 = "s3"
5191
- }
5304
+ export declare const OriginAccessControlOriginTypes: {
5305
+ readonly mediastore: "mediastore";
5306
+ readonly s3: "s3";
5307
+ };
5192
5308
  /**
5193
5309
  * @public
5194
5310
  */
5195
- export declare enum OriginAccessControlSigningBehaviors {
5196
- always = "always",
5197
- never = "never",
5198
- no_override = "no-override"
5199
- }
5311
+ export type OriginAccessControlOriginTypes = (typeof OriginAccessControlOriginTypes)[keyof typeof OriginAccessControlOriginTypes];
5200
5312
  /**
5201
5313
  * @public
5314
+ * @enum
5202
5315
  */
5203
- export declare enum OriginAccessControlSigningProtocols {
5204
- sigv4 = "sigv4"
5205
- }
5316
+ export declare const OriginAccessControlSigningBehaviors: {
5317
+ readonly always: "always";
5318
+ readonly never: "never";
5319
+ readonly no_override: "no-override";
5320
+ };
5321
+ /**
5322
+ * @public
5323
+ */
5324
+ export type OriginAccessControlSigningBehaviors = (typeof OriginAccessControlSigningBehaviors)[keyof typeof OriginAccessControlSigningBehaviors];
5325
+ /**
5326
+ * @public
5327
+ * @enum
5328
+ */
5329
+ export declare const OriginAccessControlSigningProtocols: {
5330
+ readonly sigv4: "sigv4";
5331
+ };
5332
+ /**
5333
+ * @public
5334
+ */
5335
+ export type OriginAccessControlSigningProtocols = (typeof OriginAccessControlSigningProtocols)[keyof typeof OriginAccessControlSigningProtocols];
5206
5336
  /**
5207
5337
  * @public
5208
5338
  * <p>A CloudFront origin access control configuration.</p>
@@ -5330,13 +5460,18 @@ export declare class TooManyOriginAccessControls extends __BaseException {
5330
5460
  }
5331
5461
  /**
5332
5462
  * @public
5463
+ * @enum
5333
5464
  */
5334
- export declare enum OriginRequestPolicyCookieBehavior {
5335
- all = "all",
5336
- allExcept = "allExcept",
5337
- none = "none",
5338
- whitelist = "whitelist"
5339
- }
5465
+ export declare const OriginRequestPolicyCookieBehavior: {
5466
+ readonly all: "all";
5467
+ readonly allExcept: "allExcept";
5468
+ readonly none: "none";
5469
+ readonly whitelist: "whitelist";
5470
+ };
5471
+ /**
5472
+ * @public
5473
+ */
5474
+ export type OriginRequestPolicyCookieBehavior = (typeof OriginRequestPolicyCookieBehavior)[keyof typeof OriginRequestPolicyCookieBehavior];
5340
5475
  /**
5341
5476
  * @public
5342
5477
  * <p>An object that determines whether any cookies in viewer requests (and if so, which
@@ -5384,14 +5519,19 @@ export interface OriginRequestPolicyCookiesConfig {
5384
5519
  }
5385
5520
  /**
5386
5521
  * @public
5522
+ * @enum
5387
5523
  */
5388
- export declare enum OriginRequestPolicyHeaderBehavior {
5389
- allExcept = "allExcept",
5390
- allViewer = "allViewer",
5391
- allViewerAndWhitelistCloudFront = "allViewerAndWhitelistCloudFront",
5392
- none = "none",
5393
- whitelist = "whitelist"
5394
- }
5524
+ export declare const OriginRequestPolicyHeaderBehavior: {
5525
+ readonly allExcept: "allExcept";
5526
+ readonly allViewer: "allViewer";
5527
+ readonly allViewerAndWhitelistCloudFront: "allViewerAndWhitelistCloudFront";
5528
+ readonly none: "none";
5529
+ readonly whitelist: "whitelist";
5530
+ };
5531
+ /**
5532
+ * @public
5533
+ */
5534
+ export type OriginRequestPolicyHeaderBehavior = (typeof OriginRequestPolicyHeaderBehavior)[keyof typeof OriginRequestPolicyHeaderBehavior];
5395
5535
  /**
5396
5536
  * @public
5397
5537
  * <p>An object that determines whether any HTTP headers (and if so, which headers) are
@@ -5445,13 +5585,18 @@ export interface OriginRequestPolicyHeadersConfig {
5445
5585
  }
5446
5586
  /**
5447
5587
  * @public
5588
+ * @enum
5448
5589
  */
5449
- export declare enum OriginRequestPolicyQueryStringBehavior {
5450
- all = "all",
5451
- allExcept = "allExcept",
5452
- none = "none",
5453
- whitelist = "whitelist"
5454
- }
5590
+ export declare const OriginRequestPolicyQueryStringBehavior: {
5591
+ readonly all: "all";
5592
+ readonly allExcept: "allExcept";
5593
+ readonly none: "none";
5594
+ readonly whitelist: "whitelist";
5595
+ };
5596
+ /**
5597
+ * @public
5598
+ */
5599
+ export type OriginRequestPolicyQueryStringBehavior = (typeof OriginRequestPolicyQueryStringBehavior)[keyof typeof OriginRequestPolicyQueryStringBehavior];
5455
5600
  /**
5456
5601
  * @public
5457
5602
  * <p>An object that determines whether any URL query strings in viewer requests (and if so,
@@ -6205,11 +6350,16 @@ export interface ResponseHeadersPolicyContentTypeOptions {
6205
6350
  }
6206
6351
  /**
6207
6352
  * @public
6353
+ * @enum
6208
6354
  */
6209
- export declare enum FrameOptionsList {
6210
- DENY = "DENY",
6211
- SAMEORIGIN = "SAMEORIGIN"
6212
- }
6355
+ export declare const FrameOptionsList: {
6356
+ readonly DENY: "DENY";
6357
+ readonly SAMEORIGIN: "SAMEORIGIN";
6358
+ };
6359
+ /**
6360
+ * @public
6361
+ */
6362
+ export type FrameOptionsList = (typeof FrameOptionsList)[keyof typeof FrameOptionsList];
6213
6363
  /**
6214
6364
  * @public
6215
6365
  * <p>Determines whether CloudFront includes the <code>X-Frame-Options</code> HTTP response header
@@ -6233,17 +6383,22 @@ export interface ResponseHeadersPolicyFrameOptions {
6233
6383
  }
6234
6384
  /**
6235
6385
  * @public
6386
+ * @enum
6236
6387
  */
6237
- export declare enum ReferrerPolicyList {
6238
- no_referrer = "no-referrer",
6239
- no_referrer_when_downgrade = "no-referrer-when-downgrade",
6240
- origin = "origin",
6241
- origin_when_cross_origin = "origin-when-cross-origin",
6242
- same_origin = "same-origin",
6243
- strict_origin = "strict-origin",
6244
- strict_origin_when_cross_origin = "strict-origin-when-cross-origin",
6245
- unsafe_url = "unsafe-url"
6246
- }
6388
+ export declare const ReferrerPolicyList: {
6389
+ readonly no_referrer: "no-referrer";
6390
+ readonly no_referrer_when_downgrade: "no-referrer-when-downgrade";
6391
+ readonly origin: "origin";
6392
+ readonly origin_when_cross_origin: "origin-when-cross-origin";
6393
+ readonly same_origin: "same-origin";
6394
+ readonly strict_origin: "strict-origin";
6395
+ readonly strict_origin_when_cross_origin: "strict-origin-when-cross-origin";
6396
+ readonly unsafe_url: "unsafe-url";
6397
+ };
6398
+ /**
6399
+ * @public
6400
+ */
6401
+ export type ReferrerPolicyList = (typeof ReferrerPolicyList)[keyof typeof ReferrerPolicyList];
6247
6402
  /**
6248
6403
  * @public
6249
6404
  * <p>Determines whether CloudFront includes the <code>Referrer-Policy</code> HTTP response header