@aws-sdk/client-cloudfront 3.379.1 → 3.382.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.
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +17 -16
- package/dist-cjs/protocols/Aws_restXml.js +19 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +14 -13
- package/dist-es/protocols/Aws_restXml.js +19 -0
- package/dist-types/commands/CopyDistributionCommand.d.ts +25 -0
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +24 -1
- package/dist-types/commands/CreateFunctionCommand.d.ts +2 -2
- package/dist-types/commands/DescribeFunctionCommand.d.ts +1 -1
- package/dist-types/commands/ListFunctionsCommand.d.ts +1 -1
- package/dist-types/commands/PublishFunctionCommand.d.ts +1 -1
- package/dist-types/commands/TestFunctionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDistributionCommand.d.ts +6 -0
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +19 -0
- package/dist-types/commands/UpdateFunctionCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +486 -24
- package/dist-types/models/models_1.d.ts +473 -0
- package/dist-types/ts3.4/models/models_0.d.ts +13 -11
- package/package.json +5 -5
|
@@ -37,10 +37,12 @@ export declare class AccessDenied extends __BaseException {
|
|
|
37
37
|
*/
|
|
38
38
|
export interface KeyPairIds {
|
|
39
39
|
/**
|
|
40
|
+
* @public
|
|
40
41
|
* <p>The number of key pair identifiers in the list.</p>
|
|
41
42
|
*/
|
|
42
43
|
Quantity: number | undefined;
|
|
43
44
|
/**
|
|
45
|
+
* @public
|
|
44
46
|
* <p>A list of CloudFront key pair identifiers.</p>
|
|
45
47
|
*/
|
|
46
48
|
Items?: string[];
|
|
@@ -52,10 +54,12 @@ export interface KeyPairIds {
|
|
|
52
54
|
*/
|
|
53
55
|
export interface KGKeyPairIds {
|
|
54
56
|
/**
|
|
57
|
+
* @public
|
|
55
58
|
* <p>The identifier of the key group that contains the public keys.</p>
|
|
56
59
|
*/
|
|
57
60
|
KeyGroupId?: string;
|
|
58
61
|
/**
|
|
62
|
+
* @public
|
|
59
63
|
* <p>A list of CloudFront key pair identifiers.</p>
|
|
60
64
|
*/
|
|
61
65
|
KeyPairIds?: KeyPairIds;
|
|
@@ -67,16 +71,19 @@ export interface KGKeyPairIds {
|
|
|
67
71
|
*/
|
|
68
72
|
export interface ActiveTrustedKeyGroups {
|
|
69
73
|
/**
|
|
74
|
+
* @public
|
|
70
75
|
* <p>This field is <code>true</code> if any of the key groups have public keys that CloudFront
|
|
71
76
|
* can use to verify the signatures of signed URLs and signed cookies. If not, this field
|
|
72
77
|
* is <code>false</code>.</p>
|
|
73
78
|
*/
|
|
74
79
|
Enabled: boolean | undefined;
|
|
75
80
|
/**
|
|
81
|
+
* @public
|
|
76
82
|
* <p>The number of key groups in the list.</p>
|
|
77
83
|
*/
|
|
78
84
|
Quantity: number | undefined;
|
|
79
85
|
/**
|
|
86
|
+
* @public
|
|
80
87
|
* <p>A list of key groups, including the identifiers of the public keys in each key group
|
|
81
88
|
* that CloudFront can use to verify the signatures of signed URLs and signed cookies.</p>
|
|
82
89
|
*/
|
|
@@ -89,6 +96,7 @@ export interface ActiveTrustedKeyGroups {
|
|
|
89
96
|
*/
|
|
90
97
|
export interface Signer {
|
|
91
98
|
/**
|
|
99
|
+
* @public
|
|
92
100
|
* <p>An Amazon Web Services account number that contains active CloudFront key pairs that CloudFront can use to
|
|
93
101
|
* verify the signatures of signed URLs and signed cookies. If the Amazon Web Services account that owns
|
|
94
102
|
* the key pairs is the same account that owns the CloudFront distribution, the value of this
|
|
@@ -96,6 +104,7 @@ export interface Signer {
|
|
|
96
104
|
*/
|
|
97
105
|
AwsAccountNumber?: string;
|
|
98
106
|
/**
|
|
107
|
+
* @public
|
|
99
108
|
* <p>A list of CloudFront key pair identifiers.</p>
|
|
100
109
|
*/
|
|
101
110
|
KeyPairIds?: KeyPairIds;
|
|
@@ -107,16 +116,18 @@ export interface Signer {
|
|
|
107
116
|
*/
|
|
108
117
|
export interface ActiveTrustedSigners {
|
|
109
118
|
/**
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
119
|
+
* @public
|
|
120
|
+
* <p>This field is <code>true</code> if any of the Amazon Web Services accounts in the list are configured as
|
|
121
|
+
* trusted signers. If not, this field is <code>false</code>.</p>
|
|
113
122
|
*/
|
|
114
123
|
Enabled: boolean | undefined;
|
|
115
124
|
/**
|
|
125
|
+
* @public
|
|
116
126
|
* <p>The number of Amazon Web Services accounts in the list.</p>
|
|
117
127
|
*/
|
|
118
128
|
Quantity: number | undefined;
|
|
119
129
|
/**
|
|
130
|
+
* @public
|
|
120
131
|
* <p>A list of Amazon Web Services accounts and the identifiers of active CloudFront key pairs in each account
|
|
121
132
|
* that CloudFront can use to verify the signatures of signed URLs and signed cookies.</p>
|
|
122
133
|
*/
|
|
@@ -129,11 +140,13 @@ export interface ActiveTrustedSigners {
|
|
|
129
140
|
*/
|
|
130
141
|
export interface Aliases {
|
|
131
142
|
/**
|
|
143
|
+
* @public
|
|
132
144
|
* <p>The number of CNAME aliases, if any, that you want to associate with this
|
|
133
145
|
* distribution.</p>
|
|
134
146
|
*/
|
|
135
147
|
Quantity: number | undefined;
|
|
136
148
|
/**
|
|
149
|
+
* @public
|
|
137
150
|
* <p>A complex type that contains the CNAME aliases, if any, that you want to associate
|
|
138
151
|
* with this distribution.</p>
|
|
139
152
|
*/
|
|
@@ -164,10 +177,12 @@ export type ICPRecordalStatus = (typeof ICPRecordalStatus)[keyof typeof ICPRecor
|
|
|
164
177
|
*/
|
|
165
178
|
export interface AliasICPRecordal {
|
|
166
179
|
/**
|
|
180
|
+
* @public
|
|
167
181
|
* <p>A domain name associated with a distribution.</p>
|
|
168
182
|
*/
|
|
169
183
|
CNAME?: string;
|
|
170
184
|
/**
|
|
185
|
+
* @public
|
|
171
186
|
* <p>The Internet Content Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus
|
|
172
187
|
* is set to APPROVED for all CNAMEs (aliases) in regions outside of China.</p>
|
|
173
188
|
* <p>The status values returned are the following:</p>
|
|
@@ -234,6 +249,7 @@ export type Method = (typeof Method)[keyof typeof Method];
|
|
|
234
249
|
*/
|
|
235
250
|
export interface CachedMethods {
|
|
236
251
|
/**
|
|
252
|
+
* @public
|
|
237
253
|
* <p>The number of HTTP methods for which you want CloudFront to cache responses. Valid values
|
|
238
254
|
* are <code>2</code> (for caching responses to <code>GET</code> and <code>HEAD</code>
|
|
239
255
|
* requests) and <code>3</code> (for caching responses to <code>GET</code>,
|
|
@@ -241,6 +257,7 @@ export interface CachedMethods {
|
|
|
241
257
|
*/
|
|
242
258
|
Quantity: number | undefined;
|
|
243
259
|
/**
|
|
260
|
+
* @public
|
|
244
261
|
* <p>A complex type that contains the HTTP methods that you want CloudFront to cache responses
|
|
245
262
|
* to.</p>
|
|
246
263
|
*/
|
|
@@ -270,6 +287,7 @@ export interface CachedMethods {
|
|
|
270
287
|
*/
|
|
271
288
|
export interface AllowedMethods {
|
|
272
289
|
/**
|
|
290
|
+
* @public
|
|
273
291
|
* <p>The number of HTTP methods that you want CloudFront to forward to your origin. Valid values
|
|
274
292
|
* are 2 (for <code>GET</code> and <code>HEAD</code> requests), 3 (for <code>GET</code>,
|
|
275
293
|
* <code>HEAD</code>, and <code>OPTIONS</code> requests) and 7 (for <code>GET, HEAD,
|
|
@@ -277,11 +295,13 @@ export interface AllowedMethods {
|
|
|
277
295
|
*/
|
|
278
296
|
Quantity: number | undefined;
|
|
279
297
|
/**
|
|
298
|
+
* @public
|
|
280
299
|
* <p>A complex type that contains the HTTP methods that you want CloudFront to process and
|
|
281
300
|
* forward to your origin.</p>
|
|
282
301
|
*/
|
|
283
302
|
Items: (Method | string)[] | undefined;
|
|
284
303
|
/**
|
|
304
|
+
* @public
|
|
285
305
|
* <p>A complex type that controls whether CloudFront caches the response to requests using the
|
|
286
306
|
* specified HTTP methods. There are two choices:</p>
|
|
287
307
|
* <ul>
|
|
@@ -305,10 +325,12 @@ export interface AllowedMethods {
|
|
|
305
325
|
*/
|
|
306
326
|
export interface AssociateAliasRequest {
|
|
307
327
|
/**
|
|
328
|
+
* @public
|
|
308
329
|
* <p>The ID of the distribution that you're associating the alias with.</p>
|
|
309
330
|
*/
|
|
310
331
|
TargetDistributionId: string | undefined;
|
|
311
332
|
/**
|
|
333
|
+
* @public
|
|
312
334
|
* <p>The alias (also known as a CNAME) to add to the target distribution.</p>
|
|
313
335
|
*/
|
|
314
336
|
Alias: string | undefined;
|
|
@@ -397,10 +419,12 @@ export type ItemSelection = (typeof ItemSelection)[keyof typeof ItemSelection];
|
|
|
397
419
|
*/
|
|
398
420
|
export interface CookieNames {
|
|
399
421
|
/**
|
|
422
|
+
* @public
|
|
400
423
|
* <p>The number of cookie names in the <code>Items</code> list.</p>
|
|
401
424
|
*/
|
|
402
425
|
Quantity: number | undefined;
|
|
403
426
|
/**
|
|
427
|
+
* @public
|
|
404
428
|
* <p>A list of cookie names.</p>
|
|
405
429
|
*/
|
|
406
430
|
Items?: string[];
|
|
@@ -421,6 +445,7 @@ export interface CookieNames {
|
|
|
421
445
|
*/
|
|
422
446
|
export interface CookiePreference {
|
|
423
447
|
/**
|
|
448
|
+
* @public
|
|
424
449
|
* <p>This field is deprecated. We recommend that you use a cache policy or an origin
|
|
425
450
|
* request policy instead of this field.</p>
|
|
426
451
|
* <p>If you want to include cookies in the cache key, use a cache policy. For more
|
|
@@ -436,6 +461,7 @@ export interface CookiePreference {
|
|
|
436
461
|
*/
|
|
437
462
|
Forward: ItemSelection | string | undefined;
|
|
438
463
|
/**
|
|
464
|
+
* @public
|
|
439
465
|
* <p>This field is deprecated. We recommend that you use a cache policy or an origin
|
|
440
466
|
* request policy instead of this field.</p>
|
|
441
467
|
* <p>If you want to include cookies in the cache key, use a cache policy. For more
|
|
@@ -464,10 +490,12 @@ export interface CookiePreference {
|
|
|
464
490
|
*/
|
|
465
491
|
export interface Headers {
|
|
466
492
|
/**
|
|
493
|
+
* @public
|
|
467
494
|
* <p>The number of header names in the <code>Items</code> list.</p>
|
|
468
495
|
*/
|
|
469
496
|
Quantity: number | undefined;
|
|
470
497
|
/**
|
|
498
|
+
* @public
|
|
471
499
|
* <p>A list of HTTP header names.</p>
|
|
472
500
|
*/
|
|
473
501
|
Items?: string[];
|
|
@@ -487,11 +515,13 @@ export interface Headers {
|
|
|
487
515
|
*/
|
|
488
516
|
export interface QueryStringCacheKeys {
|
|
489
517
|
/**
|
|
518
|
+
* @public
|
|
490
519
|
* <p>The number of <code>whitelisted</code> query string parameters for a cache
|
|
491
520
|
* behavior.</p>
|
|
492
521
|
*/
|
|
493
522
|
Quantity: number | undefined;
|
|
494
523
|
/**
|
|
524
|
+
* @public
|
|
495
525
|
* <p>A list that contains the query string parameters that you want CloudFront to use as a basis
|
|
496
526
|
* for caching for a cache behavior. If <code>Quantity</code> is 0, you can omit
|
|
497
527
|
* <code>Items</code>.</p>
|
|
@@ -512,6 +542,7 @@ export interface QueryStringCacheKeys {
|
|
|
512
542
|
*/
|
|
513
543
|
export interface ForwardedValues {
|
|
514
544
|
/**
|
|
545
|
+
* @public
|
|
515
546
|
* <p>This field is deprecated. We recommend that you use a cache policy or an origin
|
|
516
547
|
* request policy instead of this field.</p>
|
|
517
548
|
* <p>If you want to include query strings in the cache key, use a cache policy. For more
|
|
@@ -540,6 +571,7 @@ export interface ForwardedValues {
|
|
|
540
571
|
*/
|
|
541
572
|
QueryString: boolean | undefined;
|
|
542
573
|
/**
|
|
574
|
+
* @public
|
|
543
575
|
* <p>This field is deprecated. We recommend that you use a cache policy or an origin
|
|
544
576
|
* request policy instead of this field.</p>
|
|
545
577
|
* <p>If you want to include cookies in the cache key, use a cache policy. For more
|
|
@@ -554,6 +586,7 @@ export interface ForwardedValues {
|
|
|
554
586
|
*/
|
|
555
587
|
Cookies: CookiePreference | undefined;
|
|
556
588
|
/**
|
|
589
|
+
* @public
|
|
557
590
|
* <p>This field is deprecated. We recommend that you use a cache policy or an origin
|
|
558
591
|
* request policy instead of this field.</p>
|
|
559
592
|
* <p>If you want to include headers in the cache key, use a cache policy. For more
|
|
@@ -570,6 +603,7 @@ export interface ForwardedValues {
|
|
|
570
603
|
*/
|
|
571
604
|
Headers?: Headers;
|
|
572
605
|
/**
|
|
606
|
+
* @public
|
|
573
607
|
* <p>This field is deprecated. We recommend that you use a cache policy or an origin
|
|
574
608
|
* request policy instead of this field.</p>
|
|
575
609
|
* <p>If you want to include query strings in the cache key, use a cache policy. For more
|
|
@@ -603,10 +637,12 @@ export type EventType = (typeof EventType)[keyof typeof EventType];
|
|
|
603
637
|
*/
|
|
604
638
|
export interface FunctionAssociation {
|
|
605
639
|
/**
|
|
640
|
+
* @public
|
|
606
641
|
* <p>The Amazon Resource Name (ARN) of the function.</p>
|
|
607
642
|
*/
|
|
608
643
|
FunctionARN: string | undefined;
|
|
609
644
|
/**
|
|
645
|
+
* @public
|
|
610
646
|
* <p>The event type of the function, either <code>viewer-request</code> or
|
|
611
647
|
* <code>viewer-response</code>. You cannot use origin-facing event types
|
|
612
648
|
* (<code>origin-request</code> and <code>origin-response</code>) with a CloudFront
|
|
@@ -622,10 +658,12 @@ export interface FunctionAssociation {
|
|
|
622
658
|
*/
|
|
623
659
|
export interface FunctionAssociations {
|
|
624
660
|
/**
|
|
661
|
+
* @public
|
|
625
662
|
* <p>The number of CloudFront functions in the list.</p>
|
|
626
663
|
*/
|
|
627
664
|
Quantity: number | undefined;
|
|
628
665
|
/**
|
|
666
|
+
* @public
|
|
629
667
|
* <p>The CloudFront functions that are associated with a cache behavior in a CloudFront distribution.
|
|
630
668
|
* CloudFront functions must be published to the <code>LIVE</code> stage to associate them with a
|
|
631
669
|
* cache behavior.</p>
|
|
@@ -638,11 +676,13 @@ export interface FunctionAssociations {
|
|
|
638
676
|
*/
|
|
639
677
|
export interface LambdaFunctionAssociation {
|
|
640
678
|
/**
|
|
679
|
+
* @public
|
|
641
680
|
* <p>The ARN of the Lambda@Edge function. You must specify the ARN of a function version;
|
|
642
681
|
* you can't specify an alias or $LATEST.</p>
|
|
643
682
|
*/
|
|
644
683
|
LambdaFunctionARN: string | undefined;
|
|
645
684
|
/**
|
|
685
|
+
* @public
|
|
646
686
|
* <p>Specifies the event type that triggers a Lambda@Edge function invocation. You can
|
|
647
687
|
* specify the following values:</p>
|
|
648
688
|
* <ul>
|
|
@@ -676,6 +716,7 @@ export interface LambdaFunctionAssociation {
|
|
|
676
716
|
*/
|
|
677
717
|
EventType: EventType | string | undefined;
|
|
678
718
|
/**
|
|
719
|
+
* @public
|
|
679
720
|
* <p>A flag that allows a Lambda@Edge function to have read access to the body content. For
|
|
680
721
|
* more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-include-body-access.html">Accessing the Request Body by Choosing the Include Body Option</a> in the
|
|
681
722
|
* Amazon CloudFront Developer Guide.</p>
|
|
@@ -698,10 +739,12 @@ export interface LambdaFunctionAssociation {
|
|
|
698
739
|
*/
|
|
699
740
|
export interface LambdaFunctionAssociations {
|
|
700
741
|
/**
|
|
742
|
+
* @public
|
|
701
743
|
* <p>The number of Lambda@Edge function associations for this cache behavior.</p>
|
|
702
744
|
*/
|
|
703
745
|
Quantity: number | undefined;
|
|
704
746
|
/**
|
|
747
|
+
* @public
|
|
705
748
|
* <p>
|
|
706
749
|
* <b>Optional</b>: A complex type that contains
|
|
707
750
|
* <code>LambdaFunctionAssociation</code> items for this cache behavior. If
|
|
@@ -716,16 +759,19 @@ export interface LambdaFunctionAssociations {
|
|
|
716
759
|
*/
|
|
717
760
|
export interface TrustedKeyGroups {
|
|
718
761
|
/**
|
|
762
|
+
* @public
|
|
719
763
|
* <p>This field is <code>true</code> if any of the key groups in the list have public keys
|
|
720
764
|
* that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not,
|
|
721
765
|
* this field is <code>false</code>.</p>
|
|
722
766
|
*/
|
|
723
767
|
Enabled: boolean | undefined;
|
|
724
768
|
/**
|
|
769
|
+
* @public
|
|
725
770
|
* <p>The number of key groups in the list.</p>
|
|
726
771
|
*/
|
|
727
772
|
Quantity: number | undefined;
|
|
728
773
|
/**
|
|
774
|
+
* @public
|
|
729
775
|
* <p>A list of key groups identifiers.</p>
|
|
730
776
|
*/
|
|
731
777
|
Items?: string[];
|
|
@@ -737,16 +783,18 @@ export interface TrustedKeyGroups {
|
|
|
737
783
|
*/
|
|
738
784
|
export interface TrustedSigners {
|
|
739
785
|
/**
|
|
740
|
-
*
|
|
741
|
-
*
|
|
742
|
-
* field is <code>false</code>.</p>
|
|
786
|
+
* @public
|
|
787
|
+
* <p>This field is <code>true</code> if any of the Amazon Web Services accounts in the list are configured as
|
|
788
|
+
* trusted signers. If not, this field is <code>false</code>.</p>
|
|
743
789
|
*/
|
|
744
790
|
Enabled: boolean | undefined;
|
|
745
791
|
/**
|
|
792
|
+
* @public
|
|
746
793
|
* <p>The number of Amazon Web Services accounts in the list.</p>
|
|
747
794
|
*/
|
|
748
795
|
Quantity: number | undefined;
|
|
749
796
|
/**
|
|
797
|
+
* @public
|
|
750
798
|
* <p>A list of Amazon Web Services account identifiers.</p>
|
|
751
799
|
*/
|
|
752
800
|
Items?: string[];
|
|
@@ -788,6 +836,7 @@ export type ViewerProtocolPolicy = (typeof ViewerProtocolPolicy)[keyof typeof Vi
|
|
|
788
836
|
*/
|
|
789
837
|
export interface CacheBehavior {
|
|
790
838
|
/**
|
|
839
|
+
* @public
|
|
791
840
|
* <p>The pattern (for example, <code>images/*.jpg</code>) that specifies which requests to
|
|
792
841
|
* apply the behavior to. When CloudFront receives a viewer request, the requested path is
|
|
793
842
|
* compared with path patterns in the order in which cache behaviors are listed in the
|
|
@@ -804,11 +853,13 @@ export interface CacheBehavior {
|
|
|
804
853
|
*/
|
|
805
854
|
PathPattern: string | undefined;
|
|
806
855
|
/**
|
|
856
|
+
* @public
|
|
807
857
|
* <p>The value of <code>ID</code> for the origin that you want CloudFront to route requests to
|
|
808
858
|
* when they match this cache behavior.</p>
|
|
809
859
|
*/
|
|
810
860
|
TargetOriginId: string | undefined;
|
|
811
861
|
/**
|
|
862
|
+
* @public
|
|
812
863
|
* <important>
|
|
813
864
|
* <p>We recommend using <code>TrustedKeyGroups</code> instead of
|
|
814
865
|
* <code>TrustedSigners</code>.</p>
|
|
@@ -824,6 +875,7 @@ export interface CacheBehavior {
|
|
|
824
875
|
*/
|
|
825
876
|
TrustedSigners?: TrustedSigners;
|
|
826
877
|
/**
|
|
878
|
+
* @public
|
|
827
879
|
* <p>A list of key groups that CloudFront can use to validate signed URLs or signed
|
|
828
880
|
* cookies.</p>
|
|
829
881
|
* <p>When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed
|
|
@@ -835,6 +887,7 @@ export interface CacheBehavior {
|
|
|
835
887
|
*/
|
|
836
888
|
TrustedKeyGroups?: TrustedKeyGroups;
|
|
837
889
|
/**
|
|
890
|
+
* @public
|
|
838
891
|
* <p>The protocol that viewers can use to access the files in the origin specified by
|
|
839
892
|
* <code>TargetOriginId</code> when a request matches the path pattern in
|
|
840
893
|
* <code>PathPattern</code>. You can specify the following options:</p>
|
|
@@ -870,6 +923,7 @@ export interface CacheBehavior {
|
|
|
870
923
|
*/
|
|
871
924
|
ViewerProtocolPolicy: ViewerProtocolPolicy | string | undefined;
|
|
872
925
|
/**
|
|
926
|
+
* @public
|
|
873
927
|
* <p>A complex type that controls which HTTP methods CloudFront processes and forwards to your
|
|
874
928
|
* Amazon S3 bucket or your custom origin. There are three choices:</p>
|
|
875
929
|
* <ul>
|
|
@@ -892,6 +946,7 @@ export interface CacheBehavior {
|
|
|
892
946
|
*/
|
|
893
947
|
AllowedMethods?: AllowedMethods;
|
|
894
948
|
/**
|
|
949
|
+
* @public
|
|
895
950
|
* <p>Indicates whether you want to distribute media files in the Microsoft Smooth Streaming
|
|
896
951
|
* format using the origin that is associated with this cache behavior. If so, specify
|
|
897
952
|
* <code>true</code>; if not, specify <code>false</code>. If you specify
|
|
@@ -901,34 +956,40 @@ export interface CacheBehavior {
|
|
|
901
956
|
*/
|
|
902
957
|
SmoothStreaming?: boolean;
|
|
903
958
|
/**
|
|
959
|
+
* @public
|
|
904
960
|
* <p>Whether you want CloudFront to automatically compress certain files for this cache behavior.
|
|
905
961
|
* If so, specify true; if not, specify false. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html">Serving
|
|
906
962
|
* Compressed Files</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
907
963
|
*/
|
|
908
964
|
Compress?: boolean;
|
|
909
965
|
/**
|
|
966
|
+
* @public
|
|
910
967
|
* <p>A complex type that contains zero or more Lambda@Edge function associations for a
|
|
911
968
|
* cache behavior.</p>
|
|
912
969
|
*/
|
|
913
970
|
LambdaFunctionAssociations?: LambdaFunctionAssociations;
|
|
914
971
|
/**
|
|
972
|
+
* @public
|
|
915
973
|
* <p>A list of CloudFront functions that are associated with this cache behavior. CloudFront functions
|
|
916
974
|
* must be published to the <code>LIVE</code> stage to associate them with a cache
|
|
917
975
|
* behavior.</p>
|
|
918
976
|
*/
|
|
919
977
|
FunctionAssociations?: FunctionAssociations;
|
|
920
978
|
/**
|
|
979
|
+
* @public
|
|
921
980
|
* <p>The value of <code>ID</code> for the field-level encryption configuration that you
|
|
922
981
|
* want CloudFront to use for encrypting specific fields of data for this cache behavior.</p>
|
|
923
982
|
*/
|
|
924
983
|
FieldLevelEncryptionId?: string;
|
|
925
984
|
/**
|
|
985
|
+
* @public
|
|
926
986
|
* <p>The Amazon Resource Name (ARN) of the real-time log configuration that is attached to
|
|
927
987
|
* this cache behavior. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html">Real-time logs</a> in the
|
|
928
988
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
929
989
|
*/
|
|
930
990
|
RealtimeLogConfigArn?: string;
|
|
931
991
|
/**
|
|
992
|
+
* @public
|
|
932
993
|
* <p>The unique identifier of the cache policy that is attached to this cache behavior. For
|
|
933
994
|
* more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy">Creating cache policies</a> or <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html">Using the managed cache policies</a> in the
|
|
934
995
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
@@ -938,16 +999,19 @@ export interface CacheBehavior {
|
|
|
938
999
|
*/
|
|
939
1000
|
CachePolicyId?: string;
|
|
940
1001
|
/**
|
|
1002
|
+
* @public
|
|
941
1003
|
* <p>The unique identifier of the origin request policy that is attached to this cache
|
|
942
1004
|
* behavior. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy">Creating origin request policies</a> or <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html">Using the managed origin request policies</a> in the
|
|
943
1005
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
944
1006
|
*/
|
|
945
1007
|
OriginRequestPolicyId?: string;
|
|
946
1008
|
/**
|
|
1009
|
+
* @public
|
|
947
1010
|
* <p>The identifier for a response headers policy.</p>
|
|
948
1011
|
*/
|
|
949
1012
|
ResponseHeadersPolicyId?: string;
|
|
950
1013
|
/**
|
|
1014
|
+
* @public
|
|
951
1015
|
* @deprecated
|
|
952
1016
|
*
|
|
953
1017
|
* <p>This field is deprecated. We recommend that you use a cache policy or an origin
|
|
@@ -967,6 +1031,7 @@ export interface CacheBehavior {
|
|
|
967
1031
|
*/
|
|
968
1032
|
ForwardedValues?: ForwardedValues;
|
|
969
1033
|
/**
|
|
1034
|
+
* @public
|
|
970
1035
|
* @deprecated
|
|
971
1036
|
*
|
|
972
1037
|
* <p>This field is deprecated. We recommend that you use the <code>MinTTL</code> field in a
|
|
@@ -984,6 +1049,7 @@ export interface CacheBehavior {
|
|
|
984
1049
|
*/
|
|
985
1050
|
MinTTL?: number;
|
|
986
1051
|
/**
|
|
1052
|
+
* @public
|
|
987
1053
|
* @deprecated
|
|
988
1054
|
*
|
|
989
1055
|
* <p>This field is deprecated. We recommend that you use the <code>DefaultTTL</code> field
|
|
@@ -998,6 +1064,7 @@ export interface CacheBehavior {
|
|
|
998
1064
|
*/
|
|
999
1065
|
DefaultTTL?: number;
|
|
1000
1066
|
/**
|
|
1067
|
+
* @public
|
|
1001
1068
|
* @deprecated
|
|
1002
1069
|
*
|
|
1003
1070
|
* <p>This field is deprecated. We recommend that you use the <code>MaxTTL</code> field in a
|
|
@@ -1018,10 +1085,12 @@ export interface CacheBehavior {
|
|
|
1018
1085
|
*/
|
|
1019
1086
|
export interface CacheBehaviors {
|
|
1020
1087
|
/**
|
|
1088
|
+
* @public
|
|
1021
1089
|
* <p>The number of cache behaviors for this distribution.</p>
|
|
1022
1090
|
*/
|
|
1023
1091
|
Quantity: number | undefined;
|
|
1024
1092
|
/**
|
|
1093
|
+
* @public
|
|
1025
1094
|
* <p>Optional: A complex type that contains cache behaviors for this distribution. If
|
|
1026
1095
|
* <code>Quantity</code> is <code>0</code>, you can omit <code>Items</code>.</p>
|
|
1027
1096
|
*/
|
|
@@ -1048,6 +1117,7 @@ export type CachePolicyCookieBehavior = (typeof CachePolicyCookieBehavior)[keyof
|
|
|
1048
1117
|
*/
|
|
1049
1118
|
export interface CachePolicyCookiesConfig {
|
|
1050
1119
|
/**
|
|
1120
|
+
* @public
|
|
1051
1121
|
* <p>Determines whether any cookies in viewer requests are included in the cache key and in
|
|
1052
1122
|
* requests that CloudFront sends to the origin. Valid values are:</p>
|
|
1053
1123
|
* <ul>
|
|
@@ -1083,6 +1153,7 @@ export interface CachePolicyCookiesConfig {
|
|
|
1083
1153
|
*/
|
|
1084
1154
|
CookieBehavior: CachePolicyCookieBehavior | string | undefined;
|
|
1085
1155
|
/**
|
|
1156
|
+
* @public
|
|
1086
1157
|
* <p>Contains a list of cookie names.</p>
|
|
1087
1158
|
*/
|
|
1088
1159
|
Cookies?: CookieNames;
|
|
@@ -1106,6 +1177,7 @@ export type CachePolicyHeaderBehavior = (typeof CachePolicyHeaderBehavior)[keyof
|
|
|
1106
1177
|
*/
|
|
1107
1178
|
export interface CachePolicyHeadersConfig {
|
|
1108
1179
|
/**
|
|
1180
|
+
* @public
|
|
1109
1181
|
* <p>Determines whether any HTTP headers are included in the cache key and in requests that CloudFront
|
|
1110
1182
|
* sends to the origin. Valid values are:</p>
|
|
1111
1183
|
* <ul>
|
|
@@ -1126,6 +1198,7 @@ export interface CachePolicyHeadersConfig {
|
|
|
1126
1198
|
*/
|
|
1127
1199
|
HeaderBehavior: CachePolicyHeaderBehavior | string | undefined;
|
|
1128
1200
|
/**
|
|
1201
|
+
* @public
|
|
1129
1202
|
* <p>Contains a list of HTTP header names.</p>
|
|
1130
1203
|
*/
|
|
1131
1204
|
Headers?: Headers;
|
|
@@ -1150,10 +1223,12 @@ export type CachePolicyQueryStringBehavior = (typeof CachePolicyQueryStringBehav
|
|
|
1150
1223
|
*/
|
|
1151
1224
|
export interface QueryStringNames {
|
|
1152
1225
|
/**
|
|
1226
|
+
* @public
|
|
1153
1227
|
* <p>The number of query string names in the <code>Items</code> list.</p>
|
|
1154
1228
|
*/
|
|
1155
1229
|
Quantity: number | undefined;
|
|
1156
1230
|
/**
|
|
1231
|
+
* @public
|
|
1157
1232
|
* <p>A list of query string names.</p>
|
|
1158
1233
|
*/
|
|
1159
1234
|
Items?: string[];
|
|
@@ -1166,6 +1241,7 @@ export interface QueryStringNames {
|
|
|
1166
1241
|
*/
|
|
1167
1242
|
export interface CachePolicyQueryStringsConfig {
|
|
1168
1243
|
/**
|
|
1244
|
+
* @public
|
|
1169
1245
|
* <p>Determines whether any URL query strings in viewer requests are included in the cache key
|
|
1170
1246
|
* and in requests that CloudFront sends to the origin. Valid values are:</p>
|
|
1171
1247
|
* <ul>
|
|
@@ -1201,6 +1277,7 @@ export interface CachePolicyQueryStringsConfig {
|
|
|
1201
1277
|
*/
|
|
1202
1278
|
QueryStringBehavior: CachePolicyQueryStringBehavior | string | undefined;
|
|
1203
1279
|
/**
|
|
1280
|
+
* @public
|
|
1204
1281
|
* <p>Contains the specific query strings in viewer requests that either <i>
|
|
1205
1282
|
* <b>are</b>
|
|
1206
1283
|
* </i> or <i>
|
|
@@ -1232,6 +1309,7 @@ export interface CachePolicyQueryStringsConfig {
|
|
|
1232
1309
|
*/
|
|
1233
1310
|
export interface ParametersInCacheKeyAndForwardedToOrigin {
|
|
1234
1311
|
/**
|
|
1312
|
+
* @public
|
|
1235
1313
|
* <p>A flag that can affect whether the <code>Accept-Encoding</code> HTTP header is
|
|
1236
1314
|
* included in the cache key and included in requests that CloudFront sends to the origin.</p>
|
|
1237
1315
|
* <p>This field is related to the <code>EnableAcceptEncodingBrotli</code> field. If one or
|
|
@@ -1266,6 +1344,7 @@ export interface ParametersInCacheKeyAndForwardedToOrigin {
|
|
|
1266
1344
|
*/
|
|
1267
1345
|
EnableAcceptEncodingGzip: boolean | undefined;
|
|
1268
1346
|
/**
|
|
1347
|
+
* @public
|
|
1269
1348
|
* <p>A flag that can affect whether the <code>Accept-Encoding</code> HTTP header is
|
|
1270
1349
|
* included in the cache key and included in requests that CloudFront sends to the origin.</p>
|
|
1271
1350
|
* <p>This field is related to the <code>EnableAcceptEncodingGzip</code> field. If one or
|
|
@@ -1300,16 +1379,19 @@ export interface ParametersInCacheKeyAndForwardedToOrigin {
|
|
|
1300
1379
|
*/
|
|
1301
1380
|
EnableAcceptEncodingBrotli?: boolean;
|
|
1302
1381
|
/**
|
|
1382
|
+
* @public
|
|
1303
1383
|
* <p>An object that determines whether any HTTP headers (and if so, which headers) are included
|
|
1304
1384
|
* in the cache key and in requests that CloudFront sends to the origin.</p>
|
|
1305
1385
|
*/
|
|
1306
1386
|
HeadersConfig: CachePolicyHeadersConfig | undefined;
|
|
1307
1387
|
/**
|
|
1388
|
+
* @public
|
|
1308
1389
|
* <p>An object that determines whether any cookies in viewer requests (and if so, which cookies)
|
|
1309
1390
|
* are included in the cache key and in requests that CloudFront sends to the origin.</p>
|
|
1310
1391
|
*/
|
|
1311
1392
|
CookiesConfig: CachePolicyCookiesConfig | undefined;
|
|
1312
1393
|
/**
|
|
1394
|
+
* @public
|
|
1313
1395
|
* <p>An object that determines whether any URL query strings in viewer requests (and if so, which
|
|
1314
1396
|
* query strings) are included in the cache key and in requests that CloudFront sends to the
|
|
1315
1397
|
* origin.</p>
|
|
@@ -1339,15 +1421,18 @@ export interface ParametersInCacheKeyAndForwardedToOrigin {
|
|
|
1339
1421
|
*/
|
|
1340
1422
|
export interface CachePolicyConfig {
|
|
1341
1423
|
/**
|
|
1424
|
+
* @public
|
|
1342
1425
|
* <p>A comment to describe the cache policy. The comment cannot be longer than 128
|
|
1343
1426
|
* characters.</p>
|
|
1344
1427
|
*/
|
|
1345
1428
|
Comment?: string;
|
|
1346
1429
|
/**
|
|
1430
|
+
* @public
|
|
1347
1431
|
* <p>A unique name to identify the cache policy.</p>
|
|
1348
1432
|
*/
|
|
1349
1433
|
Name: string | undefined;
|
|
1350
1434
|
/**
|
|
1435
|
+
* @public
|
|
1351
1436
|
* <p>The default amount of time, in seconds, that you want objects to stay in the CloudFront
|
|
1352
1437
|
* cache before CloudFront sends another request to the origin to see if the object has been
|
|
1353
1438
|
* updated. CloudFront uses this value as the object's time to live (TTL) only when the origin
|
|
@@ -1360,6 +1445,7 @@ export interface CachePolicyConfig {
|
|
|
1360
1445
|
*/
|
|
1361
1446
|
DefaultTTL?: number;
|
|
1362
1447
|
/**
|
|
1448
|
+
* @public
|
|
1363
1449
|
* <p>The maximum amount of time, in seconds, that objects stay in the CloudFront cache before
|
|
1364
1450
|
* CloudFront sends another request to the origin to see if the object has been updated. CloudFront
|
|
1365
1451
|
* uses this value only when the origin sends <code>Cache-Control</code> or
|
|
@@ -1372,6 +1458,7 @@ export interface CachePolicyConfig {
|
|
|
1372
1458
|
*/
|
|
1373
1459
|
MaxTTL?: number;
|
|
1374
1460
|
/**
|
|
1461
|
+
* @public
|
|
1375
1462
|
* <p>The minimum amount of time, in seconds, that you want objects to stay in the CloudFront
|
|
1376
1463
|
* cache before CloudFront sends another request to the origin to see if the object has been
|
|
1377
1464
|
* updated. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html">Managing How Long Content Stays in an Edge Cache (Expiration)</a> in the
|
|
@@ -1379,6 +1466,7 @@ export interface CachePolicyConfig {
|
|
|
1379
1466
|
*/
|
|
1380
1467
|
MinTTL: number | undefined;
|
|
1381
1468
|
/**
|
|
1469
|
+
* @public
|
|
1382
1470
|
* <p>The HTTP headers, cookies, and URL query strings to include in the cache key. The values
|
|
1383
1471
|
* included in the cache key are also included in requests that CloudFront sends to the
|
|
1384
1472
|
* origin.</p>
|
|
@@ -1409,14 +1497,17 @@ export interface CachePolicyConfig {
|
|
|
1409
1497
|
*/
|
|
1410
1498
|
export interface CachePolicy {
|
|
1411
1499
|
/**
|
|
1500
|
+
* @public
|
|
1412
1501
|
* <p>The unique identifier for the cache policy.</p>
|
|
1413
1502
|
*/
|
|
1414
1503
|
Id: string | undefined;
|
|
1415
1504
|
/**
|
|
1505
|
+
* @public
|
|
1416
1506
|
* <p>The date and time when the cache policy was last modified.</p>
|
|
1417
1507
|
*/
|
|
1418
1508
|
LastModifiedTime: Date | undefined;
|
|
1419
1509
|
/**
|
|
1510
|
+
* @public
|
|
1420
1511
|
* <p>The cache policy configuration.</p>
|
|
1421
1512
|
*/
|
|
1422
1513
|
CachePolicyConfig: CachePolicyConfig | undefined;
|
|
@@ -1467,11 +1558,13 @@ export type CachePolicyType = (typeof CachePolicyType)[keyof typeof CachePolicyT
|
|
|
1467
1558
|
*/
|
|
1468
1559
|
export interface CachePolicySummary {
|
|
1469
1560
|
/**
|
|
1561
|
+
* @public
|
|
1470
1562
|
* <p>The type of cache policy, either <code>managed</code> (created by Amazon Web Services) or
|
|
1471
1563
|
* <code>custom</code> (created in this Amazon Web Services account).</p>
|
|
1472
1564
|
*/
|
|
1473
1565
|
Type: CachePolicyType | string | undefined;
|
|
1474
1566
|
/**
|
|
1567
|
+
* @public
|
|
1475
1568
|
* <p>The cache policy.</p>
|
|
1476
1569
|
*/
|
|
1477
1570
|
CachePolicy: CachePolicy | undefined;
|
|
@@ -1482,20 +1575,24 @@ export interface CachePolicySummary {
|
|
|
1482
1575
|
*/
|
|
1483
1576
|
export interface CachePolicyList {
|
|
1484
1577
|
/**
|
|
1578
|
+
* @public
|
|
1485
1579
|
* <p>If there are more items in the list than are in this response, this element is
|
|
1486
1580
|
* present. It contains the value that you should use in the <code>Marker</code> field of a
|
|
1487
1581
|
* subsequent request to continue listing cache policies where you left off.</p>
|
|
1488
1582
|
*/
|
|
1489
1583
|
NextMarker?: string;
|
|
1490
1584
|
/**
|
|
1585
|
+
* @public
|
|
1491
1586
|
* <p>The maximum number of cache policies requested.</p>
|
|
1492
1587
|
*/
|
|
1493
1588
|
MaxItems: number | undefined;
|
|
1494
1589
|
/**
|
|
1590
|
+
* @public
|
|
1495
1591
|
* <p>The total number of cache policies returned in the response.</p>
|
|
1496
1592
|
*/
|
|
1497
1593
|
Quantity: number | undefined;
|
|
1498
1594
|
/**
|
|
1595
|
+
* @public
|
|
1499
1596
|
* <p>Contains the cache policies in the list.</p>
|
|
1500
1597
|
*/
|
|
1501
1598
|
Items?: CachePolicySummary[];
|
|
@@ -1544,28 +1641,41 @@ export declare class CNAMEAlreadyExists extends __BaseException {
|
|
|
1544
1641
|
*/
|
|
1545
1642
|
export interface CopyDistributionRequest {
|
|
1546
1643
|
/**
|
|
1644
|
+
* @public
|
|
1547
1645
|
* <p>The identifier of the primary distribution whose configuration you are copying. To get
|
|
1548
1646
|
* a distribution ID, use <code>ListDistributions</code>.</p>
|
|
1549
1647
|
*/
|
|
1550
1648
|
PrimaryDistributionId: string | undefined;
|
|
1551
1649
|
/**
|
|
1650
|
+
* @public
|
|
1552
1651
|
* <p>The type of distribution that your primary distribution will be copied to. The only
|
|
1553
1652
|
* valid value is <code>True</code>, indicating that you are copying to a staging
|
|
1554
1653
|
* distribution.</p>
|
|
1555
1654
|
*/
|
|
1556
1655
|
Staging?: boolean;
|
|
1557
1656
|
/**
|
|
1657
|
+
* @public
|
|
1558
1658
|
* <p>The version identifier of the primary distribution whose configuration you are
|
|
1559
1659
|
* copying. This is the <code>ETag</code> value returned in the response to
|
|
1560
1660
|
* <code>GetDistribution</code> and <code>GetDistributionConfig</code>.</p>
|
|
1561
1661
|
*/
|
|
1562
1662
|
IfMatch?: string;
|
|
1563
1663
|
/**
|
|
1664
|
+
* @public
|
|
1564
1665
|
* <p>A value that uniquely identifies a request to create a resource. This helps to prevent
|
|
1565
1666
|
* CloudFront from creating a duplicate resource if you accidentally resubmit an identical
|
|
1566
1667
|
* request.</p>
|
|
1567
1668
|
*/
|
|
1568
1669
|
CallerReference: string | undefined;
|
|
1670
|
+
/**
|
|
1671
|
+
* @public
|
|
1672
|
+
* <p>A Boolean flag to specify the state of the staging distribution when it's
|
|
1673
|
+
* created. When you set this value to <code>True</code>, the staging
|
|
1674
|
+
* distribution is enabled. When you set this value to <code>False</code>, the
|
|
1675
|
+
* staging distribution is disabled.</p>
|
|
1676
|
+
* <p>If you omit this field, the default value is <code>True</code>.</p>
|
|
1677
|
+
*/
|
|
1678
|
+
Enabled?: boolean;
|
|
1569
1679
|
}
|
|
1570
1680
|
/**
|
|
1571
1681
|
* @public
|
|
@@ -1584,11 +1694,13 @@ export interface CopyDistributionRequest {
|
|
|
1584
1694
|
*/
|
|
1585
1695
|
export interface CustomErrorResponse {
|
|
1586
1696
|
/**
|
|
1697
|
+
* @public
|
|
1587
1698
|
* <p>The HTTP status code for which you want to specify a custom error page and/or a
|
|
1588
1699
|
* caching duration.</p>
|
|
1589
1700
|
*/
|
|
1590
1701
|
ErrorCode: number | undefined;
|
|
1591
1702
|
/**
|
|
1703
|
+
* @public
|
|
1592
1704
|
* <p>The path to the custom error page that you want CloudFront to return to a viewer when your
|
|
1593
1705
|
* origin returns the HTTP status code specified by <code>ErrorCode</code>, for example,
|
|
1594
1706
|
* <code>/4xx-errors/403-forbidden.html</code>. If you want to store your objects and
|
|
@@ -1618,6 +1730,7 @@ export interface CustomErrorResponse {
|
|
|
1618
1730
|
*/
|
|
1619
1731
|
ResponsePagePath?: string;
|
|
1620
1732
|
/**
|
|
1733
|
+
* @public
|
|
1621
1734
|
* <p>The HTTP status code that you want CloudFront to return to the viewer along with the custom
|
|
1622
1735
|
* error page. There are a variety of reasons that you might want CloudFront to return a status
|
|
1623
1736
|
* code different from the status code that your origin returned to CloudFront, for
|
|
@@ -1644,6 +1757,7 @@ export interface CustomErrorResponse {
|
|
|
1644
1757
|
*/
|
|
1645
1758
|
ResponseCode?: string;
|
|
1646
1759
|
/**
|
|
1760
|
+
* @public
|
|
1647
1761
|
* <p>The minimum amount of time, in seconds, that you want CloudFront to cache the HTTP status
|
|
1648
1762
|
* code specified in <code>ErrorCode</code>. When this time period has elapsed, CloudFront
|
|
1649
1763
|
* queries your origin to see whether the problem that caused the error has been resolved
|
|
@@ -1670,12 +1784,14 @@ export interface CustomErrorResponse {
|
|
|
1670
1784
|
*/
|
|
1671
1785
|
export interface CustomErrorResponses {
|
|
1672
1786
|
/**
|
|
1787
|
+
* @public
|
|
1673
1788
|
* <p>The number of HTTP status codes for which you want to specify a custom error page
|
|
1674
1789
|
* and/or a caching duration. If <code>Quantity</code> is <code>0</code>, you can omit
|
|
1675
1790
|
* <code>Items</code>.</p>
|
|
1676
1791
|
*/
|
|
1677
1792
|
Quantity: number | undefined;
|
|
1678
1793
|
/**
|
|
1794
|
+
* @public
|
|
1679
1795
|
* <p>A complex type that contains a <code>CustomErrorResponse</code> element for each HTTP
|
|
1680
1796
|
* status code for which you want to specify a custom error page and/or a caching duration.
|
|
1681
1797
|
* </p>
|
|
@@ -1691,11 +1807,13 @@ export interface CustomErrorResponses {
|
|
|
1691
1807
|
*/
|
|
1692
1808
|
export interface DefaultCacheBehavior {
|
|
1693
1809
|
/**
|
|
1810
|
+
* @public
|
|
1694
1811
|
* <p>The value of <code>ID</code> for the origin that you want CloudFront to route requests to
|
|
1695
1812
|
* when they use the default cache behavior.</p>
|
|
1696
1813
|
*/
|
|
1697
1814
|
TargetOriginId: string | undefined;
|
|
1698
1815
|
/**
|
|
1816
|
+
* @public
|
|
1699
1817
|
* <important>
|
|
1700
1818
|
* <p>We recommend using <code>TrustedKeyGroups</code> instead of
|
|
1701
1819
|
* <code>TrustedSigners</code>.</p>
|
|
@@ -1711,6 +1829,7 @@ export interface DefaultCacheBehavior {
|
|
|
1711
1829
|
*/
|
|
1712
1830
|
TrustedSigners?: TrustedSigners;
|
|
1713
1831
|
/**
|
|
1832
|
+
* @public
|
|
1714
1833
|
* <p>A list of key groups that CloudFront can use to validate signed URLs or signed
|
|
1715
1834
|
* cookies.</p>
|
|
1716
1835
|
* <p>When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed
|
|
@@ -1722,6 +1841,7 @@ export interface DefaultCacheBehavior {
|
|
|
1722
1841
|
*/
|
|
1723
1842
|
TrustedKeyGroups?: TrustedKeyGroups;
|
|
1724
1843
|
/**
|
|
1844
|
+
* @public
|
|
1725
1845
|
* <p>The protocol that viewers can use to access the files in the origin specified by
|
|
1726
1846
|
* <code>TargetOriginId</code> when a request matches the path pattern in
|
|
1727
1847
|
* <code>PathPattern</code>. You can specify the following options:</p>
|
|
@@ -1757,6 +1877,7 @@ export interface DefaultCacheBehavior {
|
|
|
1757
1877
|
*/
|
|
1758
1878
|
ViewerProtocolPolicy: ViewerProtocolPolicy | string | undefined;
|
|
1759
1879
|
/**
|
|
1880
|
+
* @public
|
|
1760
1881
|
* <p>A complex type that controls which HTTP methods CloudFront processes and forwards to your
|
|
1761
1882
|
* Amazon S3 bucket or your custom origin. There are three choices:</p>
|
|
1762
1883
|
* <ul>
|
|
@@ -1779,6 +1900,7 @@ export interface DefaultCacheBehavior {
|
|
|
1779
1900
|
*/
|
|
1780
1901
|
AllowedMethods?: AllowedMethods;
|
|
1781
1902
|
/**
|
|
1903
|
+
* @public
|
|
1782
1904
|
* <p>Indicates whether you want to distribute media files in the Microsoft Smooth Streaming
|
|
1783
1905
|
* format using the origin that is associated with this cache behavior. If so, specify
|
|
1784
1906
|
* <code>true</code>; if not, specify <code>false</code>. If you specify
|
|
@@ -1788,6 +1910,7 @@ export interface DefaultCacheBehavior {
|
|
|
1788
1910
|
*/
|
|
1789
1911
|
SmoothStreaming?: boolean;
|
|
1790
1912
|
/**
|
|
1913
|
+
* @public
|
|
1791
1914
|
* <p>Whether you want CloudFront to automatically compress certain files for this cache behavior.
|
|
1792
1915
|
* If so, specify <code>true</code>; if not, specify <code>false</code>. For more
|
|
1793
1916
|
* information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html">Serving
|
|
@@ -1795,29 +1918,34 @@ export interface DefaultCacheBehavior {
|
|
|
1795
1918
|
*/
|
|
1796
1919
|
Compress?: boolean;
|
|
1797
1920
|
/**
|
|
1921
|
+
* @public
|
|
1798
1922
|
* <p>A complex type that contains zero or more Lambda@Edge function associations for a
|
|
1799
1923
|
* cache behavior.</p>
|
|
1800
1924
|
*/
|
|
1801
1925
|
LambdaFunctionAssociations?: LambdaFunctionAssociations;
|
|
1802
1926
|
/**
|
|
1927
|
+
* @public
|
|
1803
1928
|
* <p>A list of CloudFront functions that are associated with this cache behavior. CloudFront functions
|
|
1804
1929
|
* must be published to the <code>LIVE</code> stage to associate them with a cache
|
|
1805
1930
|
* behavior.</p>
|
|
1806
1931
|
*/
|
|
1807
1932
|
FunctionAssociations?: FunctionAssociations;
|
|
1808
1933
|
/**
|
|
1934
|
+
* @public
|
|
1809
1935
|
* <p>The value of <code>ID</code> for the field-level encryption configuration that you
|
|
1810
1936
|
* want CloudFront to use for encrypting specific fields of data for the default cache
|
|
1811
1937
|
* behavior.</p>
|
|
1812
1938
|
*/
|
|
1813
1939
|
FieldLevelEncryptionId?: string;
|
|
1814
1940
|
/**
|
|
1941
|
+
* @public
|
|
1815
1942
|
* <p>The Amazon Resource Name (ARN) of the real-time log configuration that is attached to
|
|
1816
1943
|
* this cache behavior. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html">Real-time logs</a> in the
|
|
1817
1944
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
1818
1945
|
*/
|
|
1819
1946
|
RealtimeLogConfigArn?: string;
|
|
1820
1947
|
/**
|
|
1948
|
+
* @public
|
|
1821
1949
|
* <p>The unique identifier of the cache policy that is attached to the default cache
|
|
1822
1950
|
* behavior. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy">Creating cache policies</a> or <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html">Using the managed cache policies</a> in the
|
|
1823
1951
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
@@ -1827,16 +1955,19 @@ export interface DefaultCacheBehavior {
|
|
|
1827
1955
|
*/
|
|
1828
1956
|
CachePolicyId?: string;
|
|
1829
1957
|
/**
|
|
1958
|
+
* @public
|
|
1830
1959
|
* <p>The unique identifier of the origin request policy that is attached to the default
|
|
1831
1960
|
* cache behavior. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy">Creating origin request policies</a> or <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html">Using the managed origin request policies</a> in the
|
|
1832
1961
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
1833
1962
|
*/
|
|
1834
1963
|
OriginRequestPolicyId?: string;
|
|
1835
1964
|
/**
|
|
1965
|
+
* @public
|
|
1836
1966
|
* <p>The identifier for a response headers policy.</p>
|
|
1837
1967
|
*/
|
|
1838
1968
|
ResponseHeadersPolicyId?: string;
|
|
1839
1969
|
/**
|
|
1970
|
+
* @public
|
|
1840
1971
|
* @deprecated
|
|
1841
1972
|
*
|
|
1842
1973
|
* <p>This field is deprecated. We recommend that you use a cache policy or an origin
|
|
@@ -1856,6 +1987,7 @@ export interface DefaultCacheBehavior {
|
|
|
1856
1987
|
*/
|
|
1857
1988
|
ForwardedValues?: ForwardedValues;
|
|
1858
1989
|
/**
|
|
1990
|
+
* @public
|
|
1859
1991
|
* @deprecated
|
|
1860
1992
|
*
|
|
1861
1993
|
* <p>This field is deprecated. We recommend that you use the <code>MinTTL</code> field in a
|
|
@@ -1873,6 +2005,7 @@ export interface DefaultCacheBehavior {
|
|
|
1873
2005
|
*/
|
|
1874
2006
|
MinTTL?: number;
|
|
1875
2007
|
/**
|
|
2008
|
+
* @public
|
|
1876
2009
|
* @deprecated
|
|
1877
2010
|
*
|
|
1878
2011
|
* <p>This field is deprecated. We recommend that you use the <code>DefaultTTL</code> field
|
|
@@ -1887,6 +2020,7 @@ export interface DefaultCacheBehavior {
|
|
|
1887
2020
|
*/
|
|
1888
2021
|
DefaultTTL?: number;
|
|
1889
2022
|
/**
|
|
2023
|
+
* @public
|
|
1890
2024
|
* @deprecated
|
|
1891
2025
|
*
|
|
1892
2026
|
* <p>This field is deprecated. We recommend that you use the <code>MaxTTL</code> field in a
|
|
@@ -1922,6 +2056,7 @@ export type HttpVersion = (typeof HttpVersion)[keyof typeof HttpVersion];
|
|
|
1922
2056
|
*/
|
|
1923
2057
|
export interface LoggingConfig {
|
|
1924
2058
|
/**
|
|
2059
|
+
* @public
|
|
1925
2060
|
* <p>Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you don't
|
|
1926
2061
|
* want to enable logging when you create a distribution or if you want to disable logging
|
|
1927
2062
|
* for an existing distribution, specify <code>false</code> for <code>Enabled</code>, and
|
|
@@ -1932,6 +2067,7 @@ export interface LoggingConfig {
|
|
|
1932
2067
|
*/
|
|
1933
2068
|
Enabled: boolean | undefined;
|
|
1934
2069
|
/**
|
|
2070
|
+
* @public
|
|
1935
2071
|
* <p>Specifies whether you want CloudFront to include cookies in access logs, specify
|
|
1936
2072
|
* <code>true</code> for <code>IncludeCookies</code>. If you choose to include cookies
|
|
1937
2073
|
* in logs, CloudFront logs all cookies regardless of how you configure the cache behaviors for
|
|
@@ -1941,11 +2077,13 @@ export interface LoggingConfig {
|
|
|
1941
2077
|
*/
|
|
1942
2078
|
IncludeCookies: boolean | undefined;
|
|
1943
2079
|
/**
|
|
2080
|
+
* @public
|
|
1944
2081
|
* <p>The Amazon S3 bucket to store the access logs in, for example,
|
|
1945
2082
|
* <code>myawslogbucket.s3.amazonaws.com</code>.</p>
|
|
1946
2083
|
*/
|
|
1947
2084
|
Bucket: string | undefined;
|
|
1948
2085
|
/**
|
|
2086
|
+
* @public
|
|
1949
2087
|
* <p>An optional string that you want CloudFront to prefix to the access log
|
|
1950
2088
|
* <code>filenames</code> for this distribution, for example, <code>myprefix/</code>.
|
|
1951
2089
|
* If you want to enable logging, but you don't want to specify a prefix, you still must
|
|
@@ -1960,10 +2098,12 @@ export interface LoggingConfig {
|
|
|
1960
2098
|
*/
|
|
1961
2099
|
export interface StatusCodes {
|
|
1962
2100
|
/**
|
|
2101
|
+
* @public
|
|
1963
2102
|
* <p>The number of status codes.</p>
|
|
1964
2103
|
*/
|
|
1965
2104
|
Quantity: number | undefined;
|
|
1966
2105
|
/**
|
|
2106
|
+
* @public
|
|
1967
2107
|
* <p>The items (status codes) for an origin group.</p>
|
|
1968
2108
|
*/
|
|
1969
2109
|
Items: number[] | undefined;
|
|
@@ -1976,6 +2116,7 @@ export interface StatusCodes {
|
|
|
1976
2116
|
*/
|
|
1977
2117
|
export interface OriginGroupFailoverCriteria {
|
|
1978
2118
|
/**
|
|
2119
|
+
* @public
|
|
1979
2120
|
* <p>The status codes that, when returned from the primary origin, will trigger CloudFront
|
|
1980
2121
|
* to failover to the second origin.</p>
|
|
1981
2122
|
*/
|
|
@@ -1987,6 +2128,7 @@ export interface OriginGroupFailoverCriteria {
|
|
|
1987
2128
|
*/
|
|
1988
2129
|
export interface OriginGroupMember {
|
|
1989
2130
|
/**
|
|
2131
|
+
* @public
|
|
1990
2132
|
* <p>The ID for an origin in an origin group.</p>
|
|
1991
2133
|
*/
|
|
1992
2134
|
OriginId: string | undefined;
|
|
@@ -1997,10 +2139,12 @@ export interface OriginGroupMember {
|
|
|
1997
2139
|
*/
|
|
1998
2140
|
export interface OriginGroupMembers {
|
|
1999
2141
|
/**
|
|
2142
|
+
* @public
|
|
2000
2143
|
* <p>The number of origins in an origin group.</p>
|
|
2001
2144
|
*/
|
|
2002
2145
|
Quantity: number | undefined;
|
|
2003
2146
|
/**
|
|
2147
|
+
* @public
|
|
2004
2148
|
* <p>Items (origins) in an origin group.</p>
|
|
2005
2149
|
*/
|
|
2006
2150
|
Items: OriginGroupMember[] | undefined;
|
|
@@ -2016,15 +2160,18 @@ export interface OriginGroupMembers {
|
|
|
2016
2160
|
*/
|
|
2017
2161
|
export interface OriginGroup {
|
|
2018
2162
|
/**
|
|
2163
|
+
* @public
|
|
2019
2164
|
* <p>The origin group's ID.</p>
|
|
2020
2165
|
*/
|
|
2021
2166
|
Id: string | undefined;
|
|
2022
2167
|
/**
|
|
2168
|
+
* @public
|
|
2023
2169
|
* <p>A complex type that contains information about the failover criteria for an origin
|
|
2024
2170
|
* group.</p>
|
|
2025
2171
|
*/
|
|
2026
2172
|
FailoverCriteria: OriginGroupFailoverCriteria | undefined;
|
|
2027
2173
|
/**
|
|
2174
|
+
* @public
|
|
2028
2175
|
* <p>A complex type that contains information about the origins in an origin group.</p>
|
|
2029
2176
|
*/
|
|
2030
2177
|
Members: OriginGroupMembers | undefined;
|
|
@@ -2035,10 +2182,12 @@ export interface OriginGroup {
|
|
|
2035
2182
|
*/
|
|
2036
2183
|
export interface OriginGroups {
|
|
2037
2184
|
/**
|
|
2185
|
+
* @public
|
|
2038
2186
|
* <p>The number of origin groups.</p>
|
|
2039
2187
|
*/
|
|
2040
2188
|
Quantity: number | undefined;
|
|
2041
2189
|
/**
|
|
2190
|
+
* @public
|
|
2042
2191
|
* <p>The items (origin groups) in a distribution.</p>
|
|
2043
2192
|
*/
|
|
2044
2193
|
Items?: OriginGroup[];
|
|
@@ -2050,6 +2199,7 @@ export interface OriginGroups {
|
|
|
2050
2199
|
*/
|
|
2051
2200
|
export interface OriginCustomHeader {
|
|
2052
2201
|
/**
|
|
2202
|
+
* @public
|
|
2053
2203
|
* <p>The name of a header that you want CloudFront to send to your origin. For more information,
|
|
2054
2204
|
* see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/forward-custom-headers.html">Adding
|
|
2055
2205
|
* Custom Headers to Origin Requests</a> in the <i>
|
|
@@ -2057,6 +2207,7 @@ export interface OriginCustomHeader {
|
|
|
2057
2207
|
*/
|
|
2058
2208
|
HeaderName: string | undefined;
|
|
2059
2209
|
/**
|
|
2210
|
+
* @public
|
|
2060
2211
|
* <p>The value for the header that you specified in the <code>HeaderName</code>
|
|
2061
2212
|
* field.</p>
|
|
2062
2213
|
*/
|
|
@@ -2068,10 +2219,12 @@ export interface OriginCustomHeader {
|
|
|
2068
2219
|
*/
|
|
2069
2220
|
export interface CustomHeaders {
|
|
2070
2221
|
/**
|
|
2222
|
+
* @public
|
|
2071
2223
|
* <p>The number of custom headers, if any, for this distribution.</p>
|
|
2072
2224
|
*/
|
|
2073
2225
|
Quantity: number | undefined;
|
|
2074
2226
|
/**
|
|
2227
|
+
* @public
|
|
2075
2228
|
* <p>
|
|
2076
2229
|
* <b>Optional</b>: A list that contains one
|
|
2077
2230
|
* <code>OriginCustomHeader</code> element for each custom header that you want CloudFront to
|
|
@@ -2113,11 +2266,13 @@ export type SslProtocol = (typeof SslProtocol)[keyof typeof SslProtocol];
|
|
|
2113
2266
|
*/
|
|
2114
2267
|
export interface OriginSslProtocols {
|
|
2115
2268
|
/**
|
|
2269
|
+
* @public
|
|
2116
2270
|
* <p>The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing
|
|
2117
2271
|
* an HTTPS connection with this origin.</p>
|
|
2118
2272
|
*/
|
|
2119
2273
|
Quantity: number | undefined;
|
|
2120
2274
|
/**
|
|
2275
|
+
* @public
|
|
2121
2276
|
* <p>A list that contains allowed SSL/TLS protocols for this distribution.</p>
|
|
2122
2277
|
*/
|
|
2123
2278
|
Items: (SslProtocol | string)[] | undefined;
|
|
@@ -2131,16 +2286,19 @@ export interface OriginSslProtocols {
|
|
|
2131
2286
|
*/
|
|
2132
2287
|
export interface CustomOriginConfig {
|
|
2133
2288
|
/**
|
|
2289
|
+
* @public
|
|
2134
2290
|
* <p>The HTTP port that CloudFront uses to connect to the origin. Specify the HTTP port that the
|
|
2135
2291
|
* origin listens on.</p>
|
|
2136
2292
|
*/
|
|
2137
2293
|
HTTPPort: number | undefined;
|
|
2138
2294
|
/**
|
|
2295
|
+
* @public
|
|
2139
2296
|
* <p>The HTTPS port that CloudFront uses to connect to the origin. Specify the HTTPS port that
|
|
2140
2297
|
* the origin listens on.</p>
|
|
2141
2298
|
*/
|
|
2142
2299
|
HTTPSPort: number | undefined;
|
|
2143
2300
|
/**
|
|
2301
|
+
* @public
|
|
2144
2302
|
* <p>Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Valid
|
|
2145
2303
|
* values are:</p>
|
|
2146
2304
|
* <ul>
|
|
@@ -2163,6 +2321,7 @@ export interface CustomOriginConfig {
|
|
|
2163
2321
|
*/
|
|
2164
2322
|
OriginProtocolPolicy: OriginProtocolPolicy | string | undefined;
|
|
2165
2323
|
/**
|
|
2324
|
+
* @public
|
|
2166
2325
|
* <p>Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin
|
|
2167
2326
|
* over HTTPS. Valid values include <code>SSLv3</code>, <code>TLSv1</code>,
|
|
2168
2327
|
* <code>TLSv1.1</code>, and <code>TLSv1.2</code>.</p>
|
|
@@ -2171,6 +2330,7 @@ export interface CustomOriginConfig {
|
|
|
2171
2330
|
*/
|
|
2172
2331
|
OriginSslProtocols?: OriginSslProtocols;
|
|
2173
2332
|
/**
|
|
2333
|
+
* @public
|
|
2174
2334
|
* <p>Specifies how long, in seconds, CloudFront waits for a response from the origin. This is
|
|
2175
2335
|
* also known as the <i>origin response timeout</i>. The minimum timeout is 1
|
|
2176
2336
|
* second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is
|
|
@@ -2180,6 +2340,7 @@ export interface CustomOriginConfig {
|
|
|
2180
2340
|
*/
|
|
2181
2341
|
OriginReadTimeout?: number;
|
|
2182
2342
|
/**
|
|
2343
|
+
* @public
|
|
2183
2344
|
* <p>Specifies how long, in seconds, CloudFront persists its connection to the origin. The
|
|
2184
2345
|
* minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't
|
|
2185
2346
|
* specify otherwise) is 5 seconds.</p>
|
|
@@ -2197,6 +2358,7 @@ export interface CustomOriginConfig {
|
|
|
2197
2358
|
*/
|
|
2198
2359
|
export interface OriginShield {
|
|
2199
2360
|
/**
|
|
2361
|
+
* @public
|
|
2200
2362
|
* <p>A flag that specifies whether Origin Shield is enabled.</p>
|
|
2201
2363
|
* <p>When it's enabled, CloudFront routes all requests through Origin Shield, which can help
|
|
2202
2364
|
* protect your origin. When it's disabled, CloudFront might send requests directly to your
|
|
@@ -2204,6 +2366,7 @@ export interface OriginShield {
|
|
|
2204
2366
|
*/
|
|
2205
2367
|
Enabled: boolean | undefined;
|
|
2206
2368
|
/**
|
|
2369
|
+
* @public
|
|
2207
2370
|
* <p>The Amazon Web Services Region for Origin Shield.</p>
|
|
2208
2371
|
* <p>Specify the Amazon Web Services Region that has the lowest latency to your origin. To specify a
|
|
2209
2372
|
* region, use the region code, not the region name. For example, specify the US East
|
|
@@ -2223,6 +2386,7 @@ export interface OriginShield {
|
|
|
2223
2386
|
*/
|
|
2224
2387
|
export interface S3OriginConfig {
|
|
2225
2388
|
/**
|
|
2389
|
+
* @public
|
|
2226
2390
|
* <p>The CloudFront origin access identity to associate with the origin. Use an origin access
|
|
2227
2391
|
* identity to configure the origin so that viewers can <i>only</i> access
|
|
2228
2392
|
* objects in an Amazon S3 bucket through CloudFront. The format of the value is:</p>
|
|
@@ -2285,6 +2449,7 @@ export interface S3OriginConfig {
|
|
|
2285
2449
|
*/
|
|
2286
2450
|
export interface Origin {
|
|
2287
2451
|
/**
|
|
2452
|
+
* @public
|
|
2288
2453
|
* <p>A unique identifier for the origin. This value must be unique within the
|
|
2289
2454
|
* distribution.</p>
|
|
2290
2455
|
* <p>Use this value to specify the <code>TargetOriginId</code> in a
|
|
@@ -2292,11 +2457,13 @@ export interface Origin {
|
|
|
2292
2457
|
*/
|
|
2293
2458
|
Id: string | undefined;
|
|
2294
2459
|
/**
|
|
2460
|
+
* @public
|
|
2295
2461
|
* <p>The domain name for the origin.</p>
|
|
2296
2462
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesDomainName">Origin Domain Name</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
2297
2463
|
*/
|
|
2298
2464
|
DomainName: string | undefined;
|
|
2299
2465
|
/**
|
|
2466
|
+
* @public
|
|
2300
2467
|
* <p>An optional path that CloudFront appends to the origin domain name when CloudFront requests
|
|
2301
2468
|
* content from the origin.</p>
|
|
2302
2469
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginPath">Origin Path</a> in the
|
|
@@ -2304,6 +2471,7 @@ export interface Origin {
|
|
|
2304
2471
|
*/
|
|
2305
2472
|
OriginPath?: string;
|
|
2306
2473
|
/**
|
|
2474
|
+
* @public
|
|
2307
2475
|
* <p>A list of HTTP header names and values that CloudFront adds to the requests that it sends to
|
|
2308
2476
|
* the origin.</p>
|
|
2309
2477
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/add-origin-custom-headers.html">Adding Custom Headers to Origin Requests</a> in the
|
|
@@ -2311,6 +2479,7 @@ export interface Origin {
|
|
|
2311
2479
|
*/
|
|
2312
2480
|
CustomHeaders?: CustomHeaders;
|
|
2313
2481
|
/**
|
|
2482
|
+
* @public
|
|
2314
2483
|
* <p>Use this type to specify an origin that is an Amazon S3 bucket that is not configured with
|
|
2315
2484
|
* static website hosting. To specify any other type of origin, including an Amazon S3 bucket
|
|
2316
2485
|
* that is configured with static website hosting, use the <code>CustomOriginConfig</code>
|
|
@@ -2318,6 +2487,7 @@ export interface Origin {
|
|
|
2318
2487
|
*/
|
|
2319
2488
|
S3OriginConfig?: S3OriginConfig;
|
|
2320
2489
|
/**
|
|
2490
|
+
* @public
|
|
2321
2491
|
* <p>Use this type to specify an origin that is not an Amazon S3 bucket, with one exception. If
|
|
2322
2492
|
* the Amazon S3 bucket is configured with static website hosting, use this type. If the Amazon S3
|
|
2323
2493
|
* bucket is not configured with static website hosting, use the
|
|
@@ -2325,6 +2495,7 @@ export interface Origin {
|
|
|
2325
2495
|
*/
|
|
2326
2496
|
CustomOriginConfig?: CustomOriginConfig;
|
|
2327
2497
|
/**
|
|
2498
|
+
* @public
|
|
2328
2499
|
* <p>The number of times that CloudFront attempts to connect to the origin. The minimum number is
|
|
2329
2500
|
* 1, the maximum is 3, and the default (if you don't specify otherwise) is 3.</p>
|
|
2330
2501
|
* <p>For a custom origin (including an Amazon S3 bucket that's configured with static website
|
|
@@ -2335,6 +2506,7 @@ export interface Origin {
|
|
|
2335
2506
|
*/
|
|
2336
2507
|
ConnectionAttempts?: number;
|
|
2337
2508
|
/**
|
|
2509
|
+
* @public
|
|
2338
2510
|
* <p>The number of seconds that CloudFront waits when trying to establish a connection to the
|
|
2339
2511
|
* origin. The minimum timeout is 1 second, the maximum is 10 seconds, and the default (if
|
|
2340
2512
|
* you don't specify otherwise) is 10 seconds.</p>
|
|
@@ -2343,12 +2515,14 @@ export interface Origin {
|
|
|
2343
2515
|
*/
|
|
2344
2516
|
ConnectionTimeout?: number;
|
|
2345
2517
|
/**
|
|
2518
|
+
* @public
|
|
2346
2519
|
* <p>CloudFront Origin Shield. Using Origin Shield can help reduce the load on your
|
|
2347
2520
|
* origin.</p>
|
|
2348
2521
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html">Using Origin Shield</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
2349
2522
|
*/
|
|
2350
2523
|
OriginShield?: OriginShield;
|
|
2351
2524
|
/**
|
|
2525
|
+
* @public
|
|
2352
2526
|
* <p>The unique identifier of an origin access control for this origin.</p>
|
|
2353
2527
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html">Restricting access to an Amazon S3 origin</a> in the
|
|
2354
2528
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
@@ -2361,10 +2535,12 @@ export interface Origin {
|
|
|
2361
2535
|
*/
|
|
2362
2536
|
export interface Origins {
|
|
2363
2537
|
/**
|
|
2538
|
+
* @public
|
|
2364
2539
|
* <p>The number of origins for this distribution.</p>
|
|
2365
2540
|
*/
|
|
2366
2541
|
Quantity: number | undefined;
|
|
2367
2542
|
/**
|
|
2543
|
+
* @public
|
|
2368
2544
|
* <p>A list of origins.</p>
|
|
2369
2545
|
*/
|
|
2370
2546
|
Items: Origin[] | undefined;
|
|
@@ -2403,6 +2579,7 @@ export type GeoRestrictionType = (typeof GeoRestrictionType)[keyof typeof GeoRes
|
|
|
2403
2579
|
*/
|
|
2404
2580
|
export interface GeoRestriction {
|
|
2405
2581
|
/**
|
|
2582
|
+
* @public
|
|
2406
2583
|
* <p>The method that you want to use to restrict distribution of your content by
|
|
2407
2584
|
* country:</p>
|
|
2408
2585
|
* <ul>
|
|
@@ -2425,12 +2602,14 @@ export interface GeoRestriction {
|
|
|
2425
2602
|
*/
|
|
2426
2603
|
RestrictionType: GeoRestrictionType | string | undefined;
|
|
2427
2604
|
/**
|
|
2605
|
+
* @public
|
|
2428
2606
|
* <p>When geo restriction is <code>enabled</code>, this is the number of countries in your
|
|
2429
2607
|
* <code>whitelist</code> or <code>blacklist</code>. Otherwise, when it is not enabled,
|
|
2430
2608
|
* <code>Quantity</code> is <code>0</code>, and you can omit <code>Items</code>.</p>
|
|
2431
2609
|
*/
|
|
2432
2610
|
Quantity: number | undefined;
|
|
2433
2611
|
/**
|
|
2612
|
+
* @public
|
|
2434
2613
|
* <p>A complex type that contains a <code>Location</code> element for each country in
|
|
2435
2614
|
* which you want CloudFront either to distribute your content (<code>whitelist</code>) or not
|
|
2436
2615
|
* distribute your content (<code>blacklist</code>).</p>
|
|
@@ -2453,6 +2632,7 @@ export interface GeoRestriction {
|
|
|
2453
2632
|
*/
|
|
2454
2633
|
export interface Restrictions {
|
|
2455
2634
|
/**
|
|
2635
|
+
* @public
|
|
2456
2636
|
* <p>A complex type that controls the countries in which your content is distributed. CloudFront
|
|
2457
2637
|
* determines the location of your users using <code>MaxMind</code> GeoIP databases.</p>
|
|
2458
2638
|
*/
|
|
@@ -2552,6 +2732,7 @@ export type SSLSupportMethod = (typeof SSLSupportMethod)[keyof typeof SSLSupport
|
|
|
2552
2732
|
*/
|
|
2553
2733
|
export interface ViewerCertificate {
|
|
2554
2734
|
/**
|
|
2735
|
+
* @public
|
|
2555
2736
|
* <p>If the distribution uses the CloudFront domain name such as
|
|
2556
2737
|
* <code>d111111abcdef8.cloudfront.net</code>, set this field to
|
|
2557
2738
|
* <code>true</code>.</p>
|
|
@@ -2577,6 +2758,7 @@ export interface ViewerCertificate {
|
|
|
2577
2758
|
*/
|
|
2578
2759
|
CloudFrontDefaultCertificate?: boolean;
|
|
2579
2760
|
/**
|
|
2761
|
+
* @public
|
|
2580
2762
|
* <p>If the distribution uses <code>Aliases</code> (alternate domain names or CNAMEs) and
|
|
2581
2763
|
* the SSL/TLS certificate is stored in <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html">Identity and Access Management (IAM)</a>, provide the ID of the IAM certificate.</p>
|
|
2582
2764
|
* <p>If you specify an IAM certificate ID, you must also specify values for
|
|
@@ -2584,6 +2766,7 @@ export interface ViewerCertificate {
|
|
|
2584
2766
|
*/
|
|
2585
2767
|
IAMCertificateId?: string;
|
|
2586
2768
|
/**
|
|
2769
|
+
* @public
|
|
2587
2770
|
* <p>If the distribution uses <code>Aliases</code> (alternate domain names or CNAMEs) and
|
|
2588
2771
|
* the SSL/TLS certificate is stored in <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-overview.html">Certificate Manager (ACM)</a>, provide the Amazon Resource Name
|
|
2589
2772
|
* (ARN) of the ACM certificate. CloudFront only supports ACM certificates in the US East
|
|
@@ -2593,6 +2776,7 @@ export interface ViewerCertificate {
|
|
|
2593
2776
|
*/
|
|
2594
2777
|
ACMCertificateArn?: string;
|
|
2595
2778
|
/**
|
|
2779
|
+
* @public
|
|
2596
2780
|
* <p>If the distribution uses <code>Aliases</code> (alternate domain names or CNAMEs),
|
|
2597
2781
|
* specify which viewers the distribution accepts HTTPS connections from.</p>
|
|
2598
2782
|
* <ul>
|
|
@@ -2622,6 +2806,7 @@ export interface ViewerCertificate {
|
|
|
2622
2806
|
*/
|
|
2623
2807
|
SSLSupportMethod?: SSLSupportMethod | string;
|
|
2624
2808
|
/**
|
|
2809
|
+
* @public
|
|
2625
2810
|
* <p>If the distribution uses <code>Aliases</code> (alternate domain names or CNAMEs),
|
|
2626
2811
|
* specify the security policy that you want CloudFront to use for HTTPS connections with
|
|
2627
2812
|
* viewers. The security policy determines two settings:</p>
|
|
@@ -2651,6 +2836,7 @@ export interface ViewerCertificate {
|
|
|
2651
2836
|
*/
|
|
2652
2837
|
MinimumProtocolVersion?: MinimumProtocolVersion | string;
|
|
2653
2838
|
/**
|
|
2839
|
+
* @public
|
|
2654
2840
|
* @deprecated
|
|
2655
2841
|
*
|
|
2656
2842
|
* <p>This field is deprecated. Use one of the following fields instead:</p>
|
|
@@ -2674,6 +2860,7 @@ export interface ViewerCertificate {
|
|
|
2674
2860
|
*/
|
|
2675
2861
|
Certificate?: string;
|
|
2676
2862
|
/**
|
|
2863
|
+
* @public
|
|
2677
2864
|
* @deprecated
|
|
2678
2865
|
*
|
|
2679
2866
|
* <p>This field is deprecated. Use one of the following fields instead:</p>
|
|
@@ -2703,6 +2890,7 @@ export interface ViewerCertificate {
|
|
|
2703
2890
|
*/
|
|
2704
2891
|
export interface DistributionConfig {
|
|
2705
2892
|
/**
|
|
2893
|
+
* @public
|
|
2706
2894
|
* <p>A unique value (for example, a date-time stamp) that ensures that the request can't be
|
|
2707
2895
|
* replayed.</p>
|
|
2708
2896
|
* <p>If the value of <code>CallerReference</code> is new (regardless of the content of the
|
|
@@ -2713,11 +2901,13 @@ export interface DistributionConfig {
|
|
|
2713
2901
|
*/
|
|
2714
2902
|
CallerReference: string | undefined;
|
|
2715
2903
|
/**
|
|
2904
|
+
* @public
|
|
2716
2905
|
* <p>A complex type that contains information about CNAMEs (alternate domain names), if
|
|
2717
2906
|
* any, for this distribution.</p>
|
|
2718
2907
|
*/
|
|
2719
2908
|
Aliases?: Aliases;
|
|
2720
2909
|
/**
|
|
2910
|
+
* @public
|
|
2721
2911
|
* <p>The object that you want CloudFront to request from your origin (for example,
|
|
2722
2912
|
* <code>index.html</code>) when a viewer requests the root URL for your distribution
|
|
2723
2913
|
* (<code>https://www.example.com</code>) instead of an object in your distribution
|
|
@@ -2737,15 +2927,18 @@ export interface DistributionConfig {
|
|
|
2737
2927
|
*/
|
|
2738
2928
|
DefaultRootObject?: string;
|
|
2739
2929
|
/**
|
|
2930
|
+
* @public
|
|
2740
2931
|
* <p>A complex type that contains information about origins for this distribution.</p>
|
|
2741
2932
|
*/
|
|
2742
2933
|
Origins: Origins | undefined;
|
|
2743
2934
|
/**
|
|
2935
|
+
* @public
|
|
2744
2936
|
* <p>A complex type that contains information about origin groups for this
|
|
2745
2937
|
* distribution.</p>
|
|
2746
2938
|
*/
|
|
2747
2939
|
OriginGroups?: OriginGroups;
|
|
2748
2940
|
/**
|
|
2941
|
+
* @public
|
|
2749
2942
|
* <p>A complex type that describes the default cache behavior if you don't specify a
|
|
2750
2943
|
* <code>CacheBehavior</code> element or if files don't match any of the values of
|
|
2751
2944
|
* <code>PathPattern</code> in <code>CacheBehavior</code> elements. You must create
|
|
@@ -2753,10 +2946,12 @@ export interface DistributionConfig {
|
|
|
2753
2946
|
*/
|
|
2754
2947
|
DefaultCacheBehavior: DefaultCacheBehavior | undefined;
|
|
2755
2948
|
/**
|
|
2949
|
+
* @public
|
|
2756
2950
|
* <p>A complex type that contains zero or more <code>CacheBehavior</code> elements.</p>
|
|
2757
2951
|
*/
|
|
2758
2952
|
CacheBehaviors?: CacheBehaviors;
|
|
2759
2953
|
/**
|
|
2954
|
+
* @public
|
|
2760
2955
|
* <p>A complex type that controls the following:</p>
|
|
2761
2956
|
* <ul>
|
|
2762
2957
|
* <li>
|
|
@@ -2772,11 +2967,13 @@ export interface DistributionConfig {
|
|
|
2772
2967
|
*/
|
|
2773
2968
|
CustomErrorResponses?: CustomErrorResponses;
|
|
2774
2969
|
/**
|
|
2970
|
+
* @public
|
|
2775
2971
|
* <p>A comment to describe the distribution. The comment cannot be longer than
|
|
2776
2972
|
* 128 characters.</p>
|
|
2777
2973
|
*/
|
|
2778
2974
|
Comment: string | undefined;
|
|
2779
2975
|
/**
|
|
2976
|
+
* @public
|
|
2780
2977
|
* <p>A complex type that controls whether access logs are written for the
|
|
2781
2978
|
* distribution.</p>
|
|
2782
2979
|
* <p>For more information about logging, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html">Access Logs</a> in
|
|
@@ -2784,6 +2981,7 @@ export interface DistributionConfig {
|
|
|
2784
2981
|
*/
|
|
2785
2982
|
Logging?: LoggingConfig;
|
|
2786
2983
|
/**
|
|
2984
|
+
* @public
|
|
2787
2985
|
* <p>The price class that corresponds with the maximum price that you want to pay for CloudFront
|
|
2788
2986
|
* service. If you specify <code>PriceClass_All</code>, CloudFront responds to requests for your
|
|
2789
2987
|
* objects from all CloudFront edge locations.</p>
|
|
@@ -2799,20 +2997,24 @@ export interface DistributionConfig {
|
|
|
2799
2997
|
*/
|
|
2800
2998
|
PriceClass?: PriceClass | string;
|
|
2801
2999
|
/**
|
|
3000
|
+
* @public
|
|
2802
3001
|
* <p>From this field, you can enable or disable the selected distribution.</p>
|
|
2803
3002
|
*/
|
|
2804
3003
|
Enabled: boolean | undefined;
|
|
2805
3004
|
/**
|
|
3005
|
+
* @public
|
|
2806
3006
|
* <p>A complex type that determines the distribution's SSL/TLS configuration for
|
|
2807
3007
|
* communicating with viewers.</p>
|
|
2808
3008
|
*/
|
|
2809
3009
|
ViewerCertificate?: ViewerCertificate;
|
|
2810
3010
|
/**
|
|
3011
|
+
* @public
|
|
2811
3012
|
* <p>A complex type that identifies ways in which you want to restrict distribution of your
|
|
2812
3013
|
* content.</p>
|
|
2813
3014
|
*/
|
|
2814
3015
|
Restrictions?: Restrictions;
|
|
2815
3016
|
/**
|
|
3017
|
+
* @public
|
|
2816
3018
|
* <p>A unique identifier that specifies the WAF web ACL, if any, to associate with this
|
|
2817
3019
|
* distribution. To specify a web ACL created using the latest version of WAF, use the
|
|
2818
3020
|
* ACL ARN, for example
|
|
@@ -2829,6 +3031,7 @@ export interface DistributionConfig {
|
|
|
2829
3031
|
*/
|
|
2830
3032
|
WebACLId?: string;
|
|
2831
3033
|
/**
|
|
3034
|
+
* @public
|
|
2832
3035
|
* <p>(Optional) Specify the maximum HTTP version(s) that you want viewers to use to
|
|
2833
3036
|
* communicate with CloudFront. The default value for new web distributions is
|
|
2834
3037
|
* <code>http2</code>. Viewers that don't support HTTP/2 automatically use an earlier HTTP
|
|
@@ -2843,6 +3046,7 @@ export interface DistributionConfig {
|
|
|
2843
3046
|
*/
|
|
2844
3047
|
HttpVersion?: HttpVersion | string;
|
|
2845
3048
|
/**
|
|
3049
|
+
* @public
|
|
2846
3050
|
* <p>If you want CloudFront to respond to IPv6 DNS requests with an IPv6 address for your
|
|
2847
3051
|
* distribution, specify <code>true</code>. If you specify <code>false</code>, CloudFront
|
|
2848
3052
|
* responds to IPv6 DNS requests with the DNS response code <code>NOERROR</code> and with
|
|
@@ -2876,11 +3080,13 @@ export interface DistributionConfig {
|
|
|
2876
3080
|
*/
|
|
2877
3081
|
IsIPV6Enabled?: boolean;
|
|
2878
3082
|
/**
|
|
3083
|
+
* @public
|
|
2879
3084
|
* <p>The identifier of a continuous deployment policy. For more information, see
|
|
2880
3085
|
* <code>CreateContinuousDeploymentPolicy</code>.</p>
|
|
2881
3086
|
*/
|
|
2882
3087
|
ContinuousDeploymentPolicyId?: string;
|
|
2883
3088
|
/**
|
|
3089
|
+
* @public
|
|
2884
3090
|
* <p>A Boolean that indicates whether this is a staging distribution. When this value is
|
|
2885
3091
|
* <code>true</code>, this is a staging distribution. When this value is
|
|
2886
3092
|
* <code>false</code>, this is not a staging distribution.</p>
|
|
@@ -2894,32 +3100,39 @@ export interface DistributionConfig {
|
|
|
2894
3100
|
*/
|
|
2895
3101
|
export interface Distribution {
|
|
2896
3102
|
/**
|
|
3103
|
+
* @public
|
|
2897
3104
|
* <p>The distribution's identifier. For example: <code>E1U5RQF7T870K0</code>.</p>
|
|
2898
3105
|
*/
|
|
2899
3106
|
Id: string | undefined;
|
|
2900
3107
|
/**
|
|
3108
|
+
* @public
|
|
2901
3109
|
* <p>The distribution's Amazon Resource Name (ARN).</p>
|
|
2902
3110
|
*/
|
|
2903
3111
|
ARN: string | undefined;
|
|
2904
3112
|
/**
|
|
3113
|
+
* @public
|
|
2905
3114
|
* <p>The distribution's status. When the status is <code>Deployed</code>, the
|
|
2906
3115
|
* distribution's information is fully propagated to all CloudFront edge locations.</p>
|
|
2907
3116
|
*/
|
|
2908
3117
|
Status: string | undefined;
|
|
2909
3118
|
/**
|
|
3119
|
+
* @public
|
|
2910
3120
|
* <p>The date and time when the distribution was last modified.</p>
|
|
2911
3121
|
*/
|
|
2912
3122
|
LastModifiedTime: Date | undefined;
|
|
2913
3123
|
/**
|
|
3124
|
+
* @public
|
|
2914
3125
|
* <p>The number of invalidation batches currently in progress.</p>
|
|
2915
3126
|
*/
|
|
2916
3127
|
InProgressInvalidationBatches: number | undefined;
|
|
2917
3128
|
/**
|
|
3129
|
+
* @public
|
|
2918
3130
|
* <p>The distribution's CloudFront domain name. For example:
|
|
2919
3131
|
* <code>d111111abcdef8.cloudfront.net</code>.</p>
|
|
2920
3132
|
*/
|
|
2921
3133
|
DomainName: string | undefined;
|
|
2922
3134
|
/**
|
|
3135
|
+
* @public
|
|
2923
3136
|
* <important>
|
|
2924
3137
|
* <p>We recommend using <code>TrustedKeyGroups</code> instead of
|
|
2925
3138
|
* <code>TrustedSigners</code>.</p>
|
|
@@ -2930,15 +3143,18 @@ export interface Distribution {
|
|
|
2930
3143
|
*/
|
|
2931
3144
|
ActiveTrustedSigners?: ActiveTrustedSigners;
|
|
2932
3145
|
/**
|
|
3146
|
+
* @public
|
|
2933
3147
|
* <p>This field contains a list of key groups and the public keys in each key group that
|
|
2934
3148
|
* CloudFront can use to verify the signatures of signed URLs or signed cookies.</p>
|
|
2935
3149
|
*/
|
|
2936
3150
|
ActiveTrustedKeyGroups?: ActiveTrustedKeyGroups;
|
|
2937
3151
|
/**
|
|
3152
|
+
* @public
|
|
2938
3153
|
* <p>The distribution's configuration.</p>
|
|
2939
3154
|
*/
|
|
2940
3155
|
DistributionConfig: DistributionConfig | undefined;
|
|
2941
3156
|
/**
|
|
3157
|
+
* @public
|
|
2942
3158
|
* <p>Amazon Web Services services in China customers must file for an Internet Content Provider (ICP)
|
|
2943
3159
|
* recordal if they want to serve content publicly on an alternate domain name, also known
|
|
2944
3160
|
* as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal
|
|
@@ -2953,15 +3169,18 @@ export interface Distribution {
|
|
|
2953
3169
|
*/
|
|
2954
3170
|
export interface CopyDistributionResult {
|
|
2955
3171
|
/**
|
|
3172
|
+
* @public
|
|
2956
3173
|
* <p>A distribution tells CloudFront where you want content to be delivered from, and the details
|
|
2957
3174
|
* about how to track and manage content delivery.</p>
|
|
2958
3175
|
*/
|
|
2959
3176
|
Distribution?: Distribution;
|
|
2960
3177
|
/**
|
|
3178
|
+
* @public
|
|
2961
3179
|
* <p>The URL of the staging distribution.</p>
|
|
2962
3180
|
*/
|
|
2963
3181
|
Location?: string;
|
|
2964
3182
|
/**
|
|
3183
|
+
* @public
|
|
2965
3184
|
* <p>The version identifier for the current version of the staging distribution.</p>
|
|
2966
3185
|
*/
|
|
2967
3186
|
ETag?: string;
|
|
@@ -3534,6 +3753,22 @@ export declare class TooManyDistributionsAssociatedToKeyGroup extends __BaseExce
|
|
|
3534
3753
|
*/
|
|
3535
3754
|
constructor(opts: __ExceptionOptionType<TooManyDistributionsAssociatedToKeyGroup, __BaseException>);
|
|
3536
3755
|
}
|
|
3756
|
+
/**
|
|
3757
|
+
* @public
|
|
3758
|
+
* <p>The maximum number of distributions have been associated with the specified origin
|
|
3759
|
+
* access control.</p>
|
|
3760
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
3761
|
+
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
3762
|
+
*/
|
|
3763
|
+
export declare class TooManyDistributionsAssociatedToOriginAccessControl extends __BaseException {
|
|
3764
|
+
readonly name: "TooManyDistributionsAssociatedToOriginAccessControl";
|
|
3765
|
+
readonly $fault: "client";
|
|
3766
|
+
Message?: string;
|
|
3767
|
+
/**
|
|
3768
|
+
* @internal
|
|
3769
|
+
*/
|
|
3770
|
+
constructor(opts: __ExceptionOptionType<TooManyDistributionsAssociatedToOriginAccessControl, __BaseException>);
|
|
3771
|
+
}
|
|
3537
3772
|
/**
|
|
3538
3773
|
* @public
|
|
3539
3774
|
* <p>The maximum number of distributions have been associated with the specified origin
|
|
@@ -3762,6 +3997,7 @@ export declare class TrustedSignerDoesNotExist extends __BaseException {
|
|
|
3762
3997
|
*/
|
|
3763
3998
|
export interface CreateCachePolicyRequest {
|
|
3764
3999
|
/**
|
|
4000
|
+
* @public
|
|
3765
4001
|
* <p>A cache policy configuration.</p>
|
|
3766
4002
|
*/
|
|
3767
4003
|
CachePolicyConfig: CachePolicyConfig | undefined;
|
|
@@ -3771,14 +4007,17 @@ export interface CreateCachePolicyRequest {
|
|
|
3771
4007
|
*/
|
|
3772
4008
|
export interface CreateCachePolicyResult {
|
|
3773
4009
|
/**
|
|
4010
|
+
* @public
|
|
3774
4011
|
* <p>A cache policy.</p>
|
|
3775
4012
|
*/
|
|
3776
4013
|
CachePolicy?: CachePolicy;
|
|
3777
4014
|
/**
|
|
4015
|
+
* @public
|
|
3778
4016
|
* <p>The fully qualified URI of the cache policy just created.</p>
|
|
3779
4017
|
*/
|
|
3780
4018
|
Location?: string;
|
|
3781
4019
|
/**
|
|
4020
|
+
* @public
|
|
3782
4021
|
* <p>The current version of the cache policy.</p>
|
|
3783
4022
|
*/
|
|
3784
4023
|
ETag?: string;
|
|
@@ -3868,6 +4107,7 @@ export declare class CloudFrontOriginAccessIdentityAlreadyExists extends __BaseE
|
|
|
3868
4107
|
*/
|
|
3869
4108
|
export interface CloudFrontOriginAccessIdentityConfig {
|
|
3870
4109
|
/**
|
|
4110
|
+
* @public
|
|
3871
4111
|
* <p>A unique value (for example, a date-time stamp) that ensures that the request can't be
|
|
3872
4112
|
* replayed.</p>
|
|
3873
4113
|
* <p>If the value of <code>CallerReference</code> is new (regardless of the content of the
|
|
@@ -3885,6 +4125,7 @@ export interface CloudFrontOriginAccessIdentityConfig {
|
|
|
3885
4125
|
*/
|
|
3886
4126
|
CallerReference: string | undefined;
|
|
3887
4127
|
/**
|
|
4128
|
+
* @public
|
|
3888
4129
|
* <p>A comment to describe the origin access identity. The comment cannot be longer than
|
|
3889
4130
|
* 128 characters.</p>
|
|
3890
4131
|
*/
|
|
@@ -3899,6 +4140,7 @@ export interface CloudFrontOriginAccessIdentityConfig {
|
|
|
3899
4140
|
*/
|
|
3900
4141
|
export interface CreateCloudFrontOriginAccessIdentityRequest {
|
|
3901
4142
|
/**
|
|
4143
|
+
* @public
|
|
3902
4144
|
* <p>The current configuration information for the identity.</p>
|
|
3903
4145
|
*/
|
|
3904
4146
|
CloudFrontOriginAccessIdentityConfig: CloudFrontOriginAccessIdentityConfig | undefined;
|
|
@@ -3909,16 +4151,19 @@ export interface CreateCloudFrontOriginAccessIdentityRequest {
|
|
|
3909
4151
|
*/
|
|
3910
4152
|
export interface CloudFrontOriginAccessIdentity {
|
|
3911
4153
|
/**
|
|
4154
|
+
* @public
|
|
3912
4155
|
* <p>The ID for the origin access identity, for example, <code>E74FTE3AJFJ256A</code>.
|
|
3913
4156
|
* </p>
|
|
3914
4157
|
*/
|
|
3915
4158
|
Id: string | undefined;
|
|
3916
4159
|
/**
|
|
4160
|
+
* @public
|
|
3917
4161
|
* <p>The Amazon S3 canonical user ID for the origin access identity, used when giving the origin
|
|
3918
4162
|
* access identity read permission to an object in Amazon S3.</p>
|
|
3919
4163
|
*/
|
|
3920
4164
|
S3CanonicalUserId: string | undefined;
|
|
3921
4165
|
/**
|
|
4166
|
+
* @public
|
|
3922
4167
|
* <p>The current configuration information for the identity.</p>
|
|
3923
4168
|
*/
|
|
3924
4169
|
CloudFrontOriginAccessIdentityConfig?: CloudFrontOriginAccessIdentityConfig;
|
|
@@ -3929,14 +4174,17 @@ export interface CloudFrontOriginAccessIdentity {
|
|
|
3929
4174
|
*/
|
|
3930
4175
|
export interface CreateCloudFrontOriginAccessIdentityResult {
|
|
3931
4176
|
/**
|
|
4177
|
+
* @public
|
|
3932
4178
|
* <p>The origin access identity's information.</p>
|
|
3933
4179
|
*/
|
|
3934
4180
|
CloudFrontOriginAccessIdentity?: CloudFrontOriginAccessIdentity;
|
|
3935
4181
|
/**
|
|
4182
|
+
* @public
|
|
3936
4183
|
* <p>The fully qualified URI of the new origin access identity just created.</p>
|
|
3937
4184
|
*/
|
|
3938
4185
|
Location?: string;
|
|
3939
4186
|
/**
|
|
4187
|
+
* @public
|
|
3940
4188
|
* <p>The current version of the origin access identity created.</p>
|
|
3941
4189
|
*/
|
|
3942
4190
|
ETag?: string;
|
|
@@ -3974,10 +4222,12 @@ export declare class ContinuousDeploymentPolicyAlreadyExists extends __BaseExcep
|
|
|
3974
4222
|
*/
|
|
3975
4223
|
export interface StagingDistributionDnsNames {
|
|
3976
4224
|
/**
|
|
4225
|
+
* @public
|
|
3977
4226
|
* <p>The number of CloudFront domain names in your staging distribution.</p>
|
|
3978
4227
|
*/
|
|
3979
4228
|
Quantity: number | undefined;
|
|
3980
4229
|
/**
|
|
4230
|
+
* @public
|
|
3981
4231
|
* <p>The CloudFront domain name of the staging distribution.</p>
|
|
3982
4232
|
*/
|
|
3983
4233
|
Items?: string[];
|
|
@@ -3991,11 +4241,13 @@ export interface StagingDistributionDnsNames {
|
|
|
3991
4241
|
*/
|
|
3992
4242
|
export interface ContinuousDeploymentSingleHeaderConfig {
|
|
3993
4243
|
/**
|
|
4244
|
+
* @public
|
|
3994
4245
|
* <p>The request header name that you want CloudFront to send to your staging
|
|
3995
4246
|
* distribution. The header must contain the prefix <code>aws-cf-cd-</code>.</p>
|
|
3996
4247
|
*/
|
|
3997
4248
|
Header: string | undefined;
|
|
3998
4249
|
/**
|
|
4250
|
+
* @public
|
|
3999
4251
|
* <p>The request header value.</p>
|
|
4000
4252
|
*/
|
|
4001
4253
|
Value: string | undefined;
|
|
@@ -4009,12 +4261,14 @@ export interface ContinuousDeploymentSingleHeaderConfig {
|
|
|
4009
4261
|
*/
|
|
4010
4262
|
export interface SessionStickinessConfig {
|
|
4011
4263
|
/**
|
|
4264
|
+
* @public
|
|
4012
4265
|
* <p>The amount of time after which you want sessions to cease if no requests are
|
|
4013
4266
|
* received. Allowed values are 300–3600 seconds (5–60 minutes).</p>
|
|
4014
4267
|
* <p>The value must be less than or equal to <code>MaximumTTL</code>.</p>
|
|
4015
4268
|
*/
|
|
4016
4269
|
IdleTTL: number | undefined;
|
|
4017
4270
|
/**
|
|
4271
|
+
* @public
|
|
4018
4272
|
* <p>The maximum amount of time to consider requests from the viewer as being part of the
|
|
4019
4273
|
* same session. Allowed values are 300–3600 seconds (5–60 minutes).</p>
|
|
4020
4274
|
* <p>The value must be less than or equal to <code>IdleTTL</code>.</p>
|
|
@@ -4027,11 +4281,13 @@ export interface SessionStickinessConfig {
|
|
|
4027
4281
|
*/
|
|
4028
4282
|
export interface ContinuousDeploymentSingleWeightConfig {
|
|
4029
4283
|
/**
|
|
4284
|
+
* @public
|
|
4030
4285
|
* <p>The percentage of traffic to send to a staging distribution, expressed as a decimal
|
|
4031
4286
|
* number between 0 and .15.</p>
|
|
4032
4287
|
*/
|
|
4033
4288
|
Weight: number | undefined;
|
|
4034
4289
|
/**
|
|
4290
|
+
* @public
|
|
4035
4291
|
* <p>Session stickiness provides the ability to define multiple requests from a single
|
|
4036
4292
|
* viewer as a single session. This prevents the potentially inconsistent experience of
|
|
4037
4293
|
* sending some of a given user's requests to your staging distribution, while others are
|
|
@@ -4057,14 +4313,17 @@ export type ContinuousDeploymentPolicyType = (typeof ContinuousDeploymentPolicyT
|
|
|
4057
4313
|
*/
|
|
4058
4314
|
export interface TrafficConfig {
|
|
4059
4315
|
/**
|
|
4316
|
+
* @public
|
|
4060
4317
|
* <p>Contains the percentage of traffic to send to the staging distribution.</p>
|
|
4061
4318
|
*/
|
|
4062
4319
|
SingleWeightConfig?: ContinuousDeploymentSingleWeightConfig;
|
|
4063
4320
|
/**
|
|
4321
|
+
* @public
|
|
4064
4322
|
* <p>Determines which HTTP requests are sent to the staging distribution.</p>
|
|
4065
4323
|
*/
|
|
4066
4324
|
SingleHeaderConfig?: ContinuousDeploymentSingleHeaderConfig;
|
|
4067
4325
|
/**
|
|
4326
|
+
* @public
|
|
4068
4327
|
* <p>The type of traffic configuration.</p>
|
|
4069
4328
|
*/
|
|
4070
4329
|
Type: ContinuousDeploymentPolicyType | string | undefined;
|
|
@@ -4075,11 +4334,13 @@ export interface TrafficConfig {
|
|
|
4075
4334
|
*/
|
|
4076
4335
|
export interface ContinuousDeploymentPolicyConfig {
|
|
4077
4336
|
/**
|
|
4337
|
+
* @public
|
|
4078
4338
|
* <p>The CloudFront domain name of the staging distribution. For example:
|
|
4079
4339
|
* <code>d111111abcdef8.cloudfront.net</code>.</p>
|
|
4080
4340
|
*/
|
|
4081
4341
|
StagingDistributionDnsNames: StagingDistributionDnsNames | undefined;
|
|
4082
4342
|
/**
|
|
4343
|
+
* @public
|
|
4083
4344
|
* <p>A Boolean that indicates whether this continuous deployment policy is enabled (in
|
|
4084
4345
|
* effect). When this value is <code>true</code>, this policy is enabled and in effect.
|
|
4085
4346
|
* When this value is <code>false</code>, this policy is not enabled and has no
|
|
@@ -4087,6 +4348,7 @@ export interface ContinuousDeploymentPolicyConfig {
|
|
|
4087
4348
|
*/
|
|
4088
4349
|
Enabled: boolean | undefined;
|
|
4089
4350
|
/**
|
|
4351
|
+
* @public
|
|
4090
4352
|
* <p>Contains the parameters for routing production traffic from your primary to staging
|
|
4091
4353
|
* distributions.</p>
|
|
4092
4354
|
*/
|
|
@@ -4097,6 +4359,7 @@ export interface ContinuousDeploymentPolicyConfig {
|
|
|
4097
4359
|
*/
|
|
4098
4360
|
export interface CreateContinuousDeploymentPolicyRequest {
|
|
4099
4361
|
/**
|
|
4362
|
+
* @public
|
|
4100
4363
|
* <p>Contains the configuration for a continuous deployment policy.</p>
|
|
4101
4364
|
*/
|
|
4102
4365
|
ContinuousDeploymentPolicyConfig: ContinuousDeploymentPolicyConfig | undefined;
|
|
@@ -4107,14 +4370,17 @@ export interface CreateContinuousDeploymentPolicyRequest {
|
|
|
4107
4370
|
*/
|
|
4108
4371
|
export interface ContinuousDeploymentPolicy {
|
|
4109
4372
|
/**
|
|
4373
|
+
* @public
|
|
4110
4374
|
* <p>The identifier of the continuous deployment policy.</p>
|
|
4111
4375
|
*/
|
|
4112
4376
|
Id: string | undefined;
|
|
4113
4377
|
/**
|
|
4378
|
+
* @public
|
|
4114
4379
|
* <p>The date and time the continuous deployment policy was last modified.</p>
|
|
4115
4380
|
*/
|
|
4116
4381
|
LastModifiedTime: Date | undefined;
|
|
4117
4382
|
/**
|
|
4383
|
+
* @public
|
|
4118
4384
|
* <p>Contains the configuration for a continuous deployment policy.</p>
|
|
4119
4385
|
*/
|
|
4120
4386
|
ContinuousDeploymentPolicyConfig: ContinuousDeploymentPolicyConfig | undefined;
|
|
@@ -4124,14 +4390,17 @@ export interface ContinuousDeploymentPolicy {
|
|
|
4124
4390
|
*/
|
|
4125
4391
|
export interface CreateContinuousDeploymentPolicyResult {
|
|
4126
4392
|
/**
|
|
4393
|
+
* @public
|
|
4127
4394
|
* <p>A continuous deployment policy.</p>
|
|
4128
4395
|
*/
|
|
4129
4396
|
ContinuousDeploymentPolicy?: ContinuousDeploymentPolicy;
|
|
4130
4397
|
/**
|
|
4398
|
+
* @public
|
|
4131
4399
|
* <p>The location of the continuous deployment policy.</p>
|
|
4132
4400
|
*/
|
|
4133
4401
|
Location?: string;
|
|
4134
4402
|
/**
|
|
4403
|
+
* @public
|
|
4135
4404
|
* <p>The version identifier for the current version of the continuous deployment
|
|
4136
4405
|
* policy.</p>
|
|
4137
4406
|
*/
|
|
@@ -4184,6 +4453,7 @@ export declare class ContinuousDeploymentPolicyInUse extends __BaseException {
|
|
|
4184
4453
|
*/
|
|
4185
4454
|
export interface CreateDistributionRequest {
|
|
4186
4455
|
/**
|
|
4456
|
+
* @public
|
|
4187
4457
|
* <p>The distribution's configuration information.</p>
|
|
4188
4458
|
*/
|
|
4189
4459
|
DistributionConfig: DistributionConfig | undefined;
|
|
@@ -4194,14 +4464,17 @@ export interface CreateDistributionRequest {
|
|
|
4194
4464
|
*/
|
|
4195
4465
|
export interface CreateDistributionResult {
|
|
4196
4466
|
/**
|
|
4467
|
+
* @public
|
|
4197
4468
|
* <p>The distribution's information.</p>
|
|
4198
4469
|
*/
|
|
4199
4470
|
Distribution?: Distribution;
|
|
4200
4471
|
/**
|
|
4472
|
+
* @public
|
|
4201
4473
|
* <p>The fully qualified URI of the new distribution resource just created.</p>
|
|
4202
4474
|
*/
|
|
4203
4475
|
Location?: string;
|
|
4204
4476
|
/**
|
|
4477
|
+
* @public
|
|
4205
4478
|
* <p>The current version of the distribution created.</p>
|
|
4206
4479
|
*/
|
|
4207
4480
|
ETag?: string;
|
|
@@ -4247,28 +4520,13 @@ export declare class NoSuchContinuousDeploymentPolicy extends __BaseException {
|
|
|
4247
4520
|
*/
|
|
4248
4521
|
constructor(opts: __ExceptionOptionType<NoSuchContinuousDeploymentPolicy, __BaseException>);
|
|
4249
4522
|
}
|
|
4250
|
-
/**
|
|
4251
|
-
* @public
|
|
4252
|
-
* <p>The maximum number of distributions have been associated with the specified origin
|
|
4253
|
-
* access control.</p>
|
|
4254
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
4255
|
-
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
4256
|
-
*/
|
|
4257
|
-
export declare class TooManyDistributionsAssociatedToOriginAccessControl extends __BaseException {
|
|
4258
|
-
readonly name: "TooManyDistributionsAssociatedToOriginAccessControl";
|
|
4259
|
-
readonly $fault: "client";
|
|
4260
|
-
Message?: string;
|
|
4261
|
-
/**
|
|
4262
|
-
* @internal
|
|
4263
|
-
*/
|
|
4264
|
-
constructor(opts: __ExceptionOptionType<TooManyDistributionsAssociatedToOriginAccessControl, __BaseException>);
|
|
4265
|
-
}
|
|
4266
4523
|
/**
|
|
4267
4524
|
* @public
|
|
4268
4525
|
* <p>A complex type that contains <code>Tag</code> key and <code>Tag</code> value.</p>
|
|
4269
4526
|
*/
|
|
4270
4527
|
export interface Tag {
|
|
4271
4528
|
/**
|
|
4529
|
+
* @public
|
|
4272
4530
|
* <p>A string that contains <code>Tag</code> key.</p>
|
|
4273
4531
|
* <p>The string length should be between 1 and 128 characters. Valid characters include
|
|
4274
4532
|
* <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, space, and the special
|
|
@@ -4276,6 +4534,7 @@ export interface Tag {
|
|
|
4276
4534
|
*/
|
|
4277
4535
|
Key: string | undefined;
|
|
4278
4536
|
/**
|
|
4537
|
+
* @public
|
|
4279
4538
|
* <p>A string that contains an optional <code>Tag</code> value.</p>
|
|
4280
4539
|
* <p>The string length should be between 0 and 256 characters. Valid characters include
|
|
4281
4540
|
* <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, space, and the special
|
|
@@ -4289,6 +4548,7 @@ export interface Tag {
|
|
|
4289
4548
|
*/
|
|
4290
4549
|
export interface Tags {
|
|
4291
4550
|
/**
|
|
4551
|
+
* @public
|
|
4292
4552
|
* <p>A complex type that contains <code>Tag</code> elements.</p>
|
|
4293
4553
|
*/
|
|
4294
4554
|
Items?: Tag[];
|
|
@@ -4300,10 +4560,12 @@ export interface Tags {
|
|
|
4300
4560
|
*/
|
|
4301
4561
|
export interface DistributionConfigWithTags {
|
|
4302
4562
|
/**
|
|
4563
|
+
* @public
|
|
4303
4564
|
* <p>A distribution configuration.</p>
|
|
4304
4565
|
*/
|
|
4305
4566
|
DistributionConfig: DistributionConfig | undefined;
|
|
4306
4567
|
/**
|
|
4568
|
+
* @public
|
|
4307
4569
|
* <p>A complex type that contains zero or more <code>Tag</code> elements.</p>
|
|
4308
4570
|
*/
|
|
4309
4571
|
Tags: Tags | undefined;
|
|
@@ -4314,6 +4576,7 @@ export interface DistributionConfigWithTags {
|
|
|
4314
4576
|
*/
|
|
4315
4577
|
export interface CreateDistributionWithTagsRequest {
|
|
4316
4578
|
/**
|
|
4579
|
+
* @public
|
|
4317
4580
|
* <p>The distribution's configuration information.</p>
|
|
4318
4581
|
*/
|
|
4319
4582
|
DistributionConfigWithTags: DistributionConfigWithTags | undefined;
|
|
@@ -4324,14 +4587,17 @@ export interface CreateDistributionWithTagsRequest {
|
|
|
4324
4587
|
*/
|
|
4325
4588
|
export interface CreateDistributionWithTagsResult {
|
|
4326
4589
|
/**
|
|
4590
|
+
* @public
|
|
4327
4591
|
* <p>The distribution's information.</p>
|
|
4328
4592
|
*/
|
|
4329
4593
|
Distribution?: Distribution;
|
|
4330
4594
|
/**
|
|
4595
|
+
* @public
|
|
4331
4596
|
* <p>The fully qualified URI of the new distribution resource just created.</p>
|
|
4332
4597
|
*/
|
|
4333
4598
|
Location?: string;
|
|
4334
4599
|
/**
|
|
4600
|
+
* @public
|
|
4335
4601
|
* <p>The current version of the distribution created.</p>
|
|
4336
4602
|
*/
|
|
4337
4603
|
ETag?: string;
|
|
@@ -4366,14 +4632,17 @@ export type Format = (typeof Format)[keyof typeof Format];
|
|
|
4366
4632
|
*/
|
|
4367
4633
|
export interface ContentTypeProfile {
|
|
4368
4634
|
/**
|
|
4635
|
+
* @public
|
|
4369
4636
|
* <p>The format for a field-level encryption content type-profile mapping.</p>
|
|
4370
4637
|
*/
|
|
4371
4638
|
Format: Format | string | undefined;
|
|
4372
4639
|
/**
|
|
4640
|
+
* @public
|
|
4373
4641
|
* <p>The profile ID for a field-level encryption content type-profile mapping.</p>
|
|
4374
4642
|
*/
|
|
4375
4643
|
ProfileId?: string;
|
|
4376
4644
|
/**
|
|
4645
|
+
* @public
|
|
4377
4646
|
* <p>The content type for a field-level encryption content type-profile mapping.</p>
|
|
4378
4647
|
*/
|
|
4379
4648
|
ContentType: string | undefined;
|
|
@@ -4384,10 +4653,12 @@ export interface ContentTypeProfile {
|
|
|
4384
4653
|
*/
|
|
4385
4654
|
export interface ContentTypeProfiles {
|
|
4386
4655
|
/**
|
|
4656
|
+
* @public
|
|
4387
4657
|
* <p>The number of field-level encryption content type-profile mappings.</p>
|
|
4388
4658
|
*/
|
|
4389
4659
|
Quantity: number | undefined;
|
|
4390
4660
|
/**
|
|
4661
|
+
* @public
|
|
4391
4662
|
* <p>Items in a field-level encryption content type-profile mapping.</p>
|
|
4392
4663
|
*/
|
|
4393
4664
|
Items?: ContentTypeProfile[];
|
|
@@ -4398,6 +4669,7 @@ export interface ContentTypeProfiles {
|
|
|
4398
4669
|
*/
|
|
4399
4670
|
export interface ContentTypeProfileConfig {
|
|
4400
4671
|
/**
|
|
4672
|
+
* @public
|
|
4401
4673
|
* <p>The setting in a field-level encryption content type-profile mapping that specifies
|
|
4402
4674
|
* what to do when an unknown content type is provided for the profile. If true, content is
|
|
4403
4675
|
* forwarded without being encrypted when the content type is unknown. If false (the
|
|
@@ -4405,6 +4677,7 @@ export interface ContentTypeProfileConfig {
|
|
|
4405
4677
|
*/
|
|
4406
4678
|
ForwardWhenContentTypeIsUnknown: boolean | undefined;
|
|
4407
4679
|
/**
|
|
4680
|
+
* @public
|
|
4408
4681
|
* <p>The configuration for a field-level encryption content type-profile.</p>
|
|
4409
4682
|
*/
|
|
4410
4683
|
ContentTypeProfiles?: ContentTypeProfiles;
|
|
@@ -4415,10 +4688,12 @@ export interface ContentTypeProfileConfig {
|
|
|
4415
4688
|
*/
|
|
4416
4689
|
export interface QueryArgProfile {
|
|
4417
4690
|
/**
|
|
4691
|
+
* @public
|
|
4418
4692
|
* <p>Query argument for field-level encryption query argument-profile mapping.</p>
|
|
4419
4693
|
*/
|
|
4420
4694
|
QueryArg: string | undefined;
|
|
4421
4695
|
/**
|
|
4696
|
+
* @public
|
|
4422
4697
|
* <p>ID of profile to use for field-level encryption query argument-profile mapping</p>
|
|
4423
4698
|
*/
|
|
4424
4699
|
ProfileId: string | undefined;
|
|
@@ -4429,11 +4704,13 @@ export interface QueryArgProfile {
|
|
|
4429
4704
|
*/
|
|
4430
4705
|
export interface QueryArgProfiles {
|
|
4431
4706
|
/**
|
|
4707
|
+
* @public
|
|
4432
4708
|
* <p>Number of profiles for query argument-profile mapping for field-level
|
|
4433
4709
|
* encryption.</p>
|
|
4434
4710
|
*/
|
|
4435
4711
|
Quantity: number | undefined;
|
|
4436
4712
|
/**
|
|
4713
|
+
* @public
|
|
4437
4714
|
* <p>Number of items for query argument-profile mapping for field-level encryption.</p>
|
|
4438
4715
|
*/
|
|
4439
4716
|
Items?: QueryArgProfile[];
|
|
@@ -4444,11 +4721,13 @@ export interface QueryArgProfiles {
|
|
|
4444
4721
|
*/
|
|
4445
4722
|
export interface QueryArgProfileConfig {
|
|
4446
4723
|
/**
|
|
4724
|
+
* @public
|
|
4447
4725
|
* <p>Flag to set if you want a request to be forwarded to the origin even if the profile
|
|
4448
4726
|
* specified by the field-level encryption query argument, fle-profile, is unknown.</p>
|
|
4449
4727
|
*/
|
|
4450
4728
|
ForwardWhenQueryArgProfileIsUnknown: boolean | undefined;
|
|
4451
4729
|
/**
|
|
4730
|
+
* @public
|
|
4452
4731
|
* <p>Profiles specified for query argument-profile mapping for field-level
|
|
4453
4732
|
* encryption.</p>
|
|
4454
4733
|
*/
|
|
@@ -4461,20 +4740,24 @@ export interface QueryArgProfileConfig {
|
|
|
4461
4740
|
*/
|
|
4462
4741
|
export interface FieldLevelEncryptionConfig {
|
|
4463
4742
|
/**
|
|
4743
|
+
* @public
|
|
4464
4744
|
* <p>A unique number that ensures the request can't be replayed.</p>
|
|
4465
4745
|
*/
|
|
4466
4746
|
CallerReference: string | undefined;
|
|
4467
4747
|
/**
|
|
4748
|
+
* @public
|
|
4468
4749
|
* <p>An optional comment about the configuration. The comment cannot be longer than 128
|
|
4469
4750
|
* characters.</p>
|
|
4470
4751
|
*/
|
|
4471
4752
|
Comment?: string;
|
|
4472
4753
|
/**
|
|
4754
|
+
* @public
|
|
4473
4755
|
* <p>A complex data type that specifies when to forward content if a profile isn't found
|
|
4474
4756
|
* and the profile that can be provided as a query argument in a request.</p>
|
|
4475
4757
|
*/
|
|
4476
4758
|
QueryArgProfileConfig?: QueryArgProfileConfig;
|
|
4477
4759
|
/**
|
|
4760
|
+
* @public
|
|
4478
4761
|
* <p>A complex data type that specifies when to forward content if a content type isn't
|
|
4479
4762
|
* recognized and profiles to use as by default in a request if a query argument doesn't
|
|
4480
4763
|
* specify a profile to use.</p>
|
|
@@ -4486,6 +4769,7 @@ export interface FieldLevelEncryptionConfig {
|
|
|
4486
4769
|
*/
|
|
4487
4770
|
export interface CreateFieldLevelEncryptionConfigRequest {
|
|
4488
4771
|
/**
|
|
4772
|
+
* @public
|
|
4489
4773
|
* <p>The request to create a new field-level encryption configuration.</p>
|
|
4490
4774
|
*/
|
|
4491
4775
|
FieldLevelEncryptionConfig: FieldLevelEncryptionConfig | undefined;
|
|
@@ -4497,16 +4781,19 @@ export interface CreateFieldLevelEncryptionConfigRequest {
|
|
|
4497
4781
|
*/
|
|
4498
4782
|
export interface FieldLevelEncryption {
|
|
4499
4783
|
/**
|
|
4784
|
+
* @public
|
|
4500
4785
|
* <p>The configuration ID for a field-level encryption configuration which includes a set
|
|
4501
4786
|
* of profiles that specify certain selected data fields to be encrypted by specific public
|
|
4502
4787
|
* keys.</p>
|
|
4503
4788
|
*/
|
|
4504
4789
|
Id: string | undefined;
|
|
4505
4790
|
/**
|
|
4791
|
+
* @public
|
|
4506
4792
|
* <p>The last time the field-level encryption configuration was changed.</p>
|
|
4507
4793
|
*/
|
|
4508
4794
|
LastModifiedTime: Date | undefined;
|
|
4509
4795
|
/**
|
|
4796
|
+
* @public
|
|
4510
4797
|
* <p>A complex data type that includes the profile configurations specified for field-level
|
|
4511
4798
|
* encryption.</p>
|
|
4512
4799
|
*/
|
|
@@ -4517,14 +4804,17 @@ export interface FieldLevelEncryption {
|
|
|
4517
4804
|
*/
|
|
4518
4805
|
export interface CreateFieldLevelEncryptionConfigResult {
|
|
4519
4806
|
/**
|
|
4807
|
+
* @public
|
|
4520
4808
|
* <p>Returned when you create a new field-level encryption configuration.</p>
|
|
4521
4809
|
*/
|
|
4522
4810
|
FieldLevelEncryption?: FieldLevelEncryption;
|
|
4523
4811
|
/**
|
|
4812
|
+
* @public
|
|
4524
4813
|
* <p>The fully qualified URI of the new configuration resource just created.</p>
|
|
4525
4814
|
*/
|
|
4526
4815
|
Location?: string;
|
|
4527
4816
|
/**
|
|
4817
|
+
* @public
|
|
4528
4818
|
* <p>The current version of the field level encryption configuration. For example:
|
|
4529
4819
|
* <code>E2QWRUHAPOMQZL</code>.</p>
|
|
4530
4820
|
*/
|
|
@@ -4618,10 +4908,12 @@ export declare class TooManyFieldLevelEncryptionQueryArgProfiles extends __BaseE
|
|
|
4618
4908
|
*/
|
|
4619
4909
|
export interface FieldPatterns {
|
|
4620
4910
|
/**
|
|
4911
|
+
* @public
|
|
4621
4912
|
* <p>The number of field-level encryption field patterns.</p>
|
|
4622
4913
|
*/
|
|
4623
4914
|
Quantity: number | undefined;
|
|
4624
4915
|
/**
|
|
4916
|
+
* @public
|
|
4625
4917
|
* <p>An array of the field-level encryption field patterns.</p>
|
|
4626
4918
|
*/
|
|
4627
4919
|
Items?: string[];
|
|
@@ -4633,17 +4925,20 @@ export interface FieldPatterns {
|
|
|
4633
4925
|
*/
|
|
4634
4926
|
export interface EncryptionEntity {
|
|
4635
4927
|
/**
|
|
4928
|
+
* @public
|
|
4636
4929
|
* <p>The public key associated with a set of field-level encryption patterns, to be used
|
|
4637
4930
|
* when encrypting the fields that match the patterns.</p>
|
|
4638
4931
|
*/
|
|
4639
4932
|
PublicKeyId: string | undefined;
|
|
4640
4933
|
/**
|
|
4934
|
+
* @public
|
|
4641
4935
|
* <p>The provider associated with the public key being used for encryption. This value must
|
|
4642
4936
|
* also be provided with the private key for applications to be able to decrypt
|
|
4643
4937
|
* data.</p>
|
|
4644
4938
|
*/
|
|
4645
4939
|
ProviderId: string | undefined;
|
|
4646
4940
|
/**
|
|
4941
|
+
* @public
|
|
4647
4942
|
* <p>Field patterns in a field-level encryption content type profile specify the fields
|
|
4648
4943
|
* that you want to be encrypted. You can provide the full field name, or any beginning
|
|
4649
4944
|
* characters followed by a wildcard (*). You can't overlap field patterns. For example,
|
|
@@ -4658,11 +4953,13 @@ export interface EncryptionEntity {
|
|
|
4658
4953
|
*/
|
|
4659
4954
|
export interface EncryptionEntities {
|
|
4660
4955
|
/**
|
|
4956
|
+
* @public
|
|
4661
4957
|
* <p>Number of field pattern items in a field-level encryption content type-profile
|
|
4662
4958
|
* mapping.</p>
|
|
4663
4959
|
*/
|
|
4664
4960
|
Quantity: number | undefined;
|
|
4665
4961
|
/**
|
|
4962
|
+
* @public
|
|
4666
4963
|
* <p>An array of field patterns in a field-level encryption content type-profile mapping.
|
|
4667
4964
|
* </p>
|
|
4668
4965
|
*/
|
|
@@ -4674,19 +4971,23 @@ export interface EncryptionEntities {
|
|
|
4674
4971
|
*/
|
|
4675
4972
|
export interface FieldLevelEncryptionProfileConfig {
|
|
4676
4973
|
/**
|
|
4974
|
+
* @public
|
|
4677
4975
|
* <p>Profile name for the field-level encryption profile.</p>
|
|
4678
4976
|
*/
|
|
4679
4977
|
Name: string | undefined;
|
|
4680
4978
|
/**
|
|
4979
|
+
* @public
|
|
4681
4980
|
* <p>A unique number that ensures that the request can't be replayed.</p>
|
|
4682
4981
|
*/
|
|
4683
4982
|
CallerReference: string | undefined;
|
|
4684
4983
|
/**
|
|
4984
|
+
* @public
|
|
4685
4985
|
* <p>An optional comment for the field-level encryption profile. The comment cannot be
|
|
4686
4986
|
* longer than 128 characters.</p>
|
|
4687
4987
|
*/
|
|
4688
4988
|
Comment?: string;
|
|
4689
4989
|
/**
|
|
4990
|
+
* @public
|
|
4690
4991
|
* <p>A complex data type of encryption entities for the field-level encryption profile that
|
|
4691
4992
|
* include the public key ID, provider, and field patterns for specifying which fields to
|
|
4692
4993
|
* encrypt with this key.</p>
|
|
@@ -4698,6 +4999,7 @@ export interface FieldLevelEncryptionProfileConfig {
|
|
|
4698
4999
|
*/
|
|
4699
5000
|
export interface CreateFieldLevelEncryptionProfileRequest {
|
|
4700
5001
|
/**
|
|
5002
|
+
* @public
|
|
4701
5003
|
* <p>The request to create a field-level encryption profile.</p>
|
|
4702
5004
|
*/
|
|
4703
5005
|
FieldLevelEncryptionProfileConfig: FieldLevelEncryptionProfileConfig | undefined;
|
|
@@ -4708,16 +5010,19 @@ export interface CreateFieldLevelEncryptionProfileRequest {
|
|
|
4708
5010
|
*/
|
|
4709
5011
|
export interface FieldLevelEncryptionProfile {
|
|
4710
5012
|
/**
|
|
5013
|
+
* @public
|
|
4711
5014
|
* <p>The ID for a field-level encryption profile configuration which includes a set of
|
|
4712
5015
|
* profiles that specify certain selected data fields to be encrypted by specific public
|
|
4713
5016
|
* keys.</p>
|
|
4714
5017
|
*/
|
|
4715
5018
|
Id: string | undefined;
|
|
4716
5019
|
/**
|
|
5020
|
+
* @public
|
|
4717
5021
|
* <p>The last time the field-level encryption profile was updated.</p>
|
|
4718
5022
|
*/
|
|
4719
5023
|
LastModifiedTime: Date | undefined;
|
|
4720
5024
|
/**
|
|
5025
|
+
* @public
|
|
4721
5026
|
* <p>A complex data type that includes the profile name and the encryption entities for the
|
|
4722
5027
|
* field-level encryption profile.</p>
|
|
4723
5028
|
*/
|
|
@@ -4728,14 +5033,17 @@ export interface FieldLevelEncryptionProfile {
|
|
|
4728
5033
|
*/
|
|
4729
5034
|
export interface CreateFieldLevelEncryptionProfileResult {
|
|
4730
5035
|
/**
|
|
5036
|
+
* @public
|
|
4731
5037
|
* <p>Returned when you create a new field-level encryption profile.</p>
|
|
4732
5038
|
*/
|
|
4733
5039
|
FieldLevelEncryptionProfile?: FieldLevelEncryptionProfile;
|
|
4734
5040
|
/**
|
|
5041
|
+
* @public
|
|
4735
5042
|
* <p>The fully qualified URI of the new profile resource just created.</p>
|
|
4736
5043
|
*/
|
|
4737
5044
|
Location?: string;
|
|
4738
5045
|
/**
|
|
5046
|
+
* @public
|
|
4739
5047
|
* <p>The current version of the field level encryption profile. For example:
|
|
4740
5048
|
* <code>E2QWRUHAPOMQZL</code>.</p>
|
|
4741
5049
|
*/
|
|
@@ -4827,6 +5135,7 @@ export declare class TooManyFieldLevelEncryptionProfiles extends __BaseException
|
|
|
4827
5135
|
*/
|
|
4828
5136
|
export declare const FunctionRuntime: {
|
|
4829
5137
|
readonly cloudfront_js_1_0: "cloudfront-js-1.0";
|
|
5138
|
+
readonly cloudfront_js_2_0: "cloudfront-js-2.0";
|
|
4830
5139
|
};
|
|
4831
5140
|
/**
|
|
4832
5141
|
* @public
|
|
@@ -4838,12 +5147,13 @@ export type FunctionRuntime = (typeof FunctionRuntime)[keyof typeof FunctionRunt
|
|
|
4838
5147
|
*/
|
|
4839
5148
|
export interface FunctionConfig {
|
|
4840
5149
|
/**
|
|
5150
|
+
* @public
|
|
4841
5151
|
* <p>A comment to describe the function.</p>
|
|
4842
5152
|
*/
|
|
4843
5153
|
Comment: string | undefined;
|
|
4844
5154
|
/**
|
|
4845
|
-
*
|
|
4846
|
-
*
|
|
5155
|
+
* @public
|
|
5156
|
+
* <p>The function's runtime environment verion.</p>
|
|
4847
5157
|
*/
|
|
4848
5158
|
Runtime: FunctionRuntime | string | undefined;
|
|
4849
5159
|
}
|
|
@@ -4852,15 +5162,18 @@ export interface FunctionConfig {
|
|
|
4852
5162
|
*/
|
|
4853
5163
|
export interface CreateFunctionRequest {
|
|
4854
5164
|
/**
|
|
5165
|
+
* @public
|
|
4855
5166
|
* <p>A name to identify the function.</p>
|
|
4856
5167
|
*/
|
|
4857
5168
|
Name: string | undefined;
|
|
4858
5169
|
/**
|
|
5170
|
+
* @public
|
|
4859
5171
|
* <p>Configuration information about the function, including an optional comment and the
|
|
4860
5172
|
* function's runtime.</p>
|
|
4861
5173
|
*/
|
|
4862
5174
|
FunctionConfig: FunctionConfig | undefined;
|
|
4863
5175
|
/**
|
|
5176
|
+
* @public
|
|
4864
5177
|
* <p>The function code. For more information about writing a CloudFront function, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/writing-function-code.html">Writing
|
|
4865
5178
|
* function code for CloudFront Functions</a> in the
|
|
4866
5179
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
@@ -4885,11 +5198,13 @@ export type FunctionStage = (typeof FunctionStage)[keyof typeof FunctionStage];
|
|
|
4885
5198
|
*/
|
|
4886
5199
|
export interface FunctionMetadata {
|
|
4887
5200
|
/**
|
|
5201
|
+
* @public
|
|
4888
5202
|
* <p>The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the
|
|
4889
5203
|
* function.</p>
|
|
4890
5204
|
*/
|
|
4891
5205
|
FunctionARN: string | undefined;
|
|
4892
5206
|
/**
|
|
5207
|
+
* @public
|
|
4893
5208
|
* <p>The stage that the function is in, either <code>DEVELOPMENT</code> or
|
|
4894
5209
|
* <code>LIVE</code>.</p>
|
|
4895
5210
|
* <p>When a function is in the <code>DEVELOPMENT</code> stage, you can test the function
|
|
@@ -4899,10 +5214,12 @@ export interface FunctionMetadata {
|
|
|
4899
5214
|
*/
|
|
4900
5215
|
Stage?: FunctionStage | string;
|
|
4901
5216
|
/**
|
|
5217
|
+
* @public
|
|
4902
5218
|
* <p>The date and time when the function was created.</p>
|
|
4903
5219
|
*/
|
|
4904
5220
|
CreatedTime?: Date;
|
|
4905
5221
|
/**
|
|
5222
|
+
* @public
|
|
4906
5223
|
* <p>The date and time when the function was most recently updated.</p>
|
|
4907
5224
|
*/
|
|
4908
5225
|
LastModifiedTime: Date | undefined;
|
|
@@ -4913,18 +5230,22 @@ export interface FunctionMetadata {
|
|
|
4913
5230
|
*/
|
|
4914
5231
|
export interface FunctionSummary {
|
|
4915
5232
|
/**
|
|
5233
|
+
* @public
|
|
4916
5234
|
* <p>The name of the CloudFront function.</p>
|
|
4917
5235
|
*/
|
|
4918
5236
|
Name: string | undefined;
|
|
4919
5237
|
/**
|
|
5238
|
+
* @public
|
|
4920
5239
|
* <p>The status of the CloudFront function.</p>
|
|
4921
5240
|
*/
|
|
4922
5241
|
Status?: string;
|
|
4923
5242
|
/**
|
|
5243
|
+
* @public
|
|
4924
5244
|
* <p>Contains configuration information about a CloudFront function.</p>
|
|
4925
5245
|
*/
|
|
4926
5246
|
FunctionConfig: FunctionConfig | undefined;
|
|
4927
5247
|
/**
|
|
5248
|
+
* @public
|
|
4928
5249
|
* <p>Contains metadata about a CloudFront function.</p>
|
|
4929
5250
|
*/
|
|
4930
5251
|
FunctionMetadata: FunctionMetadata | undefined;
|
|
@@ -4934,15 +5255,18 @@ export interface FunctionSummary {
|
|
|
4934
5255
|
*/
|
|
4935
5256
|
export interface CreateFunctionResult {
|
|
4936
5257
|
/**
|
|
5258
|
+
* @public
|
|
4937
5259
|
* <p>Contains configuration information and metadata about a CloudFront function.</p>
|
|
4938
5260
|
*/
|
|
4939
5261
|
FunctionSummary?: FunctionSummary;
|
|
4940
5262
|
/**
|
|
5263
|
+
* @public
|
|
4941
5264
|
* <p>The URL of the CloudFront function. Use the URL to manage the function with the CloudFront
|
|
4942
5265
|
* API.</p>
|
|
4943
5266
|
*/
|
|
4944
5267
|
Location?: string;
|
|
4945
5268
|
/**
|
|
5269
|
+
* @public
|
|
4946
5270
|
* <p>The version identifier for the current version of the CloudFront function.</p>
|
|
4947
5271
|
*/
|
|
4948
5272
|
ETag?: string;
|
|
@@ -5012,11 +5336,13 @@ export declare class UnsupportedOperation extends __BaseException {
|
|
|
5012
5336
|
*/
|
|
5013
5337
|
export interface Paths {
|
|
5014
5338
|
/**
|
|
5339
|
+
* @public
|
|
5015
5340
|
* <p>The number of invalidation paths specified for the objects that you want to
|
|
5016
5341
|
* invalidate.</p>
|
|
5017
5342
|
*/
|
|
5018
5343
|
Quantity: number | undefined;
|
|
5019
5344
|
/**
|
|
5345
|
+
* @public
|
|
5020
5346
|
* <p>A complex type that contains a list of the paths that you want to invalidate.</p>
|
|
5021
5347
|
*/
|
|
5022
5348
|
Items?: string[];
|
|
@@ -5027,12 +5353,14 @@ export interface Paths {
|
|
|
5027
5353
|
*/
|
|
5028
5354
|
export interface InvalidationBatch {
|
|
5029
5355
|
/**
|
|
5356
|
+
* @public
|
|
5030
5357
|
* <p>A complex type that contains information about the objects that you want to
|
|
5031
5358
|
* invalidate. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#invalidation-specifying-objects">Specifying the Objects to Invalidate</a> in the
|
|
5032
5359
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
5033
5360
|
*/
|
|
5034
5361
|
Paths: Paths | undefined;
|
|
5035
5362
|
/**
|
|
5363
|
+
* @public
|
|
5036
5364
|
* <p>A value that you specify to uniquely identify an invalidation request. CloudFront uses the
|
|
5037
5365
|
* value to prevent you from accidentally resubmitting an identical request. Whenever you
|
|
5038
5366
|
* create a new invalidation request, you must specify a new value for
|
|
@@ -5056,10 +5384,12 @@ export interface InvalidationBatch {
|
|
|
5056
5384
|
*/
|
|
5057
5385
|
export interface CreateInvalidationRequest {
|
|
5058
5386
|
/**
|
|
5387
|
+
* @public
|
|
5059
5388
|
* <p>The distribution's id.</p>
|
|
5060
5389
|
*/
|
|
5061
5390
|
DistributionId: string | undefined;
|
|
5062
5391
|
/**
|
|
5392
|
+
* @public
|
|
5063
5393
|
* <p>The batch information for the invalidation.</p>
|
|
5064
5394
|
*/
|
|
5065
5395
|
InvalidationBatch: InvalidationBatch | undefined;
|
|
@@ -5070,20 +5400,24 @@ export interface CreateInvalidationRequest {
|
|
|
5070
5400
|
*/
|
|
5071
5401
|
export interface Invalidation {
|
|
5072
5402
|
/**
|
|
5403
|
+
* @public
|
|
5073
5404
|
* <p>The identifier for the invalidation request. For example:
|
|
5074
5405
|
* <code>IDFDVBD632BHDS5</code>.</p>
|
|
5075
5406
|
*/
|
|
5076
5407
|
Id: string | undefined;
|
|
5077
5408
|
/**
|
|
5409
|
+
* @public
|
|
5078
5410
|
* <p>The status of the invalidation request. When the invalidation batch is finished, the
|
|
5079
5411
|
* status is <code>Completed</code>.</p>
|
|
5080
5412
|
*/
|
|
5081
5413
|
Status: string | undefined;
|
|
5082
5414
|
/**
|
|
5415
|
+
* @public
|
|
5083
5416
|
* <p>The date and time the invalidation request was first made.</p>
|
|
5084
5417
|
*/
|
|
5085
5418
|
CreateTime: Date | undefined;
|
|
5086
5419
|
/**
|
|
5420
|
+
* @public
|
|
5087
5421
|
* <p>The current invalidation information for the batch request.</p>
|
|
5088
5422
|
*/
|
|
5089
5423
|
InvalidationBatch: InvalidationBatch | undefined;
|
|
@@ -5094,11 +5428,13 @@ export interface Invalidation {
|
|
|
5094
5428
|
*/
|
|
5095
5429
|
export interface CreateInvalidationResult {
|
|
5096
5430
|
/**
|
|
5431
|
+
* @public
|
|
5097
5432
|
* <p>The fully qualified URI of the distribution and invalidation batch request, including
|
|
5098
5433
|
* the <code>Invalidation ID</code>.</p>
|
|
5099
5434
|
*/
|
|
5100
5435
|
Location?: string;
|
|
5101
5436
|
/**
|
|
5437
|
+
* @public
|
|
5102
5438
|
* <p>The invalidation's information.</p>
|
|
5103
5439
|
*/
|
|
5104
5440
|
Invalidation?: Invalidation;
|
|
@@ -5124,14 +5460,17 @@ export declare class TooManyInvalidationsInProgress extends __BaseException {
|
|
|
5124
5460
|
*/
|
|
5125
5461
|
export interface KeyGroupConfig {
|
|
5126
5462
|
/**
|
|
5463
|
+
* @public
|
|
5127
5464
|
* <p>A name to identify the key group.</p>
|
|
5128
5465
|
*/
|
|
5129
5466
|
Name: string | undefined;
|
|
5130
5467
|
/**
|
|
5468
|
+
* @public
|
|
5131
5469
|
* <p>A list of the identifiers of the public keys in the key group.</p>
|
|
5132
5470
|
*/
|
|
5133
5471
|
Items: string[] | undefined;
|
|
5134
5472
|
/**
|
|
5473
|
+
* @public
|
|
5135
5474
|
* <p>A comment to describe the key group. The comment cannot be longer than 128
|
|
5136
5475
|
* characters.</p>
|
|
5137
5476
|
*/
|
|
@@ -5142,6 +5481,7 @@ export interface KeyGroupConfig {
|
|
|
5142
5481
|
*/
|
|
5143
5482
|
export interface CreateKeyGroupRequest {
|
|
5144
5483
|
/**
|
|
5484
|
+
* @public
|
|
5145
5485
|
* <p>A key group configuration.</p>
|
|
5146
5486
|
*/
|
|
5147
5487
|
KeyGroupConfig: KeyGroupConfig | undefined;
|
|
@@ -5153,14 +5493,17 @@ export interface CreateKeyGroupRequest {
|
|
|
5153
5493
|
*/
|
|
5154
5494
|
export interface KeyGroup {
|
|
5155
5495
|
/**
|
|
5496
|
+
* @public
|
|
5156
5497
|
* <p>The identifier for the key group.</p>
|
|
5157
5498
|
*/
|
|
5158
5499
|
Id: string | undefined;
|
|
5159
5500
|
/**
|
|
5501
|
+
* @public
|
|
5160
5502
|
* <p>The date and time when the key group was last modified.</p>
|
|
5161
5503
|
*/
|
|
5162
5504
|
LastModifiedTime: Date | undefined;
|
|
5163
5505
|
/**
|
|
5506
|
+
* @public
|
|
5164
5507
|
* <p>The key group configuration.</p>
|
|
5165
5508
|
*/
|
|
5166
5509
|
KeyGroupConfig: KeyGroupConfig | undefined;
|
|
@@ -5170,14 +5513,17 @@ export interface KeyGroup {
|
|
|
5170
5513
|
*/
|
|
5171
5514
|
export interface CreateKeyGroupResult {
|
|
5172
5515
|
/**
|
|
5516
|
+
* @public
|
|
5173
5517
|
* <p>The key group that was just created.</p>
|
|
5174
5518
|
*/
|
|
5175
5519
|
KeyGroup?: KeyGroup;
|
|
5176
5520
|
/**
|
|
5521
|
+
* @public
|
|
5177
5522
|
* <p>The URL of the key group.</p>
|
|
5178
5523
|
*/
|
|
5179
5524
|
Location?: string;
|
|
5180
5525
|
/**
|
|
5526
|
+
* @public
|
|
5181
5527
|
* <p>The identifier for this version of the key group.</p>
|
|
5182
5528
|
*/
|
|
5183
5529
|
ETag?: string;
|
|
@@ -5244,6 +5590,7 @@ export type RealtimeMetricsSubscriptionStatus = (typeof RealtimeMetricsSubscript
|
|
|
5244
5590
|
*/
|
|
5245
5591
|
export interface RealtimeMetricsSubscriptionConfig {
|
|
5246
5592
|
/**
|
|
5593
|
+
* @public
|
|
5247
5594
|
* <p>A flag that indicates whether additional CloudWatch metrics are enabled for a given
|
|
5248
5595
|
* CloudFront distribution.</p>
|
|
5249
5596
|
*/
|
|
@@ -5256,6 +5603,7 @@ export interface RealtimeMetricsSubscriptionConfig {
|
|
|
5256
5603
|
*/
|
|
5257
5604
|
export interface MonitoringSubscription {
|
|
5258
5605
|
/**
|
|
5606
|
+
* @public
|
|
5259
5607
|
* <p>A subscription configuration for additional CloudWatch metrics.</p>
|
|
5260
5608
|
*/
|
|
5261
5609
|
RealtimeMetricsSubscriptionConfig?: RealtimeMetricsSubscriptionConfig;
|
|
@@ -5265,10 +5613,12 @@ export interface MonitoringSubscription {
|
|
|
5265
5613
|
*/
|
|
5266
5614
|
export interface CreateMonitoringSubscriptionRequest {
|
|
5267
5615
|
/**
|
|
5616
|
+
* @public
|
|
5268
5617
|
* <p>The ID of the distribution that you are enabling metrics for.</p>
|
|
5269
5618
|
*/
|
|
5270
5619
|
DistributionId: string | undefined;
|
|
5271
5620
|
/**
|
|
5621
|
+
* @public
|
|
5272
5622
|
* <p>A monitoring subscription. This structure contains information about whether
|
|
5273
5623
|
* additional CloudWatch metrics are enabled for a given CloudFront distribution.</p>
|
|
5274
5624
|
*/
|
|
@@ -5279,6 +5629,7 @@ export interface CreateMonitoringSubscriptionRequest {
|
|
|
5279
5629
|
*/
|
|
5280
5630
|
export interface CreateMonitoringSubscriptionResult {
|
|
5281
5631
|
/**
|
|
5632
|
+
* @public
|
|
5282
5633
|
* <p>A monitoring subscription. This structure contains information about whether
|
|
5283
5634
|
* additional CloudWatch metrics are enabled for a given CloudFront distribution.</p>
|
|
5284
5635
|
*/
|
|
@@ -5339,19 +5690,23 @@ export type OriginAccessControlSigningProtocols = (typeof OriginAccessControlSig
|
|
|
5339
5690
|
*/
|
|
5340
5691
|
export interface OriginAccessControlConfig {
|
|
5341
5692
|
/**
|
|
5693
|
+
* @public
|
|
5342
5694
|
* <p>A name to identify the origin access control.</p>
|
|
5343
5695
|
*/
|
|
5344
5696
|
Name: string | undefined;
|
|
5345
5697
|
/**
|
|
5698
|
+
* @public
|
|
5346
5699
|
* <p>A description of the origin access control.</p>
|
|
5347
5700
|
*/
|
|
5348
5701
|
Description?: string;
|
|
5349
5702
|
/**
|
|
5703
|
+
* @public
|
|
5350
5704
|
* <p>The signing protocol of the origin access control, which determines how CloudFront signs
|
|
5351
5705
|
* (authenticates) requests. The only valid value is <code>sigv4</code>.</p>
|
|
5352
5706
|
*/
|
|
5353
5707
|
SigningProtocol: OriginAccessControlSigningProtocols | string | undefined;
|
|
5354
5708
|
/**
|
|
5709
|
+
* @public
|
|
5355
5710
|
* <p>Specifies which requests CloudFront signs (adds authentication information to). Specify
|
|
5356
5711
|
* <code>always</code> for the most common use case. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html#oac-advanced-settings">origin access control advanced settings</a> in the
|
|
5357
5712
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
@@ -5385,6 +5740,7 @@ export interface OriginAccessControlConfig {
|
|
|
5385
5740
|
*/
|
|
5386
5741
|
SigningBehavior: OriginAccessControlSigningBehaviors | string | undefined;
|
|
5387
5742
|
/**
|
|
5743
|
+
* @public
|
|
5388
5744
|
* <p>The type of origin that this origin access control is for.</p>
|
|
5389
5745
|
*/
|
|
5390
5746
|
OriginAccessControlOriginType: OriginAccessControlOriginTypes | string | undefined;
|
|
@@ -5394,6 +5750,7 @@ export interface OriginAccessControlConfig {
|
|
|
5394
5750
|
*/
|
|
5395
5751
|
export interface CreateOriginAccessControlRequest {
|
|
5396
5752
|
/**
|
|
5753
|
+
* @public
|
|
5397
5754
|
* <p>Contains the origin access control.</p>
|
|
5398
5755
|
*/
|
|
5399
5756
|
OriginAccessControlConfig: OriginAccessControlConfig | undefined;
|
|
@@ -5404,10 +5761,12 @@ export interface CreateOriginAccessControlRequest {
|
|
|
5404
5761
|
*/
|
|
5405
5762
|
export interface OriginAccessControl {
|
|
5406
5763
|
/**
|
|
5764
|
+
* @public
|
|
5407
5765
|
* <p>The unique identifier of the origin access control.</p>
|
|
5408
5766
|
*/
|
|
5409
5767
|
Id: string | undefined;
|
|
5410
5768
|
/**
|
|
5769
|
+
* @public
|
|
5411
5770
|
* <p>The origin access control.</p>
|
|
5412
5771
|
*/
|
|
5413
5772
|
OriginAccessControlConfig?: OriginAccessControlConfig;
|
|
@@ -5417,14 +5776,17 @@ export interface OriginAccessControl {
|
|
|
5417
5776
|
*/
|
|
5418
5777
|
export interface CreateOriginAccessControlResult {
|
|
5419
5778
|
/**
|
|
5779
|
+
* @public
|
|
5420
5780
|
* <p>Contains an origin access control.</p>
|
|
5421
5781
|
*/
|
|
5422
5782
|
OriginAccessControl?: OriginAccessControl;
|
|
5423
5783
|
/**
|
|
5784
|
+
* @public
|
|
5424
5785
|
* <p>The URL of the origin access control.</p>
|
|
5425
5786
|
*/
|
|
5426
5787
|
Location?: string;
|
|
5427
5788
|
/**
|
|
5789
|
+
* @public
|
|
5428
5790
|
* <p>The version identifier for the current version of the origin access control.</p>
|
|
5429
5791
|
*/
|
|
5430
5792
|
ETag?: string;
|
|
@@ -5479,6 +5841,7 @@ export type OriginRequestPolicyCookieBehavior = (typeof OriginRequestPolicyCooki
|
|
|
5479
5841
|
*/
|
|
5480
5842
|
export interface OriginRequestPolicyCookiesConfig {
|
|
5481
5843
|
/**
|
|
5844
|
+
* @public
|
|
5482
5845
|
* <p>Determines whether cookies in viewer requests are included in requests that CloudFront sends
|
|
5483
5846
|
* to the origin. Valid values are:</p>
|
|
5484
5847
|
* <ul>
|
|
@@ -5513,6 +5876,7 @@ export interface OriginRequestPolicyCookiesConfig {
|
|
|
5513
5876
|
*/
|
|
5514
5877
|
CookieBehavior: OriginRequestPolicyCookieBehavior | string | undefined;
|
|
5515
5878
|
/**
|
|
5879
|
+
* @public
|
|
5516
5880
|
* <p>Contains a list of cookie names.</p>
|
|
5517
5881
|
*/
|
|
5518
5882
|
Cookies?: CookieNames;
|
|
@@ -5539,6 +5903,7 @@ export type OriginRequestPolicyHeaderBehavior = (typeof OriginRequestPolicyHeade
|
|
|
5539
5903
|
*/
|
|
5540
5904
|
export interface OriginRequestPolicyHeadersConfig {
|
|
5541
5905
|
/**
|
|
5906
|
+
* @public
|
|
5542
5907
|
* <p>Determines whether any HTTP headers are included in requests that CloudFront sends to the
|
|
5543
5908
|
* origin. Valid values are:</p>
|
|
5544
5909
|
* <ul>
|
|
@@ -5579,6 +5944,7 @@ export interface OriginRequestPolicyHeadersConfig {
|
|
|
5579
5944
|
*/
|
|
5580
5945
|
HeaderBehavior: OriginRequestPolicyHeaderBehavior | string | undefined;
|
|
5581
5946
|
/**
|
|
5947
|
+
* @public
|
|
5582
5948
|
* <p>Contains a list of HTTP header names.</p>
|
|
5583
5949
|
*/
|
|
5584
5950
|
Headers?: Headers;
|
|
@@ -5604,6 +5970,7 @@ export type OriginRequestPolicyQueryStringBehavior = (typeof OriginRequestPolicy
|
|
|
5604
5970
|
*/
|
|
5605
5971
|
export interface OriginRequestPolicyQueryStringsConfig {
|
|
5606
5972
|
/**
|
|
5973
|
+
* @public
|
|
5607
5974
|
* <p>Determines whether any URL query strings in viewer requests are included in requests
|
|
5608
5975
|
* that CloudFront sends to the origin. Valid values are:</p>
|
|
5609
5976
|
* <ul>
|
|
@@ -5638,6 +6005,7 @@ export interface OriginRequestPolicyQueryStringsConfig {
|
|
|
5638
6005
|
*/
|
|
5639
6006
|
QueryStringBehavior: OriginRequestPolicyQueryStringBehavior | string | undefined;
|
|
5640
6007
|
/**
|
|
6008
|
+
* @public
|
|
5641
6009
|
* <p>Contains the specific query strings in viewer requests that either <i>
|
|
5642
6010
|
* <b>are</b>
|
|
5643
6011
|
* </i> or <i>
|
|
@@ -5684,24 +6052,29 @@ export interface OriginRequestPolicyQueryStringsConfig {
|
|
|
5684
6052
|
*/
|
|
5685
6053
|
export interface OriginRequestPolicyConfig {
|
|
5686
6054
|
/**
|
|
6055
|
+
* @public
|
|
5687
6056
|
* <p>A comment to describe the origin request policy. The comment cannot be longer than 128
|
|
5688
6057
|
* characters.</p>
|
|
5689
6058
|
*/
|
|
5690
6059
|
Comment?: string;
|
|
5691
6060
|
/**
|
|
6061
|
+
* @public
|
|
5692
6062
|
* <p>A unique name to identify the origin request policy.</p>
|
|
5693
6063
|
*/
|
|
5694
6064
|
Name: string | undefined;
|
|
5695
6065
|
/**
|
|
6066
|
+
* @public
|
|
5696
6067
|
* <p>The HTTP headers to include in origin requests. These can include headers from viewer
|
|
5697
6068
|
* requests and additional headers added by CloudFront.</p>
|
|
5698
6069
|
*/
|
|
5699
6070
|
HeadersConfig: OriginRequestPolicyHeadersConfig | undefined;
|
|
5700
6071
|
/**
|
|
6072
|
+
* @public
|
|
5701
6073
|
* <p>The cookies from viewer requests to include in origin requests.</p>
|
|
5702
6074
|
*/
|
|
5703
6075
|
CookiesConfig: OriginRequestPolicyCookiesConfig | undefined;
|
|
5704
6076
|
/**
|
|
6077
|
+
* @public
|
|
5705
6078
|
* <p>The URL query strings from viewer requests to include in origin requests.</p>
|
|
5706
6079
|
*/
|
|
5707
6080
|
QueryStringsConfig: OriginRequestPolicyQueryStringsConfig | undefined;
|
|
@@ -5711,6 +6084,7 @@ export interface OriginRequestPolicyConfig {
|
|
|
5711
6084
|
*/
|
|
5712
6085
|
export interface CreateOriginRequestPolicyRequest {
|
|
5713
6086
|
/**
|
|
6087
|
+
* @public
|
|
5714
6088
|
* <p>An origin request policy configuration.</p>
|
|
5715
6089
|
*/
|
|
5716
6090
|
OriginRequestPolicyConfig: OriginRequestPolicyConfig | undefined;
|
|
@@ -5744,14 +6118,17 @@ export interface CreateOriginRequestPolicyRequest {
|
|
|
5744
6118
|
*/
|
|
5745
6119
|
export interface OriginRequestPolicy {
|
|
5746
6120
|
/**
|
|
6121
|
+
* @public
|
|
5747
6122
|
* <p>The unique identifier for the origin request policy.</p>
|
|
5748
6123
|
*/
|
|
5749
6124
|
Id: string | undefined;
|
|
5750
6125
|
/**
|
|
6126
|
+
* @public
|
|
5751
6127
|
* <p>The date and time when the origin request policy was last modified.</p>
|
|
5752
6128
|
*/
|
|
5753
6129
|
LastModifiedTime: Date | undefined;
|
|
5754
6130
|
/**
|
|
6131
|
+
* @public
|
|
5755
6132
|
* <p>The origin request policy configuration.</p>
|
|
5756
6133
|
*/
|
|
5757
6134
|
OriginRequestPolicyConfig: OriginRequestPolicyConfig | undefined;
|
|
@@ -5761,14 +6138,17 @@ export interface OriginRequestPolicy {
|
|
|
5761
6138
|
*/
|
|
5762
6139
|
export interface CreateOriginRequestPolicyResult {
|
|
5763
6140
|
/**
|
|
6141
|
+
* @public
|
|
5764
6142
|
* <p>An origin request policy.</p>
|
|
5765
6143
|
*/
|
|
5766
6144
|
OriginRequestPolicy?: OriginRequestPolicy;
|
|
5767
6145
|
/**
|
|
6146
|
+
* @public
|
|
5768
6147
|
* <p>The fully qualified URI of the origin request policy just created.</p>
|
|
5769
6148
|
*/
|
|
5770
6149
|
Location?: string;
|
|
5771
6150
|
/**
|
|
6151
|
+
* @public
|
|
5772
6152
|
* <p>The current version of the origin request policy.</p>
|
|
5773
6153
|
*/
|
|
5774
6154
|
ETag?: string;
|
|
@@ -5854,19 +6234,23 @@ export declare class TooManyQueryStringsInOriginRequestPolicy extends __BaseExce
|
|
|
5854
6234
|
*/
|
|
5855
6235
|
export interface PublicKeyConfig {
|
|
5856
6236
|
/**
|
|
6237
|
+
* @public
|
|
5857
6238
|
* <p>A string included in the request to help make sure that the request can't be
|
|
5858
6239
|
* replayed.</p>
|
|
5859
6240
|
*/
|
|
5860
6241
|
CallerReference: string | undefined;
|
|
5861
6242
|
/**
|
|
6243
|
+
* @public
|
|
5862
6244
|
* <p>A name to help identify the public key.</p>
|
|
5863
6245
|
*/
|
|
5864
6246
|
Name: string | undefined;
|
|
5865
6247
|
/**
|
|
6248
|
+
* @public
|
|
5866
6249
|
* <p>The public key that you can use with <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">signed URLs and signed cookies</a>, or with <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html">field-level encryption</a>.</p>
|
|
5867
6250
|
*/
|
|
5868
6251
|
EncodedKey: string | undefined;
|
|
5869
6252
|
/**
|
|
6253
|
+
* @public
|
|
5870
6254
|
* <p>A comment to describe the public key. The comment cannot be longer than 128
|
|
5871
6255
|
* characters.</p>
|
|
5872
6256
|
*/
|
|
@@ -5877,6 +6261,7 @@ export interface PublicKeyConfig {
|
|
|
5877
6261
|
*/
|
|
5878
6262
|
export interface CreatePublicKeyRequest {
|
|
5879
6263
|
/**
|
|
6264
|
+
* @public
|
|
5880
6265
|
* <p>A CloudFront public key configuration.</p>
|
|
5881
6266
|
*/
|
|
5882
6267
|
PublicKeyConfig: PublicKeyConfig | undefined;
|
|
@@ -5887,14 +6272,17 @@ export interface CreatePublicKeyRequest {
|
|
|
5887
6272
|
*/
|
|
5888
6273
|
export interface PublicKey {
|
|
5889
6274
|
/**
|
|
6275
|
+
* @public
|
|
5890
6276
|
* <p>The identifier of the public key.</p>
|
|
5891
6277
|
*/
|
|
5892
6278
|
Id: string | undefined;
|
|
5893
6279
|
/**
|
|
6280
|
+
* @public
|
|
5894
6281
|
* <p>The date and time when the public key was uploaded.</p>
|
|
5895
6282
|
*/
|
|
5896
6283
|
CreatedTime: Date | undefined;
|
|
5897
6284
|
/**
|
|
6285
|
+
* @public
|
|
5898
6286
|
* <p>Configuration information about a public key that you can use with <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">signed URLs and signed cookies</a>, or with <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html">field-level encryption</a>.</p>
|
|
5899
6287
|
*/
|
|
5900
6288
|
PublicKeyConfig: PublicKeyConfig | undefined;
|
|
@@ -5904,14 +6292,17 @@ export interface PublicKey {
|
|
|
5904
6292
|
*/
|
|
5905
6293
|
export interface CreatePublicKeyResult {
|
|
5906
6294
|
/**
|
|
6295
|
+
* @public
|
|
5907
6296
|
* <p>The public key.</p>
|
|
5908
6297
|
*/
|
|
5909
6298
|
PublicKey?: PublicKey;
|
|
5910
6299
|
/**
|
|
6300
|
+
* @public
|
|
5911
6301
|
* <p>The URL of the public key.</p>
|
|
5912
6302
|
*/
|
|
5913
6303
|
Location?: string;
|
|
5914
6304
|
/**
|
|
6305
|
+
* @public
|
|
5915
6306
|
* <p>The identifier for this version of the public key.</p>
|
|
5916
6307
|
*/
|
|
5917
6308
|
ETag?: string;
|
|
@@ -5950,6 +6341,7 @@ export declare class TooManyPublicKeys extends __BaseException {
|
|
|
5950
6341
|
*/
|
|
5951
6342
|
export interface KinesisStreamConfig {
|
|
5952
6343
|
/**
|
|
6344
|
+
* @public
|
|
5953
6345
|
* <p>The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFront can use to
|
|
5954
6346
|
* send real-time log data to your Kinesis data stream.</p>
|
|
5955
6347
|
* <p>For more information the IAM role, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-iam-role">Real-time log configuration IAM role</a> in the
|
|
@@ -5957,6 +6349,7 @@ export interface KinesisStreamConfig {
|
|
|
5957
6349
|
*/
|
|
5958
6350
|
RoleARN: string | undefined;
|
|
5959
6351
|
/**
|
|
6352
|
+
* @public
|
|
5960
6353
|
* <p>The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending
|
|
5961
6354
|
* real-time log data.</p>
|
|
5962
6355
|
*/
|
|
@@ -5969,11 +6362,13 @@ export interface KinesisStreamConfig {
|
|
|
5969
6362
|
*/
|
|
5970
6363
|
export interface EndPoint {
|
|
5971
6364
|
/**
|
|
6365
|
+
* @public
|
|
5972
6366
|
* <p>The type of data stream where you are sending real-time log data. The only valid value
|
|
5973
6367
|
* is <code>Kinesis</code>.</p>
|
|
5974
6368
|
*/
|
|
5975
6369
|
StreamType: string | undefined;
|
|
5976
6370
|
/**
|
|
6371
|
+
* @public
|
|
5977
6372
|
* <p>Contains information about the Amazon Kinesis data stream where you are sending real-time
|
|
5978
6373
|
* log data.</p>
|
|
5979
6374
|
*/
|
|
@@ -5984,21 +6379,25 @@ export interface EndPoint {
|
|
|
5984
6379
|
*/
|
|
5985
6380
|
export interface CreateRealtimeLogConfigRequest {
|
|
5986
6381
|
/**
|
|
6382
|
+
* @public
|
|
5987
6383
|
* <p>Contains information about the Amazon Kinesis data stream where you are sending real-time
|
|
5988
6384
|
* log data.</p>
|
|
5989
6385
|
*/
|
|
5990
6386
|
EndPoints: EndPoint[] | undefined;
|
|
5991
6387
|
/**
|
|
6388
|
+
* @public
|
|
5992
6389
|
* <p>A list of fields to include in each real-time log record.</p>
|
|
5993
6390
|
* <p>For more information about fields, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields">Real-time log configuration fields</a> in the
|
|
5994
6391
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
5995
6392
|
*/
|
|
5996
6393
|
Fields: string[] | undefined;
|
|
5997
6394
|
/**
|
|
6395
|
+
* @public
|
|
5998
6396
|
* <p>A unique name to identify this real-time log configuration.</p>
|
|
5999
6397
|
*/
|
|
6000
6398
|
Name: string | undefined;
|
|
6001
6399
|
/**
|
|
6400
|
+
* @public
|
|
6002
6401
|
* <p>The sampling rate for this real-time log configuration. The sampling rate determines
|
|
6003
6402
|
* the percentage of viewer requests that are represented in the real-time log data. You
|
|
6004
6403
|
* must provide an integer between 1 and 100, inclusive.</p>
|
|
@@ -6011,25 +6410,30 @@ export interface CreateRealtimeLogConfigRequest {
|
|
|
6011
6410
|
*/
|
|
6012
6411
|
export interface RealtimeLogConfig {
|
|
6013
6412
|
/**
|
|
6413
|
+
* @public
|
|
6014
6414
|
* <p>The Amazon Resource Name (ARN) of this real-time log configuration.</p>
|
|
6015
6415
|
*/
|
|
6016
6416
|
ARN: string | undefined;
|
|
6017
6417
|
/**
|
|
6418
|
+
* @public
|
|
6018
6419
|
* <p>The unique name of this real-time log configuration.</p>
|
|
6019
6420
|
*/
|
|
6020
6421
|
Name: string | undefined;
|
|
6021
6422
|
/**
|
|
6423
|
+
* @public
|
|
6022
6424
|
* <p>The sampling rate for this real-time log configuration. The sampling rate determines
|
|
6023
6425
|
* the percentage of viewer requests that are represented in the real-time log data. The
|
|
6024
6426
|
* sampling rate is an integer between 1 and 100, inclusive.</p>
|
|
6025
6427
|
*/
|
|
6026
6428
|
SamplingRate: number | undefined;
|
|
6027
6429
|
/**
|
|
6430
|
+
* @public
|
|
6028
6431
|
* <p>Contains information about the Amazon Kinesis data stream where you are sending real-time
|
|
6029
6432
|
* log data for this real-time log configuration.</p>
|
|
6030
6433
|
*/
|
|
6031
6434
|
EndPoints: EndPoint[] | undefined;
|
|
6032
6435
|
/**
|
|
6436
|
+
* @public
|
|
6033
6437
|
* <p>A list of fields that are included in each real-time log record. In an API response,
|
|
6034
6438
|
* the fields are provided in the same order in which they are sent to the Amazon Kinesis data
|
|
6035
6439
|
* stream.</p>
|
|
@@ -6043,6 +6447,7 @@ export interface RealtimeLogConfig {
|
|
|
6043
6447
|
*/
|
|
6044
6448
|
export interface CreateRealtimeLogConfigResult {
|
|
6045
6449
|
/**
|
|
6450
|
+
* @public
|
|
6046
6451
|
* <p>A real-time log configuration.</p>
|
|
6047
6452
|
*/
|
|
6048
6453
|
RealtimeLogConfig?: RealtimeLogConfig;
|
|
@@ -6086,10 +6491,12 @@ export declare class TooManyRealtimeLogConfigs extends __BaseException {
|
|
|
6086
6491
|
*/
|
|
6087
6492
|
export interface ResponseHeadersPolicyAccessControlAllowHeaders {
|
|
6088
6493
|
/**
|
|
6494
|
+
* @public
|
|
6089
6495
|
* <p>The number of HTTP header names in the list.</p>
|
|
6090
6496
|
*/
|
|
6091
6497
|
Quantity: number | undefined;
|
|
6092
6498
|
/**
|
|
6499
|
+
* @public
|
|
6093
6500
|
* <p>The list of HTTP header names. You can specify <code>*</code> to allow all
|
|
6094
6501
|
* headers.</p>
|
|
6095
6502
|
*/
|
|
@@ -6104,10 +6511,12 @@ export interface ResponseHeadersPolicyAccessControlAllowHeaders {
|
|
|
6104
6511
|
*/
|
|
6105
6512
|
export interface ResponseHeadersPolicyAccessControlAllowMethods {
|
|
6106
6513
|
/**
|
|
6514
|
+
* @public
|
|
6107
6515
|
* <p>The number of HTTP methods in the list.</p>
|
|
6108
6516
|
*/
|
|
6109
6517
|
Quantity: number | undefined;
|
|
6110
6518
|
/**
|
|
6519
|
+
* @public
|
|
6111
6520
|
* <p>The list of HTTP methods. Valid values are:</p>
|
|
6112
6521
|
* <ul>
|
|
6113
6522
|
* <li>
|
|
@@ -6166,10 +6575,12 @@ export interface ResponseHeadersPolicyAccessControlAllowMethods {
|
|
|
6166
6575
|
*/
|
|
6167
6576
|
export interface ResponseHeadersPolicyAccessControlAllowOrigins {
|
|
6168
6577
|
/**
|
|
6578
|
+
* @public
|
|
6169
6579
|
* <p>The number of origins in the list.</p>
|
|
6170
6580
|
*/
|
|
6171
6581
|
Quantity: number | undefined;
|
|
6172
6582
|
/**
|
|
6583
|
+
* @public
|
|
6173
6584
|
* <p>The list of origins (domain names). You can specify <code>*</code> to allow all
|
|
6174
6585
|
* origins.</p>
|
|
6175
6586
|
*/
|
|
@@ -6184,10 +6595,12 @@ export interface ResponseHeadersPolicyAccessControlAllowOrigins {
|
|
|
6184
6595
|
*/
|
|
6185
6596
|
export interface ResponseHeadersPolicyAccessControlExposeHeaders {
|
|
6186
6597
|
/**
|
|
6598
|
+
* @public
|
|
6187
6599
|
* <p>The number of HTTP headers in the list.</p>
|
|
6188
6600
|
*/
|
|
6189
6601
|
Quantity: number | undefined;
|
|
6190
6602
|
/**
|
|
6603
|
+
* @public
|
|
6191
6604
|
* <p>The list of HTTP headers. You can specify <code>*</code> to expose all headers.</p>
|
|
6192
6605
|
*/
|
|
6193
6606
|
Items?: string[];
|
|
@@ -6203,6 +6616,7 @@ export interface ResponseHeadersPolicyAccessControlExposeHeaders {
|
|
|
6203
6616
|
*/
|
|
6204
6617
|
export interface ResponseHeadersPolicyCorsConfig {
|
|
6205
6618
|
/**
|
|
6619
|
+
* @public
|
|
6206
6620
|
* <p>A list of origins (domain names) that CloudFront can use as the value for the
|
|
6207
6621
|
* <code>Access-Control-Allow-Origin</code> HTTP response header.</p>
|
|
6208
6622
|
* <p>For more information about the <code>Access-Control-Allow-Origin</code> HTTP response
|
|
@@ -6210,6 +6624,7 @@ export interface ResponseHeadersPolicyCorsConfig {
|
|
|
6210
6624
|
*/
|
|
6211
6625
|
AccessControlAllowOrigins: ResponseHeadersPolicyAccessControlAllowOrigins | undefined;
|
|
6212
6626
|
/**
|
|
6627
|
+
* @public
|
|
6213
6628
|
* <p>A list of HTTP header names that CloudFront includes as values for the
|
|
6214
6629
|
* <code>Access-Control-Allow-Headers</code> HTTP response header.</p>
|
|
6215
6630
|
* <p>For more information about the <code>Access-Control-Allow-Headers</code> HTTP response
|
|
@@ -6217,6 +6632,7 @@ export interface ResponseHeadersPolicyCorsConfig {
|
|
|
6217
6632
|
*/
|
|
6218
6633
|
AccessControlAllowHeaders: ResponseHeadersPolicyAccessControlAllowHeaders | undefined;
|
|
6219
6634
|
/**
|
|
6635
|
+
* @public
|
|
6220
6636
|
* <p>A list of HTTP methods that CloudFront includes as values for the
|
|
6221
6637
|
* <code>Access-Control-Allow-Methods</code> HTTP response header.</p>
|
|
6222
6638
|
* <p>For more information about the <code>Access-Control-Allow-Methods</code> HTTP response
|
|
@@ -6224,6 +6640,7 @@ export interface ResponseHeadersPolicyCorsConfig {
|
|
|
6224
6640
|
*/
|
|
6225
6641
|
AccessControlAllowMethods: ResponseHeadersPolicyAccessControlAllowMethods | undefined;
|
|
6226
6642
|
/**
|
|
6643
|
+
* @public
|
|
6227
6644
|
* <p>A Boolean that CloudFront uses as the value for the
|
|
6228
6645
|
* <code>Access-Control-Allow-Credentials</code> HTTP response header.</p>
|
|
6229
6646
|
* <p>For more information about the <code>Access-Control-Allow-Credentials</code> HTTP
|
|
@@ -6231,6 +6648,7 @@ export interface ResponseHeadersPolicyCorsConfig {
|
|
|
6231
6648
|
*/
|
|
6232
6649
|
AccessControlAllowCredentials: boolean | undefined;
|
|
6233
6650
|
/**
|
|
6651
|
+
* @public
|
|
6234
6652
|
* <p>A list of HTTP headers that CloudFront includes as values for the
|
|
6235
6653
|
* <code>Access-Control-Expose-Headers</code> HTTP response header.</p>
|
|
6236
6654
|
* <p>For more information about the <code>Access-Control-Expose-Headers</code> HTTP
|
|
@@ -6238,6 +6656,7 @@ export interface ResponseHeadersPolicyCorsConfig {
|
|
|
6238
6656
|
*/
|
|
6239
6657
|
AccessControlExposeHeaders?: ResponseHeadersPolicyAccessControlExposeHeaders;
|
|
6240
6658
|
/**
|
|
6659
|
+
* @public
|
|
6241
6660
|
* <p>A number that CloudFront uses as the value for the <code>Access-Control-Max-Age</code> HTTP
|
|
6242
6661
|
* response header.</p>
|
|
6243
6662
|
* <p>For more information about the <code>Access-Control-Max-Age</code> HTTP response
|
|
@@ -6245,6 +6664,7 @@ export interface ResponseHeadersPolicyCorsConfig {
|
|
|
6245
6664
|
*/
|
|
6246
6665
|
AccessControlMaxAgeSec?: number;
|
|
6247
6666
|
/**
|
|
6667
|
+
* @public
|
|
6248
6668
|
* <p>A Boolean that determines whether CloudFront overrides HTTP response headers received from
|
|
6249
6669
|
* the origin with the ones specified in this response headers policy.</p>
|
|
6250
6670
|
*/
|
|
@@ -6258,14 +6678,17 @@ export interface ResponseHeadersPolicyCorsConfig {
|
|
|
6258
6678
|
*/
|
|
6259
6679
|
export interface ResponseHeadersPolicyCustomHeader {
|
|
6260
6680
|
/**
|
|
6681
|
+
* @public
|
|
6261
6682
|
* <p>The HTTP response header name.</p>
|
|
6262
6683
|
*/
|
|
6263
6684
|
Header: string | undefined;
|
|
6264
6685
|
/**
|
|
6686
|
+
* @public
|
|
6265
6687
|
* <p>The value for the HTTP response header.</p>
|
|
6266
6688
|
*/
|
|
6267
6689
|
Value: string | undefined;
|
|
6268
6690
|
/**
|
|
6691
|
+
* @public
|
|
6269
6692
|
* <p>A Boolean that determines whether CloudFront overrides a response header with the same name
|
|
6270
6693
|
* received from the origin with the header specified here.</p>
|
|
6271
6694
|
*/
|
|
@@ -6279,10 +6702,12 @@ export interface ResponseHeadersPolicyCustomHeader {
|
|
|
6279
6702
|
*/
|
|
6280
6703
|
export interface ResponseHeadersPolicyCustomHeadersConfig {
|
|
6281
6704
|
/**
|
|
6705
|
+
* @public
|
|
6282
6706
|
* <p>The number of HTTP response headers in the list.</p>
|
|
6283
6707
|
*/
|
|
6284
6708
|
Quantity: number | undefined;
|
|
6285
6709
|
/**
|
|
6710
|
+
* @public
|
|
6286
6711
|
* <p>The list of HTTP response headers and their values.</p>
|
|
6287
6712
|
*/
|
|
6288
6713
|
Items?: ResponseHeadersPolicyCustomHeader[];
|
|
@@ -6294,6 +6719,7 @@ export interface ResponseHeadersPolicyCustomHeadersConfig {
|
|
|
6294
6719
|
*/
|
|
6295
6720
|
export interface ResponseHeadersPolicyRemoveHeader {
|
|
6296
6721
|
/**
|
|
6722
|
+
* @public
|
|
6297
6723
|
* <p>The HTTP header name.</p>
|
|
6298
6724
|
*/
|
|
6299
6725
|
Header: string | undefined;
|
|
@@ -6305,10 +6731,12 @@ export interface ResponseHeadersPolicyRemoveHeader {
|
|
|
6305
6731
|
*/
|
|
6306
6732
|
export interface ResponseHeadersPolicyRemoveHeadersConfig {
|
|
6307
6733
|
/**
|
|
6734
|
+
* @public
|
|
6308
6735
|
* <p>The number of HTTP header names in the list.</p>
|
|
6309
6736
|
*/
|
|
6310
6737
|
Quantity: number | undefined;
|
|
6311
6738
|
/**
|
|
6739
|
+
* @public
|
|
6312
6740
|
* <p>The list of HTTP header names.</p>
|
|
6313
6741
|
*/
|
|
6314
6742
|
Items?: ResponseHeadersPolicyRemoveHeader[];
|
|
@@ -6322,12 +6750,14 @@ export interface ResponseHeadersPolicyRemoveHeadersConfig {
|
|
|
6322
6750
|
*/
|
|
6323
6751
|
export interface ResponseHeadersPolicyContentSecurityPolicy {
|
|
6324
6752
|
/**
|
|
6753
|
+
* @public
|
|
6325
6754
|
* <p>A Boolean that determines whether CloudFront overrides the
|
|
6326
6755
|
* <code>Content-Security-Policy</code> HTTP response header received from the origin
|
|
6327
6756
|
* with the one specified in this response headers policy.</p>
|
|
6328
6757
|
*/
|
|
6329
6758
|
Override: boolean | undefined;
|
|
6330
6759
|
/**
|
|
6760
|
+
* @public
|
|
6331
6761
|
* <p>The policy directives and their values that CloudFront includes as values for the
|
|
6332
6762
|
* <code>Content-Security-Policy</code> HTTP response header.</p>
|
|
6333
6763
|
*/
|
|
@@ -6342,6 +6772,7 @@ export interface ResponseHeadersPolicyContentSecurityPolicy {
|
|
|
6342
6772
|
*/
|
|
6343
6773
|
export interface ResponseHeadersPolicyContentTypeOptions {
|
|
6344
6774
|
/**
|
|
6775
|
+
* @public
|
|
6345
6776
|
* <p>A Boolean that determines whether CloudFront overrides the
|
|
6346
6777
|
* <code>X-Content-Type-Options</code> HTTP response header received from the origin
|
|
6347
6778
|
* with the one specified in this response headers policy.</p>
|
|
@@ -6369,12 +6800,14 @@ export type FrameOptionsList = (typeof FrameOptionsList)[keyof typeof FrameOptio
|
|
|
6369
6800
|
*/
|
|
6370
6801
|
export interface ResponseHeadersPolicyFrameOptions {
|
|
6371
6802
|
/**
|
|
6803
|
+
* @public
|
|
6372
6804
|
* <p>A Boolean that determines whether CloudFront overrides the <code>X-Frame-Options</code> HTTP
|
|
6373
6805
|
* response header received from the origin with the one specified in this response headers
|
|
6374
6806
|
* policy.</p>
|
|
6375
6807
|
*/
|
|
6376
6808
|
Override: boolean | undefined;
|
|
6377
6809
|
/**
|
|
6810
|
+
* @public
|
|
6378
6811
|
* <p>The value of the <code>X-Frame-Options</code> HTTP response header. Valid values are
|
|
6379
6812
|
* <code>DENY</code> and <code>SAMEORIGIN</code>.</p>
|
|
6380
6813
|
* <p>For more information about these values, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options">X-Frame-Options</a> in the MDN Web Docs.</p>
|
|
@@ -6408,12 +6841,14 @@ export type ReferrerPolicyList = (typeof ReferrerPolicyList)[keyof typeof Referr
|
|
|
6408
6841
|
*/
|
|
6409
6842
|
export interface ResponseHeadersPolicyReferrerPolicy {
|
|
6410
6843
|
/**
|
|
6844
|
+
* @public
|
|
6411
6845
|
* <p>A Boolean that determines whether CloudFront overrides the <code>Referrer-Policy</code> HTTP
|
|
6412
6846
|
* response header received from the origin with the one specified in this response headers
|
|
6413
6847
|
* policy.</p>
|
|
6414
6848
|
*/
|
|
6415
6849
|
Override: boolean | undefined;
|
|
6416
6850
|
/**
|
|
6851
|
+
* @public
|
|
6417
6852
|
* <p>The value of the <code>Referrer-Policy</code> HTTP response header. Valid values
|
|
6418
6853
|
* are:</p>
|
|
6419
6854
|
* <ul>
|
|
@@ -6471,22 +6906,26 @@ export interface ResponseHeadersPolicyReferrerPolicy {
|
|
|
6471
6906
|
*/
|
|
6472
6907
|
export interface ResponseHeadersPolicyStrictTransportSecurity {
|
|
6473
6908
|
/**
|
|
6909
|
+
* @public
|
|
6474
6910
|
* <p>A Boolean that determines whether CloudFront overrides the
|
|
6475
6911
|
* <code>Strict-Transport-Security</code> HTTP response header received from the origin
|
|
6476
6912
|
* with the one specified in this response headers policy.</p>
|
|
6477
6913
|
*/
|
|
6478
6914
|
Override: boolean | undefined;
|
|
6479
6915
|
/**
|
|
6916
|
+
* @public
|
|
6480
6917
|
* <p>A Boolean that determines whether CloudFront includes the <code>includeSubDomains</code>
|
|
6481
6918
|
* directive in the <code>Strict-Transport-Security</code> HTTP response header.</p>
|
|
6482
6919
|
*/
|
|
6483
6920
|
IncludeSubdomains?: boolean;
|
|
6484
6921
|
/**
|
|
6922
|
+
* @public
|
|
6485
6923
|
* <p>A Boolean that determines whether CloudFront includes the <code>preload</code> directive in
|
|
6486
6924
|
* the <code>Strict-Transport-Security</code> HTTP response header.</p>
|
|
6487
6925
|
*/
|
|
6488
6926
|
Preload?: boolean;
|
|
6489
6927
|
/**
|
|
6928
|
+
* @public
|
|
6490
6929
|
* <p>A number that CloudFront uses as the value for the <code>max-age</code> directive in the
|
|
6491
6930
|
* <code>Strict-Transport-Security</code> HTTP response header.</p>
|
|
6492
6931
|
*/
|
|
@@ -6501,12 +6940,14 @@ export interface ResponseHeadersPolicyStrictTransportSecurity {
|
|
|
6501
6940
|
*/
|
|
6502
6941
|
export interface ResponseHeadersPolicyXSSProtection {
|
|
6503
6942
|
/**
|
|
6943
|
+
* @public
|
|
6504
6944
|
* <p>A Boolean that determines whether CloudFront overrides the <code>X-XSS-Protection</code>
|
|
6505
6945
|
* HTTP response header received from the origin with the one specified in this response
|
|
6506
6946
|
* headers policy.</p>
|
|
6507
6947
|
*/
|
|
6508
6948
|
Override: boolean | undefined;
|
|
6509
6949
|
/**
|
|
6950
|
+
* @public
|
|
6510
6951
|
* <p>A Boolean that determines the value of the <code>X-XSS-Protection</code> HTTP response
|
|
6511
6952
|
* header. When this setting is <code>true</code>, the value of the
|
|
6512
6953
|
* <code>X-XSS-Protection</code> header is <code>1</code>. When this setting is
|
|
@@ -6516,12 +6957,14 @@ export interface ResponseHeadersPolicyXSSProtection {
|
|
|
6516
6957
|
*/
|
|
6517
6958
|
Protection: boolean | undefined;
|
|
6518
6959
|
/**
|
|
6960
|
+
* @public
|
|
6519
6961
|
* <p>A Boolean that determines whether CloudFront includes the <code>mode=block</code> directive
|
|
6520
6962
|
* in the <code>X-XSS-Protection</code> header.</p>
|
|
6521
6963
|
* <p>For more information about this directive, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection">X-XSS-Protection</a> in the MDN Web Docs.</p>
|
|
6522
6964
|
*/
|
|
6523
6965
|
ModeBlock?: boolean;
|
|
6524
6966
|
/**
|
|
6967
|
+
* @public
|
|
6525
6968
|
* <p>A reporting URI, which CloudFront uses as the value of the <code>report</code> directive in
|
|
6526
6969
|
* the <code>X-XSS-Protection</code> header.</p>
|
|
6527
6970
|
* <p>You cannot specify a <code>ReportUri</code> when <code>ModeBlock</code> is
|
|
@@ -6538,6 +6981,7 @@ export interface ResponseHeadersPolicyXSSProtection {
|
|
|
6538
6981
|
*/
|
|
6539
6982
|
export interface ResponseHeadersPolicySecurityHeadersConfig {
|
|
6540
6983
|
/**
|
|
6984
|
+
* @public
|
|
6541
6985
|
* <p>Determines whether CloudFront includes the <code>X-XSS-Protection</code> HTTP response
|
|
6542
6986
|
* header and the header's value.</p>
|
|
6543
6987
|
* <p>For more information about the <code>X-XSS-Protection</code> HTTP response header, see
|
|
@@ -6545,6 +6989,7 @@ export interface ResponseHeadersPolicySecurityHeadersConfig {
|
|
|
6545
6989
|
*/
|
|
6546
6990
|
XSSProtection?: ResponseHeadersPolicyXSSProtection;
|
|
6547
6991
|
/**
|
|
6992
|
+
* @public
|
|
6548
6993
|
* <p>Determines whether CloudFront includes the <code>X-Frame-Options</code> HTTP response header
|
|
6549
6994
|
* and the header's value.</p>
|
|
6550
6995
|
* <p>For more information about the <code>X-Frame-Options</code> HTTP response header, see
|
|
@@ -6552,6 +6997,7 @@ export interface ResponseHeadersPolicySecurityHeadersConfig {
|
|
|
6552
6997
|
*/
|
|
6553
6998
|
FrameOptions?: ResponseHeadersPolicyFrameOptions;
|
|
6554
6999
|
/**
|
|
7000
|
+
* @public
|
|
6555
7001
|
* <p>Determines whether CloudFront includes the <code>Referrer-Policy</code> HTTP response header
|
|
6556
7002
|
* and the header's value.</p>
|
|
6557
7003
|
* <p>For more information about the <code>Referrer-Policy</code> HTTP response header, see
|
|
@@ -6559,6 +7005,7 @@ export interface ResponseHeadersPolicySecurityHeadersConfig {
|
|
|
6559
7005
|
*/
|
|
6560
7006
|
ReferrerPolicy?: ResponseHeadersPolicyReferrerPolicy;
|
|
6561
7007
|
/**
|
|
7008
|
+
* @public
|
|
6562
7009
|
* <p>The policy directives and their values that CloudFront includes as values for the
|
|
6563
7010
|
* <code>Content-Security-Policy</code> HTTP response header.</p>
|
|
6564
7011
|
* <p>For more information about the <code>Content-Security-Policy</code> HTTP response
|
|
@@ -6566,6 +7013,7 @@ export interface ResponseHeadersPolicySecurityHeadersConfig {
|
|
|
6566
7013
|
*/
|
|
6567
7014
|
ContentSecurityPolicy?: ResponseHeadersPolicyContentSecurityPolicy;
|
|
6568
7015
|
/**
|
|
7016
|
+
* @public
|
|
6569
7017
|
* <p>Determines whether CloudFront includes the <code>X-Content-Type-Options</code> HTTP response
|
|
6570
7018
|
* header with its value set to <code>nosniff</code>.</p>
|
|
6571
7019
|
* <p>For more information about the <code>X-Content-Type-Options</code> HTTP response
|
|
@@ -6573,6 +7021,7 @@ export interface ResponseHeadersPolicySecurityHeadersConfig {
|
|
|
6573
7021
|
*/
|
|
6574
7022
|
ContentTypeOptions?: ResponseHeadersPolicyContentTypeOptions;
|
|
6575
7023
|
/**
|
|
7024
|
+
* @public
|
|
6576
7025
|
* <p>Determines whether CloudFront includes the <code>Strict-Transport-Security</code> HTTP
|
|
6577
7026
|
* response header and the header's value.</p>
|
|
6578
7027
|
* <p>For more information about the <code>Strict-Transport-Security</code> HTTP response
|
|
@@ -6596,12 +7045,14 @@ export interface ResponseHeadersPolicySecurityHeadersConfig {
|
|
|
6596
7045
|
*/
|
|
6597
7046
|
export interface ResponseHeadersPolicyServerTimingHeadersConfig {
|
|
6598
7047
|
/**
|
|
7048
|
+
* @public
|
|
6599
7049
|
* <p>A Boolean that determines whether CloudFront adds the <code>Server-Timing</code> header to
|
|
6600
7050
|
* HTTP responses that it sends in response to requests that match a cache behavior that's
|
|
6601
7051
|
* associated with this response headers policy.</p>
|
|
6602
7052
|
*/
|
|
6603
7053
|
Enabled: boolean | undefined;
|
|
6604
7054
|
/**
|
|
7055
|
+
* @public
|
|
6605
7056
|
* <p>A number 0–100 (inclusive) that specifies the percentage of responses that you want
|
|
6606
7057
|
* CloudFront to add the <code>Server-Timing</code> header to. When you set the sampling rate to
|
|
6607
7058
|
* 100, CloudFront adds the <code>Server-Timing</code> header to the HTTP response for every
|
|
@@ -6620,34 +7071,41 @@ export interface ResponseHeadersPolicyServerTimingHeadersConfig {
|
|
|
6620
7071
|
*/
|
|
6621
7072
|
export interface ResponseHeadersPolicyConfig {
|
|
6622
7073
|
/**
|
|
7074
|
+
* @public
|
|
6623
7075
|
* <p>A comment to describe the response headers policy.</p>
|
|
6624
7076
|
* <p>The comment cannot be longer than 128 characters.</p>
|
|
6625
7077
|
*/
|
|
6626
7078
|
Comment?: string;
|
|
6627
7079
|
/**
|
|
7080
|
+
* @public
|
|
6628
7081
|
* <p>A name to identify the response headers policy.</p>
|
|
6629
7082
|
* <p>The name must be unique for response headers policies in this Amazon Web Services account.</p>
|
|
6630
7083
|
*/
|
|
6631
7084
|
Name: string | undefined;
|
|
6632
7085
|
/**
|
|
7086
|
+
* @public
|
|
6633
7087
|
* <p>A configuration for a set of HTTP response headers that are used for cross-origin
|
|
6634
7088
|
* resource sharing (CORS).</p>
|
|
6635
7089
|
*/
|
|
6636
7090
|
CorsConfig?: ResponseHeadersPolicyCorsConfig;
|
|
6637
7091
|
/**
|
|
7092
|
+
* @public
|
|
6638
7093
|
* <p>A configuration for a set of security-related HTTP response headers.</p>
|
|
6639
7094
|
*/
|
|
6640
7095
|
SecurityHeadersConfig?: ResponseHeadersPolicySecurityHeadersConfig;
|
|
6641
7096
|
/**
|
|
7097
|
+
* @public
|
|
6642
7098
|
* <p>A configuration for enabling the <code>Server-Timing</code> header in HTTP responses
|
|
6643
7099
|
* sent from CloudFront.</p>
|
|
6644
7100
|
*/
|
|
6645
7101
|
ServerTimingHeadersConfig?: ResponseHeadersPolicyServerTimingHeadersConfig;
|
|
6646
7102
|
/**
|
|
7103
|
+
* @public
|
|
6647
7104
|
* <p>A configuration for a set of custom HTTP response headers.</p>
|
|
6648
7105
|
*/
|
|
6649
7106
|
CustomHeadersConfig?: ResponseHeadersPolicyCustomHeadersConfig;
|
|
6650
7107
|
/**
|
|
7108
|
+
* @public
|
|
6651
7109
|
* <p>A configuration for a set of HTTP headers to remove from the HTTP response.</p>
|
|
6652
7110
|
*/
|
|
6653
7111
|
RemoveHeadersConfig?: ResponseHeadersPolicyRemoveHeadersConfig;
|
|
@@ -6657,6 +7115,7 @@ export interface ResponseHeadersPolicyConfig {
|
|
|
6657
7115
|
*/
|
|
6658
7116
|
export interface CreateResponseHeadersPolicyRequest {
|
|
6659
7117
|
/**
|
|
7118
|
+
* @public
|
|
6660
7119
|
* <p>Contains metadata about the response headers policy, and a set of configurations that
|
|
6661
7120
|
* specify the HTTP headers.</p>
|
|
6662
7121
|
*/
|
|
@@ -6676,14 +7135,17 @@ export interface CreateResponseHeadersPolicyRequest {
|
|
|
6676
7135
|
*/
|
|
6677
7136
|
export interface ResponseHeadersPolicy {
|
|
6678
7137
|
/**
|
|
7138
|
+
* @public
|
|
6679
7139
|
* <p>The identifier for the response headers policy.</p>
|
|
6680
7140
|
*/
|
|
6681
7141
|
Id: string | undefined;
|
|
6682
7142
|
/**
|
|
7143
|
+
* @public
|
|
6683
7144
|
* <p>The date and time when the response headers policy was last modified.</p>
|
|
6684
7145
|
*/
|
|
6685
7146
|
LastModifiedTime: Date | undefined;
|
|
6686
7147
|
/**
|
|
7148
|
+
* @public
|
|
6687
7149
|
* <p>A response headers policy configuration.</p>
|
|
6688
7150
|
*/
|
|
6689
7151
|
ResponseHeadersPolicyConfig: ResponseHeadersPolicyConfig | undefined;
|