@aws-sdk/client-cloudfront 3.380.0 → 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.
|
@@ -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,15 +116,18 @@ export interface Signer {
|
|
|
107
116
|
*/
|
|
108
117
|
export interface ActiveTrustedSigners {
|
|
109
118
|
/**
|
|
119
|
+
* @public
|
|
110
120
|
* <p>This field is <code>true</code> if any of the Amazon Web Services accounts in the list are configured as
|
|
111
121
|
* trusted signers. If not, this field is <code>false</code>.</p>
|
|
112
122
|
*/
|
|
113
123
|
Enabled: boolean | undefined;
|
|
114
124
|
/**
|
|
125
|
+
* @public
|
|
115
126
|
* <p>The number of Amazon Web Services accounts in the list.</p>
|
|
116
127
|
*/
|
|
117
128
|
Quantity: number | undefined;
|
|
118
129
|
/**
|
|
130
|
+
* @public
|
|
119
131
|
* <p>A list of Amazon Web Services accounts and the identifiers of active CloudFront key pairs in each account
|
|
120
132
|
* that CloudFront can use to verify the signatures of signed URLs and signed cookies.</p>
|
|
121
133
|
*/
|
|
@@ -128,11 +140,13 @@ export interface ActiveTrustedSigners {
|
|
|
128
140
|
*/
|
|
129
141
|
export interface Aliases {
|
|
130
142
|
/**
|
|
143
|
+
* @public
|
|
131
144
|
* <p>The number of CNAME aliases, if any, that you want to associate with this
|
|
132
145
|
* distribution.</p>
|
|
133
146
|
*/
|
|
134
147
|
Quantity: number | undefined;
|
|
135
148
|
/**
|
|
149
|
+
* @public
|
|
136
150
|
* <p>A complex type that contains the CNAME aliases, if any, that you want to associate
|
|
137
151
|
* with this distribution.</p>
|
|
138
152
|
*/
|
|
@@ -163,10 +177,12 @@ export type ICPRecordalStatus = (typeof ICPRecordalStatus)[keyof typeof ICPRecor
|
|
|
163
177
|
*/
|
|
164
178
|
export interface AliasICPRecordal {
|
|
165
179
|
/**
|
|
180
|
+
* @public
|
|
166
181
|
* <p>A domain name associated with a distribution.</p>
|
|
167
182
|
*/
|
|
168
183
|
CNAME?: string;
|
|
169
184
|
/**
|
|
185
|
+
* @public
|
|
170
186
|
* <p>The Internet Content Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus
|
|
171
187
|
* is set to APPROVED for all CNAMEs (aliases) in regions outside of China.</p>
|
|
172
188
|
* <p>The status values returned are the following:</p>
|
|
@@ -233,6 +249,7 @@ export type Method = (typeof Method)[keyof typeof Method];
|
|
|
233
249
|
*/
|
|
234
250
|
export interface CachedMethods {
|
|
235
251
|
/**
|
|
252
|
+
* @public
|
|
236
253
|
* <p>The number of HTTP methods for which you want CloudFront to cache responses. Valid values
|
|
237
254
|
* are <code>2</code> (for caching responses to <code>GET</code> and <code>HEAD</code>
|
|
238
255
|
* requests) and <code>3</code> (for caching responses to <code>GET</code>,
|
|
@@ -240,6 +257,7 @@ export interface CachedMethods {
|
|
|
240
257
|
*/
|
|
241
258
|
Quantity: number | undefined;
|
|
242
259
|
/**
|
|
260
|
+
* @public
|
|
243
261
|
* <p>A complex type that contains the HTTP methods that you want CloudFront to cache responses
|
|
244
262
|
* to.</p>
|
|
245
263
|
*/
|
|
@@ -269,6 +287,7 @@ export interface CachedMethods {
|
|
|
269
287
|
*/
|
|
270
288
|
export interface AllowedMethods {
|
|
271
289
|
/**
|
|
290
|
+
* @public
|
|
272
291
|
* <p>The number of HTTP methods that you want CloudFront to forward to your origin. Valid values
|
|
273
292
|
* are 2 (for <code>GET</code> and <code>HEAD</code> requests), 3 (for <code>GET</code>,
|
|
274
293
|
* <code>HEAD</code>, and <code>OPTIONS</code> requests) and 7 (for <code>GET, HEAD,
|
|
@@ -276,11 +295,13 @@ export interface AllowedMethods {
|
|
|
276
295
|
*/
|
|
277
296
|
Quantity: number | undefined;
|
|
278
297
|
/**
|
|
298
|
+
* @public
|
|
279
299
|
* <p>A complex type that contains the HTTP methods that you want CloudFront to process and
|
|
280
300
|
* forward to your origin.</p>
|
|
281
301
|
*/
|
|
282
302
|
Items: (Method | string)[] | undefined;
|
|
283
303
|
/**
|
|
304
|
+
* @public
|
|
284
305
|
* <p>A complex type that controls whether CloudFront caches the response to requests using the
|
|
285
306
|
* specified HTTP methods. There are two choices:</p>
|
|
286
307
|
* <ul>
|
|
@@ -304,10 +325,12 @@ export interface AllowedMethods {
|
|
|
304
325
|
*/
|
|
305
326
|
export interface AssociateAliasRequest {
|
|
306
327
|
/**
|
|
328
|
+
* @public
|
|
307
329
|
* <p>The ID of the distribution that you're associating the alias with.</p>
|
|
308
330
|
*/
|
|
309
331
|
TargetDistributionId: string | undefined;
|
|
310
332
|
/**
|
|
333
|
+
* @public
|
|
311
334
|
* <p>The alias (also known as a CNAME) to add to the target distribution.</p>
|
|
312
335
|
*/
|
|
313
336
|
Alias: string | undefined;
|
|
@@ -396,10 +419,12 @@ export type ItemSelection = (typeof ItemSelection)[keyof typeof ItemSelection];
|
|
|
396
419
|
*/
|
|
397
420
|
export interface CookieNames {
|
|
398
421
|
/**
|
|
422
|
+
* @public
|
|
399
423
|
* <p>The number of cookie names in the <code>Items</code> list.</p>
|
|
400
424
|
*/
|
|
401
425
|
Quantity: number | undefined;
|
|
402
426
|
/**
|
|
427
|
+
* @public
|
|
403
428
|
* <p>A list of cookie names.</p>
|
|
404
429
|
*/
|
|
405
430
|
Items?: string[];
|
|
@@ -420,6 +445,7 @@ export interface CookieNames {
|
|
|
420
445
|
*/
|
|
421
446
|
export interface CookiePreference {
|
|
422
447
|
/**
|
|
448
|
+
* @public
|
|
423
449
|
* <p>This field is deprecated. We recommend that you use a cache policy or an origin
|
|
424
450
|
* request policy instead of this field.</p>
|
|
425
451
|
* <p>If you want to include cookies in the cache key, use a cache policy. For more
|
|
@@ -435,6 +461,7 @@ export interface CookiePreference {
|
|
|
435
461
|
*/
|
|
436
462
|
Forward: ItemSelection | string | undefined;
|
|
437
463
|
/**
|
|
464
|
+
* @public
|
|
438
465
|
* <p>This field is deprecated. We recommend that you use a cache policy or an origin
|
|
439
466
|
* request policy instead of this field.</p>
|
|
440
467
|
* <p>If you want to include cookies in the cache key, use a cache policy. For more
|
|
@@ -463,10 +490,12 @@ export interface CookiePreference {
|
|
|
463
490
|
*/
|
|
464
491
|
export interface Headers {
|
|
465
492
|
/**
|
|
493
|
+
* @public
|
|
466
494
|
* <p>The number of header names in the <code>Items</code> list.</p>
|
|
467
495
|
*/
|
|
468
496
|
Quantity: number | undefined;
|
|
469
497
|
/**
|
|
498
|
+
* @public
|
|
470
499
|
* <p>A list of HTTP header names.</p>
|
|
471
500
|
*/
|
|
472
501
|
Items?: string[];
|
|
@@ -486,11 +515,13 @@ export interface Headers {
|
|
|
486
515
|
*/
|
|
487
516
|
export interface QueryStringCacheKeys {
|
|
488
517
|
/**
|
|
518
|
+
* @public
|
|
489
519
|
* <p>The number of <code>whitelisted</code> query string parameters for a cache
|
|
490
520
|
* behavior.</p>
|
|
491
521
|
*/
|
|
492
522
|
Quantity: number | undefined;
|
|
493
523
|
/**
|
|
524
|
+
* @public
|
|
494
525
|
* <p>A list that contains the query string parameters that you want CloudFront to use as a basis
|
|
495
526
|
* for caching for a cache behavior. If <code>Quantity</code> is 0, you can omit
|
|
496
527
|
* <code>Items</code>.</p>
|
|
@@ -511,6 +542,7 @@ export interface QueryStringCacheKeys {
|
|
|
511
542
|
*/
|
|
512
543
|
export interface ForwardedValues {
|
|
513
544
|
/**
|
|
545
|
+
* @public
|
|
514
546
|
* <p>This field is deprecated. We recommend that you use a cache policy or an origin
|
|
515
547
|
* request policy instead of this field.</p>
|
|
516
548
|
* <p>If you want to include query strings in the cache key, use a cache policy. For more
|
|
@@ -539,6 +571,7 @@ export interface ForwardedValues {
|
|
|
539
571
|
*/
|
|
540
572
|
QueryString: boolean | undefined;
|
|
541
573
|
/**
|
|
574
|
+
* @public
|
|
542
575
|
* <p>This field is deprecated. We recommend that you use a cache policy or an origin
|
|
543
576
|
* request policy instead of this field.</p>
|
|
544
577
|
* <p>If you want to include cookies in the cache key, use a cache policy. For more
|
|
@@ -553,6 +586,7 @@ export interface ForwardedValues {
|
|
|
553
586
|
*/
|
|
554
587
|
Cookies: CookiePreference | undefined;
|
|
555
588
|
/**
|
|
589
|
+
* @public
|
|
556
590
|
* <p>This field is deprecated. We recommend that you use a cache policy or an origin
|
|
557
591
|
* request policy instead of this field.</p>
|
|
558
592
|
* <p>If you want to include headers in the cache key, use a cache policy. For more
|
|
@@ -569,6 +603,7 @@ export interface ForwardedValues {
|
|
|
569
603
|
*/
|
|
570
604
|
Headers?: Headers;
|
|
571
605
|
/**
|
|
606
|
+
* @public
|
|
572
607
|
* <p>This field is deprecated. We recommend that you use a cache policy or an origin
|
|
573
608
|
* request policy instead of this field.</p>
|
|
574
609
|
* <p>If you want to include query strings in the cache key, use a cache policy. For more
|
|
@@ -602,10 +637,12 @@ export type EventType = (typeof EventType)[keyof typeof EventType];
|
|
|
602
637
|
*/
|
|
603
638
|
export interface FunctionAssociation {
|
|
604
639
|
/**
|
|
640
|
+
* @public
|
|
605
641
|
* <p>The Amazon Resource Name (ARN) of the function.</p>
|
|
606
642
|
*/
|
|
607
643
|
FunctionARN: string | undefined;
|
|
608
644
|
/**
|
|
645
|
+
* @public
|
|
609
646
|
* <p>The event type of the function, either <code>viewer-request</code> or
|
|
610
647
|
* <code>viewer-response</code>. You cannot use origin-facing event types
|
|
611
648
|
* (<code>origin-request</code> and <code>origin-response</code>) with a CloudFront
|
|
@@ -621,10 +658,12 @@ export interface FunctionAssociation {
|
|
|
621
658
|
*/
|
|
622
659
|
export interface FunctionAssociations {
|
|
623
660
|
/**
|
|
661
|
+
* @public
|
|
624
662
|
* <p>The number of CloudFront functions in the list.</p>
|
|
625
663
|
*/
|
|
626
664
|
Quantity: number | undefined;
|
|
627
665
|
/**
|
|
666
|
+
* @public
|
|
628
667
|
* <p>The CloudFront functions that are associated with a cache behavior in a CloudFront distribution.
|
|
629
668
|
* CloudFront functions must be published to the <code>LIVE</code> stage to associate them with a
|
|
630
669
|
* cache behavior.</p>
|
|
@@ -637,11 +676,13 @@ export interface FunctionAssociations {
|
|
|
637
676
|
*/
|
|
638
677
|
export interface LambdaFunctionAssociation {
|
|
639
678
|
/**
|
|
679
|
+
* @public
|
|
640
680
|
* <p>The ARN of the Lambda@Edge function. You must specify the ARN of a function version;
|
|
641
681
|
* you can't specify an alias or $LATEST.</p>
|
|
642
682
|
*/
|
|
643
683
|
LambdaFunctionARN: string | undefined;
|
|
644
684
|
/**
|
|
685
|
+
* @public
|
|
645
686
|
* <p>Specifies the event type that triggers a Lambda@Edge function invocation. You can
|
|
646
687
|
* specify the following values:</p>
|
|
647
688
|
* <ul>
|
|
@@ -675,6 +716,7 @@ export interface LambdaFunctionAssociation {
|
|
|
675
716
|
*/
|
|
676
717
|
EventType: EventType | string | undefined;
|
|
677
718
|
/**
|
|
719
|
+
* @public
|
|
678
720
|
* <p>A flag that allows a Lambda@Edge function to have read access to the body content. For
|
|
679
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
|
|
680
722
|
* Amazon CloudFront Developer Guide.</p>
|
|
@@ -697,10 +739,12 @@ export interface LambdaFunctionAssociation {
|
|
|
697
739
|
*/
|
|
698
740
|
export interface LambdaFunctionAssociations {
|
|
699
741
|
/**
|
|
742
|
+
* @public
|
|
700
743
|
* <p>The number of Lambda@Edge function associations for this cache behavior.</p>
|
|
701
744
|
*/
|
|
702
745
|
Quantity: number | undefined;
|
|
703
746
|
/**
|
|
747
|
+
* @public
|
|
704
748
|
* <p>
|
|
705
749
|
* <b>Optional</b>: A complex type that contains
|
|
706
750
|
* <code>LambdaFunctionAssociation</code> items for this cache behavior. If
|
|
@@ -715,16 +759,19 @@ export interface LambdaFunctionAssociations {
|
|
|
715
759
|
*/
|
|
716
760
|
export interface TrustedKeyGroups {
|
|
717
761
|
/**
|
|
762
|
+
* @public
|
|
718
763
|
* <p>This field is <code>true</code> if any of the key groups in the list have public keys
|
|
719
764
|
* that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not,
|
|
720
765
|
* this field is <code>false</code>.</p>
|
|
721
766
|
*/
|
|
722
767
|
Enabled: boolean | undefined;
|
|
723
768
|
/**
|
|
769
|
+
* @public
|
|
724
770
|
* <p>The number of key groups in the list.</p>
|
|
725
771
|
*/
|
|
726
772
|
Quantity: number | undefined;
|
|
727
773
|
/**
|
|
774
|
+
* @public
|
|
728
775
|
* <p>A list of key groups identifiers.</p>
|
|
729
776
|
*/
|
|
730
777
|
Items?: string[];
|
|
@@ -736,15 +783,18 @@ export interface TrustedKeyGroups {
|
|
|
736
783
|
*/
|
|
737
784
|
export interface TrustedSigners {
|
|
738
785
|
/**
|
|
786
|
+
* @public
|
|
739
787
|
* <p>This field is <code>true</code> if any of the Amazon Web Services accounts in the list are configured as
|
|
740
788
|
* trusted signers. If not, this field is <code>false</code>.</p>
|
|
741
789
|
*/
|
|
742
790
|
Enabled: boolean | undefined;
|
|
743
791
|
/**
|
|
792
|
+
* @public
|
|
744
793
|
* <p>The number of Amazon Web Services accounts in the list.</p>
|
|
745
794
|
*/
|
|
746
795
|
Quantity: number | undefined;
|
|
747
796
|
/**
|
|
797
|
+
* @public
|
|
748
798
|
* <p>A list of Amazon Web Services account identifiers.</p>
|
|
749
799
|
*/
|
|
750
800
|
Items?: string[];
|
|
@@ -786,6 +836,7 @@ export type ViewerProtocolPolicy = (typeof ViewerProtocolPolicy)[keyof typeof Vi
|
|
|
786
836
|
*/
|
|
787
837
|
export interface CacheBehavior {
|
|
788
838
|
/**
|
|
839
|
+
* @public
|
|
789
840
|
* <p>The pattern (for example, <code>images/*.jpg</code>) that specifies which requests to
|
|
790
841
|
* apply the behavior to. When CloudFront receives a viewer request, the requested path is
|
|
791
842
|
* compared with path patterns in the order in which cache behaviors are listed in the
|
|
@@ -802,11 +853,13 @@ export interface CacheBehavior {
|
|
|
802
853
|
*/
|
|
803
854
|
PathPattern: string | undefined;
|
|
804
855
|
/**
|
|
856
|
+
* @public
|
|
805
857
|
* <p>The value of <code>ID</code> for the origin that you want CloudFront to route requests to
|
|
806
858
|
* when they match this cache behavior.</p>
|
|
807
859
|
*/
|
|
808
860
|
TargetOriginId: string | undefined;
|
|
809
861
|
/**
|
|
862
|
+
* @public
|
|
810
863
|
* <important>
|
|
811
864
|
* <p>We recommend using <code>TrustedKeyGroups</code> instead of
|
|
812
865
|
* <code>TrustedSigners</code>.</p>
|
|
@@ -822,6 +875,7 @@ export interface CacheBehavior {
|
|
|
822
875
|
*/
|
|
823
876
|
TrustedSigners?: TrustedSigners;
|
|
824
877
|
/**
|
|
878
|
+
* @public
|
|
825
879
|
* <p>A list of key groups that CloudFront can use to validate signed URLs or signed
|
|
826
880
|
* cookies.</p>
|
|
827
881
|
* <p>When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed
|
|
@@ -833,6 +887,7 @@ export interface CacheBehavior {
|
|
|
833
887
|
*/
|
|
834
888
|
TrustedKeyGroups?: TrustedKeyGroups;
|
|
835
889
|
/**
|
|
890
|
+
* @public
|
|
836
891
|
* <p>The protocol that viewers can use to access the files in the origin specified by
|
|
837
892
|
* <code>TargetOriginId</code> when a request matches the path pattern in
|
|
838
893
|
* <code>PathPattern</code>. You can specify the following options:</p>
|
|
@@ -868,6 +923,7 @@ export interface CacheBehavior {
|
|
|
868
923
|
*/
|
|
869
924
|
ViewerProtocolPolicy: ViewerProtocolPolicy | string | undefined;
|
|
870
925
|
/**
|
|
926
|
+
* @public
|
|
871
927
|
* <p>A complex type that controls which HTTP methods CloudFront processes and forwards to your
|
|
872
928
|
* Amazon S3 bucket or your custom origin. There are three choices:</p>
|
|
873
929
|
* <ul>
|
|
@@ -890,6 +946,7 @@ export interface CacheBehavior {
|
|
|
890
946
|
*/
|
|
891
947
|
AllowedMethods?: AllowedMethods;
|
|
892
948
|
/**
|
|
949
|
+
* @public
|
|
893
950
|
* <p>Indicates whether you want to distribute media files in the Microsoft Smooth Streaming
|
|
894
951
|
* format using the origin that is associated with this cache behavior. If so, specify
|
|
895
952
|
* <code>true</code>; if not, specify <code>false</code>. If you specify
|
|
@@ -899,34 +956,40 @@ export interface CacheBehavior {
|
|
|
899
956
|
*/
|
|
900
957
|
SmoothStreaming?: boolean;
|
|
901
958
|
/**
|
|
959
|
+
* @public
|
|
902
960
|
* <p>Whether you want CloudFront to automatically compress certain files for this cache behavior.
|
|
903
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
|
|
904
962
|
* Compressed Files</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
905
963
|
*/
|
|
906
964
|
Compress?: boolean;
|
|
907
965
|
/**
|
|
966
|
+
* @public
|
|
908
967
|
* <p>A complex type that contains zero or more Lambda@Edge function associations for a
|
|
909
968
|
* cache behavior.</p>
|
|
910
969
|
*/
|
|
911
970
|
LambdaFunctionAssociations?: LambdaFunctionAssociations;
|
|
912
971
|
/**
|
|
972
|
+
* @public
|
|
913
973
|
* <p>A list of CloudFront functions that are associated with this cache behavior. CloudFront functions
|
|
914
974
|
* must be published to the <code>LIVE</code> stage to associate them with a cache
|
|
915
975
|
* behavior.</p>
|
|
916
976
|
*/
|
|
917
977
|
FunctionAssociations?: FunctionAssociations;
|
|
918
978
|
/**
|
|
979
|
+
* @public
|
|
919
980
|
* <p>The value of <code>ID</code> for the field-level encryption configuration that you
|
|
920
981
|
* want CloudFront to use for encrypting specific fields of data for this cache behavior.</p>
|
|
921
982
|
*/
|
|
922
983
|
FieldLevelEncryptionId?: string;
|
|
923
984
|
/**
|
|
985
|
+
* @public
|
|
924
986
|
* <p>The Amazon Resource Name (ARN) of the real-time log configuration that is attached to
|
|
925
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
|
|
926
988
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
927
989
|
*/
|
|
928
990
|
RealtimeLogConfigArn?: string;
|
|
929
991
|
/**
|
|
992
|
+
* @public
|
|
930
993
|
* <p>The unique identifier of the cache policy that is attached to this cache behavior. For
|
|
931
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
|
|
932
995
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
@@ -936,16 +999,19 @@ export interface CacheBehavior {
|
|
|
936
999
|
*/
|
|
937
1000
|
CachePolicyId?: string;
|
|
938
1001
|
/**
|
|
1002
|
+
* @public
|
|
939
1003
|
* <p>The unique identifier of the origin request policy that is attached to this cache
|
|
940
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
|
|
941
1005
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
942
1006
|
*/
|
|
943
1007
|
OriginRequestPolicyId?: string;
|
|
944
1008
|
/**
|
|
1009
|
+
* @public
|
|
945
1010
|
* <p>The identifier for a response headers policy.</p>
|
|
946
1011
|
*/
|
|
947
1012
|
ResponseHeadersPolicyId?: string;
|
|
948
1013
|
/**
|
|
1014
|
+
* @public
|
|
949
1015
|
* @deprecated
|
|
950
1016
|
*
|
|
951
1017
|
* <p>This field is deprecated. We recommend that you use a cache policy or an origin
|
|
@@ -965,6 +1031,7 @@ export interface CacheBehavior {
|
|
|
965
1031
|
*/
|
|
966
1032
|
ForwardedValues?: ForwardedValues;
|
|
967
1033
|
/**
|
|
1034
|
+
* @public
|
|
968
1035
|
* @deprecated
|
|
969
1036
|
*
|
|
970
1037
|
* <p>This field is deprecated. We recommend that you use the <code>MinTTL</code> field in a
|
|
@@ -982,6 +1049,7 @@ export interface CacheBehavior {
|
|
|
982
1049
|
*/
|
|
983
1050
|
MinTTL?: number;
|
|
984
1051
|
/**
|
|
1052
|
+
* @public
|
|
985
1053
|
* @deprecated
|
|
986
1054
|
*
|
|
987
1055
|
* <p>This field is deprecated. We recommend that you use the <code>DefaultTTL</code> field
|
|
@@ -996,6 +1064,7 @@ export interface CacheBehavior {
|
|
|
996
1064
|
*/
|
|
997
1065
|
DefaultTTL?: number;
|
|
998
1066
|
/**
|
|
1067
|
+
* @public
|
|
999
1068
|
* @deprecated
|
|
1000
1069
|
*
|
|
1001
1070
|
* <p>This field is deprecated. We recommend that you use the <code>MaxTTL</code> field in a
|
|
@@ -1016,10 +1085,12 @@ export interface CacheBehavior {
|
|
|
1016
1085
|
*/
|
|
1017
1086
|
export interface CacheBehaviors {
|
|
1018
1087
|
/**
|
|
1088
|
+
* @public
|
|
1019
1089
|
* <p>The number of cache behaviors for this distribution.</p>
|
|
1020
1090
|
*/
|
|
1021
1091
|
Quantity: number | undefined;
|
|
1022
1092
|
/**
|
|
1093
|
+
* @public
|
|
1023
1094
|
* <p>Optional: A complex type that contains cache behaviors for this distribution. If
|
|
1024
1095
|
* <code>Quantity</code> is <code>0</code>, you can omit <code>Items</code>.</p>
|
|
1025
1096
|
*/
|
|
@@ -1046,6 +1117,7 @@ export type CachePolicyCookieBehavior = (typeof CachePolicyCookieBehavior)[keyof
|
|
|
1046
1117
|
*/
|
|
1047
1118
|
export interface CachePolicyCookiesConfig {
|
|
1048
1119
|
/**
|
|
1120
|
+
* @public
|
|
1049
1121
|
* <p>Determines whether any cookies in viewer requests are included in the cache key and in
|
|
1050
1122
|
* requests that CloudFront sends to the origin. Valid values are:</p>
|
|
1051
1123
|
* <ul>
|
|
@@ -1081,6 +1153,7 @@ export interface CachePolicyCookiesConfig {
|
|
|
1081
1153
|
*/
|
|
1082
1154
|
CookieBehavior: CachePolicyCookieBehavior | string | undefined;
|
|
1083
1155
|
/**
|
|
1156
|
+
* @public
|
|
1084
1157
|
* <p>Contains a list of cookie names.</p>
|
|
1085
1158
|
*/
|
|
1086
1159
|
Cookies?: CookieNames;
|
|
@@ -1104,6 +1177,7 @@ export type CachePolicyHeaderBehavior = (typeof CachePolicyHeaderBehavior)[keyof
|
|
|
1104
1177
|
*/
|
|
1105
1178
|
export interface CachePolicyHeadersConfig {
|
|
1106
1179
|
/**
|
|
1180
|
+
* @public
|
|
1107
1181
|
* <p>Determines whether any HTTP headers are included in the cache key and in requests that CloudFront
|
|
1108
1182
|
* sends to the origin. Valid values are:</p>
|
|
1109
1183
|
* <ul>
|
|
@@ -1124,6 +1198,7 @@ export interface CachePolicyHeadersConfig {
|
|
|
1124
1198
|
*/
|
|
1125
1199
|
HeaderBehavior: CachePolicyHeaderBehavior | string | undefined;
|
|
1126
1200
|
/**
|
|
1201
|
+
* @public
|
|
1127
1202
|
* <p>Contains a list of HTTP header names.</p>
|
|
1128
1203
|
*/
|
|
1129
1204
|
Headers?: Headers;
|
|
@@ -1148,10 +1223,12 @@ export type CachePolicyQueryStringBehavior = (typeof CachePolicyQueryStringBehav
|
|
|
1148
1223
|
*/
|
|
1149
1224
|
export interface QueryStringNames {
|
|
1150
1225
|
/**
|
|
1226
|
+
* @public
|
|
1151
1227
|
* <p>The number of query string names in the <code>Items</code> list.</p>
|
|
1152
1228
|
*/
|
|
1153
1229
|
Quantity: number | undefined;
|
|
1154
1230
|
/**
|
|
1231
|
+
* @public
|
|
1155
1232
|
* <p>A list of query string names.</p>
|
|
1156
1233
|
*/
|
|
1157
1234
|
Items?: string[];
|
|
@@ -1164,6 +1241,7 @@ export interface QueryStringNames {
|
|
|
1164
1241
|
*/
|
|
1165
1242
|
export interface CachePolicyQueryStringsConfig {
|
|
1166
1243
|
/**
|
|
1244
|
+
* @public
|
|
1167
1245
|
* <p>Determines whether any URL query strings in viewer requests are included in the cache key
|
|
1168
1246
|
* and in requests that CloudFront sends to the origin. Valid values are:</p>
|
|
1169
1247
|
* <ul>
|
|
@@ -1199,6 +1277,7 @@ export interface CachePolicyQueryStringsConfig {
|
|
|
1199
1277
|
*/
|
|
1200
1278
|
QueryStringBehavior: CachePolicyQueryStringBehavior | string | undefined;
|
|
1201
1279
|
/**
|
|
1280
|
+
* @public
|
|
1202
1281
|
* <p>Contains the specific query strings in viewer requests that either <i>
|
|
1203
1282
|
* <b>are</b>
|
|
1204
1283
|
* </i> or <i>
|
|
@@ -1230,6 +1309,7 @@ export interface CachePolicyQueryStringsConfig {
|
|
|
1230
1309
|
*/
|
|
1231
1310
|
export interface ParametersInCacheKeyAndForwardedToOrigin {
|
|
1232
1311
|
/**
|
|
1312
|
+
* @public
|
|
1233
1313
|
* <p>A flag that can affect whether the <code>Accept-Encoding</code> HTTP header is
|
|
1234
1314
|
* included in the cache key and included in requests that CloudFront sends to the origin.</p>
|
|
1235
1315
|
* <p>This field is related to the <code>EnableAcceptEncodingBrotli</code> field. If one or
|
|
@@ -1264,6 +1344,7 @@ export interface ParametersInCacheKeyAndForwardedToOrigin {
|
|
|
1264
1344
|
*/
|
|
1265
1345
|
EnableAcceptEncodingGzip: boolean | undefined;
|
|
1266
1346
|
/**
|
|
1347
|
+
* @public
|
|
1267
1348
|
* <p>A flag that can affect whether the <code>Accept-Encoding</code> HTTP header is
|
|
1268
1349
|
* included in the cache key and included in requests that CloudFront sends to the origin.</p>
|
|
1269
1350
|
* <p>This field is related to the <code>EnableAcceptEncodingGzip</code> field. If one or
|
|
@@ -1298,16 +1379,19 @@ export interface ParametersInCacheKeyAndForwardedToOrigin {
|
|
|
1298
1379
|
*/
|
|
1299
1380
|
EnableAcceptEncodingBrotli?: boolean;
|
|
1300
1381
|
/**
|
|
1382
|
+
* @public
|
|
1301
1383
|
* <p>An object that determines whether any HTTP headers (and if so, which headers) are included
|
|
1302
1384
|
* in the cache key and in requests that CloudFront sends to the origin.</p>
|
|
1303
1385
|
*/
|
|
1304
1386
|
HeadersConfig: CachePolicyHeadersConfig | undefined;
|
|
1305
1387
|
/**
|
|
1388
|
+
* @public
|
|
1306
1389
|
* <p>An object that determines whether any cookies in viewer requests (and if so, which cookies)
|
|
1307
1390
|
* are included in the cache key and in requests that CloudFront sends to the origin.</p>
|
|
1308
1391
|
*/
|
|
1309
1392
|
CookiesConfig: CachePolicyCookiesConfig | undefined;
|
|
1310
1393
|
/**
|
|
1394
|
+
* @public
|
|
1311
1395
|
* <p>An object that determines whether any URL query strings in viewer requests (and if so, which
|
|
1312
1396
|
* query strings) are included in the cache key and in requests that CloudFront sends to the
|
|
1313
1397
|
* origin.</p>
|
|
@@ -1337,15 +1421,18 @@ export interface ParametersInCacheKeyAndForwardedToOrigin {
|
|
|
1337
1421
|
*/
|
|
1338
1422
|
export interface CachePolicyConfig {
|
|
1339
1423
|
/**
|
|
1424
|
+
* @public
|
|
1340
1425
|
* <p>A comment to describe the cache policy. The comment cannot be longer than 128
|
|
1341
1426
|
* characters.</p>
|
|
1342
1427
|
*/
|
|
1343
1428
|
Comment?: string;
|
|
1344
1429
|
/**
|
|
1430
|
+
* @public
|
|
1345
1431
|
* <p>A unique name to identify the cache policy.</p>
|
|
1346
1432
|
*/
|
|
1347
1433
|
Name: string | undefined;
|
|
1348
1434
|
/**
|
|
1435
|
+
* @public
|
|
1349
1436
|
* <p>The default amount of time, in seconds, that you want objects to stay in the CloudFront
|
|
1350
1437
|
* cache before CloudFront sends another request to the origin to see if the object has been
|
|
1351
1438
|
* updated. CloudFront uses this value as the object's time to live (TTL) only when the origin
|
|
@@ -1358,6 +1445,7 @@ export interface CachePolicyConfig {
|
|
|
1358
1445
|
*/
|
|
1359
1446
|
DefaultTTL?: number;
|
|
1360
1447
|
/**
|
|
1448
|
+
* @public
|
|
1361
1449
|
* <p>The maximum amount of time, in seconds, that objects stay in the CloudFront cache before
|
|
1362
1450
|
* CloudFront sends another request to the origin to see if the object has been updated. CloudFront
|
|
1363
1451
|
* uses this value only when the origin sends <code>Cache-Control</code> or
|
|
@@ -1370,6 +1458,7 @@ export interface CachePolicyConfig {
|
|
|
1370
1458
|
*/
|
|
1371
1459
|
MaxTTL?: number;
|
|
1372
1460
|
/**
|
|
1461
|
+
* @public
|
|
1373
1462
|
* <p>The minimum amount of time, in seconds, that you want objects to stay in the CloudFront
|
|
1374
1463
|
* cache before CloudFront sends another request to the origin to see if the object has been
|
|
1375
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
|
|
@@ -1377,6 +1466,7 @@ export interface CachePolicyConfig {
|
|
|
1377
1466
|
*/
|
|
1378
1467
|
MinTTL: number | undefined;
|
|
1379
1468
|
/**
|
|
1469
|
+
* @public
|
|
1380
1470
|
* <p>The HTTP headers, cookies, and URL query strings to include in the cache key. The values
|
|
1381
1471
|
* included in the cache key are also included in requests that CloudFront sends to the
|
|
1382
1472
|
* origin.</p>
|
|
@@ -1407,14 +1497,17 @@ export interface CachePolicyConfig {
|
|
|
1407
1497
|
*/
|
|
1408
1498
|
export interface CachePolicy {
|
|
1409
1499
|
/**
|
|
1500
|
+
* @public
|
|
1410
1501
|
* <p>The unique identifier for the cache policy.</p>
|
|
1411
1502
|
*/
|
|
1412
1503
|
Id: string | undefined;
|
|
1413
1504
|
/**
|
|
1505
|
+
* @public
|
|
1414
1506
|
* <p>The date and time when the cache policy was last modified.</p>
|
|
1415
1507
|
*/
|
|
1416
1508
|
LastModifiedTime: Date | undefined;
|
|
1417
1509
|
/**
|
|
1510
|
+
* @public
|
|
1418
1511
|
* <p>The cache policy configuration.</p>
|
|
1419
1512
|
*/
|
|
1420
1513
|
CachePolicyConfig: CachePolicyConfig | undefined;
|
|
@@ -1465,11 +1558,13 @@ export type CachePolicyType = (typeof CachePolicyType)[keyof typeof CachePolicyT
|
|
|
1465
1558
|
*/
|
|
1466
1559
|
export interface CachePolicySummary {
|
|
1467
1560
|
/**
|
|
1561
|
+
* @public
|
|
1468
1562
|
* <p>The type of cache policy, either <code>managed</code> (created by Amazon Web Services) or
|
|
1469
1563
|
* <code>custom</code> (created in this Amazon Web Services account).</p>
|
|
1470
1564
|
*/
|
|
1471
1565
|
Type: CachePolicyType | string | undefined;
|
|
1472
1566
|
/**
|
|
1567
|
+
* @public
|
|
1473
1568
|
* <p>The cache policy.</p>
|
|
1474
1569
|
*/
|
|
1475
1570
|
CachePolicy: CachePolicy | undefined;
|
|
@@ -1480,20 +1575,24 @@ export interface CachePolicySummary {
|
|
|
1480
1575
|
*/
|
|
1481
1576
|
export interface CachePolicyList {
|
|
1482
1577
|
/**
|
|
1578
|
+
* @public
|
|
1483
1579
|
* <p>If there are more items in the list than are in this response, this element is
|
|
1484
1580
|
* present. It contains the value that you should use in the <code>Marker</code> field of a
|
|
1485
1581
|
* subsequent request to continue listing cache policies where you left off.</p>
|
|
1486
1582
|
*/
|
|
1487
1583
|
NextMarker?: string;
|
|
1488
1584
|
/**
|
|
1585
|
+
* @public
|
|
1489
1586
|
* <p>The maximum number of cache policies requested.</p>
|
|
1490
1587
|
*/
|
|
1491
1588
|
MaxItems: number | undefined;
|
|
1492
1589
|
/**
|
|
1590
|
+
* @public
|
|
1493
1591
|
* <p>The total number of cache policies returned in the response.</p>
|
|
1494
1592
|
*/
|
|
1495
1593
|
Quantity: number | undefined;
|
|
1496
1594
|
/**
|
|
1595
|
+
* @public
|
|
1497
1596
|
* <p>Contains the cache policies in the list.</p>
|
|
1498
1597
|
*/
|
|
1499
1598
|
Items?: CachePolicySummary[];
|
|
@@ -1542,29 +1641,34 @@ export declare class CNAMEAlreadyExists extends __BaseException {
|
|
|
1542
1641
|
*/
|
|
1543
1642
|
export interface CopyDistributionRequest {
|
|
1544
1643
|
/**
|
|
1644
|
+
* @public
|
|
1545
1645
|
* <p>The identifier of the primary distribution whose configuration you are copying. To get
|
|
1546
1646
|
* a distribution ID, use <code>ListDistributions</code>.</p>
|
|
1547
1647
|
*/
|
|
1548
1648
|
PrimaryDistributionId: string | undefined;
|
|
1549
1649
|
/**
|
|
1650
|
+
* @public
|
|
1550
1651
|
* <p>The type of distribution that your primary distribution will be copied to. The only
|
|
1551
1652
|
* valid value is <code>True</code>, indicating that you are copying to a staging
|
|
1552
1653
|
* distribution.</p>
|
|
1553
1654
|
*/
|
|
1554
1655
|
Staging?: boolean;
|
|
1555
1656
|
/**
|
|
1657
|
+
* @public
|
|
1556
1658
|
* <p>The version identifier of the primary distribution whose configuration you are
|
|
1557
1659
|
* copying. This is the <code>ETag</code> value returned in the response to
|
|
1558
1660
|
* <code>GetDistribution</code> and <code>GetDistributionConfig</code>.</p>
|
|
1559
1661
|
*/
|
|
1560
1662
|
IfMatch?: string;
|
|
1561
1663
|
/**
|
|
1664
|
+
* @public
|
|
1562
1665
|
* <p>A value that uniquely identifies a request to create a resource. This helps to prevent
|
|
1563
1666
|
* CloudFront from creating a duplicate resource if you accidentally resubmit an identical
|
|
1564
1667
|
* request.</p>
|
|
1565
1668
|
*/
|
|
1566
1669
|
CallerReference: string | undefined;
|
|
1567
1670
|
/**
|
|
1671
|
+
* @public
|
|
1568
1672
|
* <p>A Boolean flag to specify the state of the staging distribution when it's
|
|
1569
1673
|
* created. When you set this value to <code>True</code>, the staging
|
|
1570
1674
|
* distribution is enabled. When you set this value to <code>False</code>, the
|
|
@@ -1590,11 +1694,13 @@ export interface CopyDistributionRequest {
|
|
|
1590
1694
|
*/
|
|
1591
1695
|
export interface CustomErrorResponse {
|
|
1592
1696
|
/**
|
|
1697
|
+
* @public
|
|
1593
1698
|
* <p>The HTTP status code for which you want to specify a custom error page and/or a
|
|
1594
1699
|
* caching duration.</p>
|
|
1595
1700
|
*/
|
|
1596
1701
|
ErrorCode: number | undefined;
|
|
1597
1702
|
/**
|
|
1703
|
+
* @public
|
|
1598
1704
|
* <p>The path to the custom error page that you want CloudFront to return to a viewer when your
|
|
1599
1705
|
* origin returns the HTTP status code specified by <code>ErrorCode</code>, for example,
|
|
1600
1706
|
* <code>/4xx-errors/403-forbidden.html</code>. If you want to store your objects and
|
|
@@ -1624,6 +1730,7 @@ export interface CustomErrorResponse {
|
|
|
1624
1730
|
*/
|
|
1625
1731
|
ResponsePagePath?: string;
|
|
1626
1732
|
/**
|
|
1733
|
+
* @public
|
|
1627
1734
|
* <p>The HTTP status code that you want CloudFront to return to the viewer along with the custom
|
|
1628
1735
|
* error page. There are a variety of reasons that you might want CloudFront to return a status
|
|
1629
1736
|
* code different from the status code that your origin returned to CloudFront, for
|
|
@@ -1650,6 +1757,7 @@ export interface CustomErrorResponse {
|
|
|
1650
1757
|
*/
|
|
1651
1758
|
ResponseCode?: string;
|
|
1652
1759
|
/**
|
|
1760
|
+
* @public
|
|
1653
1761
|
* <p>The minimum amount of time, in seconds, that you want CloudFront to cache the HTTP status
|
|
1654
1762
|
* code specified in <code>ErrorCode</code>. When this time period has elapsed, CloudFront
|
|
1655
1763
|
* queries your origin to see whether the problem that caused the error has been resolved
|
|
@@ -1676,12 +1784,14 @@ export interface CustomErrorResponse {
|
|
|
1676
1784
|
*/
|
|
1677
1785
|
export interface CustomErrorResponses {
|
|
1678
1786
|
/**
|
|
1787
|
+
* @public
|
|
1679
1788
|
* <p>The number of HTTP status codes for which you want to specify a custom error page
|
|
1680
1789
|
* and/or a caching duration. If <code>Quantity</code> is <code>0</code>, you can omit
|
|
1681
1790
|
* <code>Items</code>.</p>
|
|
1682
1791
|
*/
|
|
1683
1792
|
Quantity: number | undefined;
|
|
1684
1793
|
/**
|
|
1794
|
+
* @public
|
|
1685
1795
|
* <p>A complex type that contains a <code>CustomErrorResponse</code> element for each HTTP
|
|
1686
1796
|
* status code for which you want to specify a custom error page and/or a caching duration.
|
|
1687
1797
|
* </p>
|
|
@@ -1697,11 +1807,13 @@ export interface CustomErrorResponses {
|
|
|
1697
1807
|
*/
|
|
1698
1808
|
export interface DefaultCacheBehavior {
|
|
1699
1809
|
/**
|
|
1810
|
+
* @public
|
|
1700
1811
|
* <p>The value of <code>ID</code> for the origin that you want CloudFront to route requests to
|
|
1701
1812
|
* when they use the default cache behavior.</p>
|
|
1702
1813
|
*/
|
|
1703
1814
|
TargetOriginId: string | undefined;
|
|
1704
1815
|
/**
|
|
1816
|
+
* @public
|
|
1705
1817
|
* <important>
|
|
1706
1818
|
* <p>We recommend using <code>TrustedKeyGroups</code> instead of
|
|
1707
1819
|
* <code>TrustedSigners</code>.</p>
|
|
@@ -1717,6 +1829,7 @@ export interface DefaultCacheBehavior {
|
|
|
1717
1829
|
*/
|
|
1718
1830
|
TrustedSigners?: TrustedSigners;
|
|
1719
1831
|
/**
|
|
1832
|
+
* @public
|
|
1720
1833
|
* <p>A list of key groups that CloudFront can use to validate signed URLs or signed
|
|
1721
1834
|
* cookies.</p>
|
|
1722
1835
|
* <p>When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed
|
|
@@ -1728,6 +1841,7 @@ export interface DefaultCacheBehavior {
|
|
|
1728
1841
|
*/
|
|
1729
1842
|
TrustedKeyGroups?: TrustedKeyGroups;
|
|
1730
1843
|
/**
|
|
1844
|
+
* @public
|
|
1731
1845
|
* <p>The protocol that viewers can use to access the files in the origin specified by
|
|
1732
1846
|
* <code>TargetOriginId</code> when a request matches the path pattern in
|
|
1733
1847
|
* <code>PathPattern</code>. You can specify the following options:</p>
|
|
@@ -1763,6 +1877,7 @@ export interface DefaultCacheBehavior {
|
|
|
1763
1877
|
*/
|
|
1764
1878
|
ViewerProtocolPolicy: ViewerProtocolPolicy | string | undefined;
|
|
1765
1879
|
/**
|
|
1880
|
+
* @public
|
|
1766
1881
|
* <p>A complex type that controls which HTTP methods CloudFront processes and forwards to your
|
|
1767
1882
|
* Amazon S3 bucket or your custom origin. There are three choices:</p>
|
|
1768
1883
|
* <ul>
|
|
@@ -1785,6 +1900,7 @@ export interface DefaultCacheBehavior {
|
|
|
1785
1900
|
*/
|
|
1786
1901
|
AllowedMethods?: AllowedMethods;
|
|
1787
1902
|
/**
|
|
1903
|
+
* @public
|
|
1788
1904
|
* <p>Indicates whether you want to distribute media files in the Microsoft Smooth Streaming
|
|
1789
1905
|
* format using the origin that is associated with this cache behavior. If so, specify
|
|
1790
1906
|
* <code>true</code>; if not, specify <code>false</code>. If you specify
|
|
@@ -1794,6 +1910,7 @@ export interface DefaultCacheBehavior {
|
|
|
1794
1910
|
*/
|
|
1795
1911
|
SmoothStreaming?: boolean;
|
|
1796
1912
|
/**
|
|
1913
|
+
* @public
|
|
1797
1914
|
* <p>Whether you want CloudFront to automatically compress certain files for this cache behavior.
|
|
1798
1915
|
* If so, specify <code>true</code>; if not, specify <code>false</code>. For more
|
|
1799
1916
|
* information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html">Serving
|
|
@@ -1801,29 +1918,34 @@ export interface DefaultCacheBehavior {
|
|
|
1801
1918
|
*/
|
|
1802
1919
|
Compress?: boolean;
|
|
1803
1920
|
/**
|
|
1921
|
+
* @public
|
|
1804
1922
|
* <p>A complex type that contains zero or more Lambda@Edge function associations for a
|
|
1805
1923
|
* cache behavior.</p>
|
|
1806
1924
|
*/
|
|
1807
1925
|
LambdaFunctionAssociations?: LambdaFunctionAssociations;
|
|
1808
1926
|
/**
|
|
1927
|
+
* @public
|
|
1809
1928
|
* <p>A list of CloudFront functions that are associated with this cache behavior. CloudFront functions
|
|
1810
1929
|
* must be published to the <code>LIVE</code> stage to associate them with a cache
|
|
1811
1930
|
* behavior.</p>
|
|
1812
1931
|
*/
|
|
1813
1932
|
FunctionAssociations?: FunctionAssociations;
|
|
1814
1933
|
/**
|
|
1934
|
+
* @public
|
|
1815
1935
|
* <p>The value of <code>ID</code> for the field-level encryption configuration that you
|
|
1816
1936
|
* want CloudFront to use for encrypting specific fields of data for the default cache
|
|
1817
1937
|
* behavior.</p>
|
|
1818
1938
|
*/
|
|
1819
1939
|
FieldLevelEncryptionId?: string;
|
|
1820
1940
|
/**
|
|
1941
|
+
* @public
|
|
1821
1942
|
* <p>The Amazon Resource Name (ARN) of the real-time log configuration that is attached to
|
|
1822
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
|
|
1823
1944
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
1824
1945
|
*/
|
|
1825
1946
|
RealtimeLogConfigArn?: string;
|
|
1826
1947
|
/**
|
|
1948
|
+
* @public
|
|
1827
1949
|
* <p>The unique identifier of the cache policy that is attached to the default cache
|
|
1828
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
|
|
1829
1951
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
@@ -1833,16 +1955,19 @@ export interface DefaultCacheBehavior {
|
|
|
1833
1955
|
*/
|
|
1834
1956
|
CachePolicyId?: string;
|
|
1835
1957
|
/**
|
|
1958
|
+
* @public
|
|
1836
1959
|
* <p>The unique identifier of the origin request policy that is attached to the default
|
|
1837
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
|
|
1838
1961
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
1839
1962
|
*/
|
|
1840
1963
|
OriginRequestPolicyId?: string;
|
|
1841
1964
|
/**
|
|
1965
|
+
* @public
|
|
1842
1966
|
* <p>The identifier for a response headers policy.</p>
|
|
1843
1967
|
*/
|
|
1844
1968
|
ResponseHeadersPolicyId?: string;
|
|
1845
1969
|
/**
|
|
1970
|
+
* @public
|
|
1846
1971
|
* @deprecated
|
|
1847
1972
|
*
|
|
1848
1973
|
* <p>This field is deprecated. We recommend that you use a cache policy or an origin
|
|
@@ -1862,6 +1987,7 @@ export interface DefaultCacheBehavior {
|
|
|
1862
1987
|
*/
|
|
1863
1988
|
ForwardedValues?: ForwardedValues;
|
|
1864
1989
|
/**
|
|
1990
|
+
* @public
|
|
1865
1991
|
* @deprecated
|
|
1866
1992
|
*
|
|
1867
1993
|
* <p>This field is deprecated. We recommend that you use the <code>MinTTL</code> field in a
|
|
@@ -1879,6 +2005,7 @@ export interface DefaultCacheBehavior {
|
|
|
1879
2005
|
*/
|
|
1880
2006
|
MinTTL?: number;
|
|
1881
2007
|
/**
|
|
2008
|
+
* @public
|
|
1882
2009
|
* @deprecated
|
|
1883
2010
|
*
|
|
1884
2011
|
* <p>This field is deprecated. We recommend that you use the <code>DefaultTTL</code> field
|
|
@@ -1893,6 +2020,7 @@ export interface DefaultCacheBehavior {
|
|
|
1893
2020
|
*/
|
|
1894
2021
|
DefaultTTL?: number;
|
|
1895
2022
|
/**
|
|
2023
|
+
* @public
|
|
1896
2024
|
* @deprecated
|
|
1897
2025
|
*
|
|
1898
2026
|
* <p>This field is deprecated. We recommend that you use the <code>MaxTTL</code> field in a
|
|
@@ -1928,6 +2056,7 @@ export type HttpVersion = (typeof HttpVersion)[keyof typeof HttpVersion];
|
|
|
1928
2056
|
*/
|
|
1929
2057
|
export interface LoggingConfig {
|
|
1930
2058
|
/**
|
|
2059
|
+
* @public
|
|
1931
2060
|
* <p>Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you don't
|
|
1932
2061
|
* want to enable logging when you create a distribution or if you want to disable logging
|
|
1933
2062
|
* for an existing distribution, specify <code>false</code> for <code>Enabled</code>, and
|
|
@@ -1938,6 +2067,7 @@ export interface LoggingConfig {
|
|
|
1938
2067
|
*/
|
|
1939
2068
|
Enabled: boolean | undefined;
|
|
1940
2069
|
/**
|
|
2070
|
+
* @public
|
|
1941
2071
|
* <p>Specifies whether you want CloudFront to include cookies in access logs, specify
|
|
1942
2072
|
* <code>true</code> for <code>IncludeCookies</code>. If you choose to include cookies
|
|
1943
2073
|
* in logs, CloudFront logs all cookies regardless of how you configure the cache behaviors for
|
|
@@ -1947,11 +2077,13 @@ export interface LoggingConfig {
|
|
|
1947
2077
|
*/
|
|
1948
2078
|
IncludeCookies: boolean | undefined;
|
|
1949
2079
|
/**
|
|
2080
|
+
* @public
|
|
1950
2081
|
* <p>The Amazon S3 bucket to store the access logs in, for example,
|
|
1951
2082
|
* <code>myawslogbucket.s3.amazonaws.com</code>.</p>
|
|
1952
2083
|
*/
|
|
1953
2084
|
Bucket: string | undefined;
|
|
1954
2085
|
/**
|
|
2086
|
+
* @public
|
|
1955
2087
|
* <p>An optional string that you want CloudFront to prefix to the access log
|
|
1956
2088
|
* <code>filenames</code> for this distribution, for example, <code>myprefix/</code>.
|
|
1957
2089
|
* If you want to enable logging, but you don't want to specify a prefix, you still must
|
|
@@ -1966,10 +2098,12 @@ export interface LoggingConfig {
|
|
|
1966
2098
|
*/
|
|
1967
2099
|
export interface StatusCodes {
|
|
1968
2100
|
/**
|
|
2101
|
+
* @public
|
|
1969
2102
|
* <p>The number of status codes.</p>
|
|
1970
2103
|
*/
|
|
1971
2104
|
Quantity: number | undefined;
|
|
1972
2105
|
/**
|
|
2106
|
+
* @public
|
|
1973
2107
|
* <p>The items (status codes) for an origin group.</p>
|
|
1974
2108
|
*/
|
|
1975
2109
|
Items: number[] | undefined;
|
|
@@ -1982,6 +2116,7 @@ export interface StatusCodes {
|
|
|
1982
2116
|
*/
|
|
1983
2117
|
export interface OriginGroupFailoverCriteria {
|
|
1984
2118
|
/**
|
|
2119
|
+
* @public
|
|
1985
2120
|
* <p>The status codes that, when returned from the primary origin, will trigger CloudFront
|
|
1986
2121
|
* to failover to the second origin.</p>
|
|
1987
2122
|
*/
|
|
@@ -1993,6 +2128,7 @@ export interface OriginGroupFailoverCriteria {
|
|
|
1993
2128
|
*/
|
|
1994
2129
|
export interface OriginGroupMember {
|
|
1995
2130
|
/**
|
|
2131
|
+
* @public
|
|
1996
2132
|
* <p>The ID for an origin in an origin group.</p>
|
|
1997
2133
|
*/
|
|
1998
2134
|
OriginId: string | undefined;
|
|
@@ -2003,10 +2139,12 @@ export interface OriginGroupMember {
|
|
|
2003
2139
|
*/
|
|
2004
2140
|
export interface OriginGroupMembers {
|
|
2005
2141
|
/**
|
|
2142
|
+
* @public
|
|
2006
2143
|
* <p>The number of origins in an origin group.</p>
|
|
2007
2144
|
*/
|
|
2008
2145
|
Quantity: number | undefined;
|
|
2009
2146
|
/**
|
|
2147
|
+
* @public
|
|
2010
2148
|
* <p>Items (origins) in an origin group.</p>
|
|
2011
2149
|
*/
|
|
2012
2150
|
Items: OriginGroupMember[] | undefined;
|
|
@@ -2022,15 +2160,18 @@ export interface OriginGroupMembers {
|
|
|
2022
2160
|
*/
|
|
2023
2161
|
export interface OriginGroup {
|
|
2024
2162
|
/**
|
|
2163
|
+
* @public
|
|
2025
2164
|
* <p>The origin group's ID.</p>
|
|
2026
2165
|
*/
|
|
2027
2166
|
Id: string | undefined;
|
|
2028
2167
|
/**
|
|
2168
|
+
* @public
|
|
2029
2169
|
* <p>A complex type that contains information about the failover criteria for an origin
|
|
2030
2170
|
* group.</p>
|
|
2031
2171
|
*/
|
|
2032
2172
|
FailoverCriteria: OriginGroupFailoverCriteria | undefined;
|
|
2033
2173
|
/**
|
|
2174
|
+
* @public
|
|
2034
2175
|
* <p>A complex type that contains information about the origins in an origin group.</p>
|
|
2035
2176
|
*/
|
|
2036
2177
|
Members: OriginGroupMembers | undefined;
|
|
@@ -2041,10 +2182,12 @@ export interface OriginGroup {
|
|
|
2041
2182
|
*/
|
|
2042
2183
|
export interface OriginGroups {
|
|
2043
2184
|
/**
|
|
2185
|
+
* @public
|
|
2044
2186
|
* <p>The number of origin groups.</p>
|
|
2045
2187
|
*/
|
|
2046
2188
|
Quantity: number | undefined;
|
|
2047
2189
|
/**
|
|
2190
|
+
* @public
|
|
2048
2191
|
* <p>The items (origin groups) in a distribution.</p>
|
|
2049
2192
|
*/
|
|
2050
2193
|
Items?: OriginGroup[];
|
|
@@ -2056,6 +2199,7 @@ export interface OriginGroups {
|
|
|
2056
2199
|
*/
|
|
2057
2200
|
export interface OriginCustomHeader {
|
|
2058
2201
|
/**
|
|
2202
|
+
* @public
|
|
2059
2203
|
* <p>The name of a header that you want CloudFront to send to your origin. For more information,
|
|
2060
2204
|
* see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/forward-custom-headers.html">Adding
|
|
2061
2205
|
* Custom Headers to Origin Requests</a> in the <i>
|
|
@@ -2063,6 +2207,7 @@ export interface OriginCustomHeader {
|
|
|
2063
2207
|
*/
|
|
2064
2208
|
HeaderName: string | undefined;
|
|
2065
2209
|
/**
|
|
2210
|
+
* @public
|
|
2066
2211
|
* <p>The value for the header that you specified in the <code>HeaderName</code>
|
|
2067
2212
|
* field.</p>
|
|
2068
2213
|
*/
|
|
@@ -2074,10 +2219,12 @@ export interface OriginCustomHeader {
|
|
|
2074
2219
|
*/
|
|
2075
2220
|
export interface CustomHeaders {
|
|
2076
2221
|
/**
|
|
2222
|
+
* @public
|
|
2077
2223
|
* <p>The number of custom headers, if any, for this distribution.</p>
|
|
2078
2224
|
*/
|
|
2079
2225
|
Quantity: number | undefined;
|
|
2080
2226
|
/**
|
|
2227
|
+
* @public
|
|
2081
2228
|
* <p>
|
|
2082
2229
|
* <b>Optional</b>: A list that contains one
|
|
2083
2230
|
* <code>OriginCustomHeader</code> element for each custom header that you want CloudFront to
|
|
@@ -2119,11 +2266,13 @@ export type SslProtocol = (typeof SslProtocol)[keyof typeof SslProtocol];
|
|
|
2119
2266
|
*/
|
|
2120
2267
|
export interface OriginSslProtocols {
|
|
2121
2268
|
/**
|
|
2269
|
+
* @public
|
|
2122
2270
|
* <p>The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing
|
|
2123
2271
|
* an HTTPS connection with this origin.</p>
|
|
2124
2272
|
*/
|
|
2125
2273
|
Quantity: number | undefined;
|
|
2126
2274
|
/**
|
|
2275
|
+
* @public
|
|
2127
2276
|
* <p>A list that contains allowed SSL/TLS protocols for this distribution.</p>
|
|
2128
2277
|
*/
|
|
2129
2278
|
Items: (SslProtocol | string)[] | undefined;
|
|
@@ -2137,16 +2286,19 @@ export interface OriginSslProtocols {
|
|
|
2137
2286
|
*/
|
|
2138
2287
|
export interface CustomOriginConfig {
|
|
2139
2288
|
/**
|
|
2289
|
+
* @public
|
|
2140
2290
|
* <p>The HTTP port that CloudFront uses to connect to the origin. Specify the HTTP port that the
|
|
2141
2291
|
* origin listens on.</p>
|
|
2142
2292
|
*/
|
|
2143
2293
|
HTTPPort: number | undefined;
|
|
2144
2294
|
/**
|
|
2295
|
+
* @public
|
|
2145
2296
|
* <p>The HTTPS port that CloudFront uses to connect to the origin. Specify the HTTPS port that
|
|
2146
2297
|
* the origin listens on.</p>
|
|
2147
2298
|
*/
|
|
2148
2299
|
HTTPSPort: number | undefined;
|
|
2149
2300
|
/**
|
|
2301
|
+
* @public
|
|
2150
2302
|
* <p>Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Valid
|
|
2151
2303
|
* values are:</p>
|
|
2152
2304
|
* <ul>
|
|
@@ -2169,6 +2321,7 @@ export interface CustomOriginConfig {
|
|
|
2169
2321
|
*/
|
|
2170
2322
|
OriginProtocolPolicy: OriginProtocolPolicy | string | undefined;
|
|
2171
2323
|
/**
|
|
2324
|
+
* @public
|
|
2172
2325
|
* <p>Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin
|
|
2173
2326
|
* over HTTPS. Valid values include <code>SSLv3</code>, <code>TLSv1</code>,
|
|
2174
2327
|
* <code>TLSv1.1</code>, and <code>TLSv1.2</code>.</p>
|
|
@@ -2177,6 +2330,7 @@ export interface CustomOriginConfig {
|
|
|
2177
2330
|
*/
|
|
2178
2331
|
OriginSslProtocols?: OriginSslProtocols;
|
|
2179
2332
|
/**
|
|
2333
|
+
* @public
|
|
2180
2334
|
* <p>Specifies how long, in seconds, CloudFront waits for a response from the origin. This is
|
|
2181
2335
|
* also known as the <i>origin response timeout</i>. The minimum timeout is 1
|
|
2182
2336
|
* second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is
|
|
@@ -2186,6 +2340,7 @@ export interface CustomOriginConfig {
|
|
|
2186
2340
|
*/
|
|
2187
2341
|
OriginReadTimeout?: number;
|
|
2188
2342
|
/**
|
|
2343
|
+
* @public
|
|
2189
2344
|
* <p>Specifies how long, in seconds, CloudFront persists its connection to the origin. The
|
|
2190
2345
|
* minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't
|
|
2191
2346
|
* specify otherwise) is 5 seconds.</p>
|
|
@@ -2203,6 +2358,7 @@ export interface CustomOriginConfig {
|
|
|
2203
2358
|
*/
|
|
2204
2359
|
export interface OriginShield {
|
|
2205
2360
|
/**
|
|
2361
|
+
* @public
|
|
2206
2362
|
* <p>A flag that specifies whether Origin Shield is enabled.</p>
|
|
2207
2363
|
* <p>When it's enabled, CloudFront routes all requests through Origin Shield, which can help
|
|
2208
2364
|
* protect your origin. When it's disabled, CloudFront might send requests directly to your
|
|
@@ -2210,6 +2366,7 @@ export interface OriginShield {
|
|
|
2210
2366
|
*/
|
|
2211
2367
|
Enabled: boolean | undefined;
|
|
2212
2368
|
/**
|
|
2369
|
+
* @public
|
|
2213
2370
|
* <p>The Amazon Web Services Region for Origin Shield.</p>
|
|
2214
2371
|
* <p>Specify the Amazon Web Services Region that has the lowest latency to your origin. To specify a
|
|
2215
2372
|
* region, use the region code, not the region name. For example, specify the US East
|
|
@@ -2229,6 +2386,7 @@ export interface OriginShield {
|
|
|
2229
2386
|
*/
|
|
2230
2387
|
export interface S3OriginConfig {
|
|
2231
2388
|
/**
|
|
2389
|
+
* @public
|
|
2232
2390
|
* <p>The CloudFront origin access identity to associate with the origin. Use an origin access
|
|
2233
2391
|
* identity to configure the origin so that viewers can <i>only</i> access
|
|
2234
2392
|
* objects in an Amazon S3 bucket through CloudFront. The format of the value is:</p>
|
|
@@ -2291,6 +2449,7 @@ export interface S3OriginConfig {
|
|
|
2291
2449
|
*/
|
|
2292
2450
|
export interface Origin {
|
|
2293
2451
|
/**
|
|
2452
|
+
* @public
|
|
2294
2453
|
* <p>A unique identifier for the origin. This value must be unique within the
|
|
2295
2454
|
* distribution.</p>
|
|
2296
2455
|
* <p>Use this value to specify the <code>TargetOriginId</code> in a
|
|
@@ -2298,11 +2457,13 @@ export interface Origin {
|
|
|
2298
2457
|
*/
|
|
2299
2458
|
Id: string | undefined;
|
|
2300
2459
|
/**
|
|
2460
|
+
* @public
|
|
2301
2461
|
* <p>The domain name for the origin.</p>
|
|
2302
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>
|
|
2303
2463
|
*/
|
|
2304
2464
|
DomainName: string | undefined;
|
|
2305
2465
|
/**
|
|
2466
|
+
* @public
|
|
2306
2467
|
* <p>An optional path that CloudFront appends to the origin domain name when CloudFront requests
|
|
2307
2468
|
* content from the origin.</p>
|
|
2308
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
|
|
@@ -2310,6 +2471,7 @@ export interface Origin {
|
|
|
2310
2471
|
*/
|
|
2311
2472
|
OriginPath?: string;
|
|
2312
2473
|
/**
|
|
2474
|
+
* @public
|
|
2313
2475
|
* <p>A list of HTTP header names and values that CloudFront adds to the requests that it sends to
|
|
2314
2476
|
* the origin.</p>
|
|
2315
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
|
|
@@ -2317,6 +2479,7 @@ export interface Origin {
|
|
|
2317
2479
|
*/
|
|
2318
2480
|
CustomHeaders?: CustomHeaders;
|
|
2319
2481
|
/**
|
|
2482
|
+
* @public
|
|
2320
2483
|
* <p>Use this type to specify an origin that is an Amazon S3 bucket that is not configured with
|
|
2321
2484
|
* static website hosting. To specify any other type of origin, including an Amazon S3 bucket
|
|
2322
2485
|
* that is configured with static website hosting, use the <code>CustomOriginConfig</code>
|
|
@@ -2324,6 +2487,7 @@ export interface Origin {
|
|
|
2324
2487
|
*/
|
|
2325
2488
|
S3OriginConfig?: S3OriginConfig;
|
|
2326
2489
|
/**
|
|
2490
|
+
* @public
|
|
2327
2491
|
* <p>Use this type to specify an origin that is not an Amazon S3 bucket, with one exception. If
|
|
2328
2492
|
* the Amazon S3 bucket is configured with static website hosting, use this type. If the Amazon S3
|
|
2329
2493
|
* bucket is not configured with static website hosting, use the
|
|
@@ -2331,6 +2495,7 @@ export interface Origin {
|
|
|
2331
2495
|
*/
|
|
2332
2496
|
CustomOriginConfig?: CustomOriginConfig;
|
|
2333
2497
|
/**
|
|
2498
|
+
* @public
|
|
2334
2499
|
* <p>The number of times that CloudFront attempts to connect to the origin. The minimum number is
|
|
2335
2500
|
* 1, the maximum is 3, and the default (if you don't specify otherwise) is 3.</p>
|
|
2336
2501
|
* <p>For a custom origin (including an Amazon S3 bucket that's configured with static website
|
|
@@ -2341,6 +2506,7 @@ export interface Origin {
|
|
|
2341
2506
|
*/
|
|
2342
2507
|
ConnectionAttempts?: number;
|
|
2343
2508
|
/**
|
|
2509
|
+
* @public
|
|
2344
2510
|
* <p>The number of seconds that CloudFront waits when trying to establish a connection to the
|
|
2345
2511
|
* origin. The minimum timeout is 1 second, the maximum is 10 seconds, and the default (if
|
|
2346
2512
|
* you don't specify otherwise) is 10 seconds.</p>
|
|
@@ -2349,12 +2515,14 @@ export interface Origin {
|
|
|
2349
2515
|
*/
|
|
2350
2516
|
ConnectionTimeout?: number;
|
|
2351
2517
|
/**
|
|
2518
|
+
* @public
|
|
2352
2519
|
* <p>CloudFront Origin Shield. Using Origin Shield can help reduce the load on your
|
|
2353
2520
|
* origin.</p>
|
|
2354
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>
|
|
2355
2522
|
*/
|
|
2356
2523
|
OriginShield?: OriginShield;
|
|
2357
2524
|
/**
|
|
2525
|
+
* @public
|
|
2358
2526
|
* <p>The unique identifier of an origin access control for this origin.</p>
|
|
2359
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
|
|
2360
2528
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
@@ -2367,10 +2535,12 @@ export interface Origin {
|
|
|
2367
2535
|
*/
|
|
2368
2536
|
export interface Origins {
|
|
2369
2537
|
/**
|
|
2538
|
+
* @public
|
|
2370
2539
|
* <p>The number of origins for this distribution.</p>
|
|
2371
2540
|
*/
|
|
2372
2541
|
Quantity: number | undefined;
|
|
2373
2542
|
/**
|
|
2543
|
+
* @public
|
|
2374
2544
|
* <p>A list of origins.</p>
|
|
2375
2545
|
*/
|
|
2376
2546
|
Items: Origin[] | undefined;
|
|
@@ -2409,6 +2579,7 @@ export type GeoRestrictionType = (typeof GeoRestrictionType)[keyof typeof GeoRes
|
|
|
2409
2579
|
*/
|
|
2410
2580
|
export interface GeoRestriction {
|
|
2411
2581
|
/**
|
|
2582
|
+
* @public
|
|
2412
2583
|
* <p>The method that you want to use to restrict distribution of your content by
|
|
2413
2584
|
* country:</p>
|
|
2414
2585
|
* <ul>
|
|
@@ -2431,12 +2602,14 @@ export interface GeoRestriction {
|
|
|
2431
2602
|
*/
|
|
2432
2603
|
RestrictionType: GeoRestrictionType | string | undefined;
|
|
2433
2604
|
/**
|
|
2605
|
+
* @public
|
|
2434
2606
|
* <p>When geo restriction is <code>enabled</code>, this is the number of countries in your
|
|
2435
2607
|
* <code>whitelist</code> or <code>blacklist</code>. Otherwise, when it is not enabled,
|
|
2436
2608
|
* <code>Quantity</code> is <code>0</code>, and you can omit <code>Items</code>.</p>
|
|
2437
2609
|
*/
|
|
2438
2610
|
Quantity: number | undefined;
|
|
2439
2611
|
/**
|
|
2612
|
+
* @public
|
|
2440
2613
|
* <p>A complex type that contains a <code>Location</code> element for each country in
|
|
2441
2614
|
* which you want CloudFront either to distribute your content (<code>whitelist</code>) or not
|
|
2442
2615
|
* distribute your content (<code>blacklist</code>).</p>
|
|
@@ -2459,6 +2632,7 @@ export interface GeoRestriction {
|
|
|
2459
2632
|
*/
|
|
2460
2633
|
export interface Restrictions {
|
|
2461
2634
|
/**
|
|
2635
|
+
* @public
|
|
2462
2636
|
* <p>A complex type that controls the countries in which your content is distributed. CloudFront
|
|
2463
2637
|
* determines the location of your users using <code>MaxMind</code> GeoIP databases.</p>
|
|
2464
2638
|
*/
|
|
@@ -2558,6 +2732,7 @@ export type SSLSupportMethod = (typeof SSLSupportMethod)[keyof typeof SSLSupport
|
|
|
2558
2732
|
*/
|
|
2559
2733
|
export interface ViewerCertificate {
|
|
2560
2734
|
/**
|
|
2735
|
+
* @public
|
|
2561
2736
|
* <p>If the distribution uses the CloudFront domain name such as
|
|
2562
2737
|
* <code>d111111abcdef8.cloudfront.net</code>, set this field to
|
|
2563
2738
|
* <code>true</code>.</p>
|
|
@@ -2583,6 +2758,7 @@ export interface ViewerCertificate {
|
|
|
2583
2758
|
*/
|
|
2584
2759
|
CloudFrontDefaultCertificate?: boolean;
|
|
2585
2760
|
/**
|
|
2761
|
+
* @public
|
|
2586
2762
|
* <p>If the distribution uses <code>Aliases</code> (alternate domain names or CNAMEs) and
|
|
2587
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>
|
|
2588
2764
|
* <p>If you specify an IAM certificate ID, you must also specify values for
|
|
@@ -2590,6 +2766,7 @@ export interface ViewerCertificate {
|
|
|
2590
2766
|
*/
|
|
2591
2767
|
IAMCertificateId?: string;
|
|
2592
2768
|
/**
|
|
2769
|
+
* @public
|
|
2593
2770
|
* <p>If the distribution uses <code>Aliases</code> (alternate domain names or CNAMEs) and
|
|
2594
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
|
|
2595
2772
|
* (ARN) of the ACM certificate. CloudFront only supports ACM certificates in the US East
|
|
@@ -2599,6 +2776,7 @@ export interface ViewerCertificate {
|
|
|
2599
2776
|
*/
|
|
2600
2777
|
ACMCertificateArn?: string;
|
|
2601
2778
|
/**
|
|
2779
|
+
* @public
|
|
2602
2780
|
* <p>If the distribution uses <code>Aliases</code> (alternate domain names or CNAMEs),
|
|
2603
2781
|
* specify which viewers the distribution accepts HTTPS connections from.</p>
|
|
2604
2782
|
* <ul>
|
|
@@ -2628,6 +2806,7 @@ export interface ViewerCertificate {
|
|
|
2628
2806
|
*/
|
|
2629
2807
|
SSLSupportMethod?: SSLSupportMethod | string;
|
|
2630
2808
|
/**
|
|
2809
|
+
* @public
|
|
2631
2810
|
* <p>If the distribution uses <code>Aliases</code> (alternate domain names or CNAMEs),
|
|
2632
2811
|
* specify the security policy that you want CloudFront to use for HTTPS connections with
|
|
2633
2812
|
* viewers. The security policy determines two settings:</p>
|
|
@@ -2657,6 +2836,7 @@ export interface ViewerCertificate {
|
|
|
2657
2836
|
*/
|
|
2658
2837
|
MinimumProtocolVersion?: MinimumProtocolVersion | string;
|
|
2659
2838
|
/**
|
|
2839
|
+
* @public
|
|
2660
2840
|
* @deprecated
|
|
2661
2841
|
*
|
|
2662
2842
|
* <p>This field is deprecated. Use one of the following fields instead:</p>
|
|
@@ -2680,6 +2860,7 @@ export interface ViewerCertificate {
|
|
|
2680
2860
|
*/
|
|
2681
2861
|
Certificate?: string;
|
|
2682
2862
|
/**
|
|
2863
|
+
* @public
|
|
2683
2864
|
* @deprecated
|
|
2684
2865
|
*
|
|
2685
2866
|
* <p>This field is deprecated. Use one of the following fields instead:</p>
|
|
@@ -2709,6 +2890,7 @@ export interface ViewerCertificate {
|
|
|
2709
2890
|
*/
|
|
2710
2891
|
export interface DistributionConfig {
|
|
2711
2892
|
/**
|
|
2893
|
+
* @public
|
|
2712
2894
|
* <p>A unique value (for example, a date-time stamp) that ensures that the request can't be
|
|
2713
2895
|
* replayed.</p>
|
|
2714
2896
|
* <p>If the value of <code>CallerReference</code> is new (regardless of the content of the
|
|
@@ -2719,11 +2901,13 @@ export interface DistributionConfig {
|
|
|
2719
2901
|
*/
|
|
2720
2902
|
CallerReference: string | undefined;
|
|
2721
2903
|
/**
|
|
2904
|
+
* @public
|
|
2722
2905
|
* <p>A complex type that contains information about CNAMEs (alternate domain names), if
|
|
2723
2906
|
* any, for this distribution.</p>
|
|
2724
2907
|
*/
|
|
2725
2908
|
Aliases?: Aliases;
|
|
2726
2909
|
/**
|
|
2910
|
+
* @public
|
|
2727
2911
|
* <p>The object that you want CloudFront to request from your origin (for example,
|
|
2728
2912
|
* <code>index.html</code>) when a viewer requests the root URL for your distribution
|
|
2729
2913
|
* (<code>https://www.example.com</code>) instead of an object in your distribution
|
|
@@ -2743,15 +2927,18 @@ export interface DistributionConfig {
|
|
|
2743
2927
|
*/
|
|
2744
2928
|
DefaultRootObject?: string;
|
|
2745
2929
|
/**
|
|
2930
|
+
* @public
|
|
2746
2931
|
* <p>A complex type that contains information about origins for this distribution.</p>
|
|
2747
2932
|
*/
|
|
2748
2933
|
Origins: Origins | undefined;
|
|
2749
2934
|
/**
|
|
2935
|
+
* @public
|
|
2750
2936
|
* <p>A complex type that contains information about origin groups for this
|
|
2751
2937
|
* distribution.</p>
|
|
2752
2938
|
*/
|
|
2753
2939
|
OriginGroups?: OriginGroups;
|
|
2754
2940
|
/**
|
|
2941
|
+
* @public
|
|
2755
2942
|
* <p>A complex type that describes the default cache behavior if you don't specify a
|
|
2756
2943
|
* <code>CacheBehavior</code> element or if files don't match any of the values of
|
|
2757
2944
|
* <code>PathPattern</code> in <code>CacheBehavior</code> elements. You must create
|
|
@@ -2759,10 +2946,12 @@ export interface DistributionConfig {
|
|
|
2759
2946
|
*/
|
|
2760
2947
|
DefaultCacheBehavior: DefaultCacheBehavior | undefined;
|
|
2761
2948
|
/**
|
|
2949
|
+
* @public
|
|
2762
2950
|
* <p>A complex type that contains zero or more <code>CacheBehavior</code> elements.</p>
|
|
2763
2951
|
*/
|
|
2764
2952
|
CacheBehaviors?: CacheBehaviors;
|
|
2765
2953
|
/**
|
|
2954
|
+
* @public
|
|
2766
2955
|
* <p>A complex type that controls the following:</p>
|
|
2767
2956
|
* <ul>
|
|
2768
2957
|
* <li>
|
|
@@ -2778,11 +2967,13 @@ export interface DistributionConfig {
|
|
|
2778
2967
|
*/
|
|
2779
2968
|
CustomErrorResponses?: CustomErrorResponses;
|
|
2780
2969
|
/**
|
|
2970
|
+
* @public
|
|
2781
2971
|
* <p>A comment to describe the distribution. The comment cannot be longer than
|
|
2782
2972
|
* 128 characters.</p>
|
|
2783
2973
|
*/
|
|
2784
2974
|
Comment: string | undefined;
|
|
2785
2975
|
/**
|
|
2976
|
+
* @public
|
|
2786
2977
|
* <p>A complex type that controls whether access logs are written for the
|
|
2787
2978
|
* distribution.</p>
|
|
2788
2979
|
* <p>For more information about logging, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html">Access Logs</a> in
|
|
@@ -2790,6 +2981,7 @@ export interface DistributionConfig {
|
|
|
2790
2981
|
*/
|
|
2791
2982
|
Logging?: LoggingConfig;
|
|
2792
2983
|
/**
|
|
2984
|
+
* @public
|
|
2793
2985
|
* <p>The price class that corresponds with the maximum price that you want to pay for CloudFront
|
|
2794
2986
|
* service. If you specify <code>PriceClass_All</code>, CloudFront responds to requests for your
|
|
2795
2987
|
* objects from all CloudFront edge locations.</p>
|
|
@@ -2805,20 +2997,24 @@ export interface DistributionConfig {
|
|
|
2805
2997
|
*/
|
|
2806
2998
|
PriceClass?: PriceClass | string;
|
|
2807
2999
|
/**
|
|
3000
|
+
* @public
|
|
2808
3001
|
* <p>From this field, you can enable or disable the selected distribution.</p>
|
|
2809
3002
|
*/
|
|
2810
3003
|
Enabled: boolean | undefined;
|
|
2811
3004
|
/**
|
|
3005
|
+
* @public
|
|
2812
3006
|
* <p>A complex type that determines the distribution's SSL/TLS configuration for
|
|
2813
3007
|
* communicating with viewers.</p>
|
|
2814
3008
|
*/
|
|
2815
3009
|
ViewerCertificate?: ViewerCertificate;
|
|
2816
3010
|
/**
|
|
3011
|
+
* @public
|
|
2817
3012
|
* <p>A complex type that identifies ways in which you want to restrict distribution of your
|
|
2818
3013
|
* content.</p>
|
|
2819
3014
|
*/
|
|
2820
3015
|
Restrictions?: Restrictions;
|
|
2821
3016
|
/**
|
|
3017
|
+
* @public
|
|
2822
3018
|
* <p>A unique identifier that specifies the WAF web ACL, if any, to associate with this
|
|
2823
3019
|
* distribution. To specify a web ACL created using the latest version of WAF, use the
|
|
2824
3020
|
* ACL ARN, for example
|
|
@@ -2835,6 +3031,7 @@ export interface DistributionConfig {
|
|
|
2835
3031
|
*/
|
|
2836
3032
|
WebACLId?: string;
|
|
2837
3033
|
/**
|
|
3034
|
+
* @public
|
|
2838
3035
|
* <p>(Optional) Specify the maximum HTTP version(s) that you want viewers to use to
|
|
2839
3036
|
* communicate with CloudFront. The default value for new web distributions is
|
|
2840
3037
|
* <code>http2</code>. Viewers that don't support HTTP/2 automatically use an earlier HTTP
|
|
@@ -2849,6 +3046,7 @@ export interface DistributionConfig {
|
|
|
2849
3046
|
*/
|
|
2850
3047
|
HttpVersion?: HttpVersion | string;
|
|
2851
3048
|
/**
|
|
3049
|
+
* @public
|
|
2852
3050
|
* <p>If you want CloudFront to respond to IPv6 DNS requests with an IPv6 address for your
|
|
2853
3051
|
* distribution, specify <code>true</code>. If you specify <code>false</code>, CloudFront
|
|
2854
3052
|
* responds to IPv6 DNS requests with the DNS response code <code>NOERROR</code> and with
|
|
@@ -2882,11 +3080,13 @@ export interface DistributionConfig {
|
|
|
2882
3080
|
*/
|
|
2883
3081
|
IsIPV6Enabled?: boolean;
|
|
2884
3082
|
/**
|
|
3083
|
+
* @public
|
|
2885
3084
|
* <p>The identifier of a continuous deployment policy. For more information, see
|
|
2886
3085
|
* <code>CreateContinuousDeploymentPolicy</code>.</p>
|
|
2887
3086
|
*/
|
|
2888
3087
|
ContinuousDeploymentPolicyId?: string;
|
|
2889
3088
|
/**
|
|
3089
|
+
* @public
|
|
2890
3090
|
* <p>A Boolean that indicates whether this is a staging distribution. When this value is
|
|
2891
3091
|
* <code>true</code>, this is a staging distribution. When this value is
|
|
2892
3092
|
* <code>false</code>, this is not a staging distribution.</p>
|
|
@@ -2900,32 +3100,39 @@ export interface DistributionConfig {
|
|
|
2900
3100
|
*/
|
|
2901
3101
|
export interface Distribution {
|
|
2902
3102
|
/**
|
|
3103
|
+
* @public
|
|
2903
3104
|
* <p>The distribution's identifier. For example: <code>E1U5RQF7T870K0</code>.</p>
|
|
2904
3105
|
*/
|
|
2905
3106
|
Id: string | undefined;
|
|
2906
3107
|
/**
|
|
3108
|
+
* @public
|
|
2907
3109
|
* <p>The distribution's Amazon Resource Name (ARN).</p>
|
|
2908
3110
|
*/
|
|
2909
3111
|
ARN: string | undefined;
|
|
2910
3112
|
/**
|
|
3113
|
+
* @public
|
|
2911
3114
|
* <p>The distribution's status. When the status is <code>Deployed</code>, the
|
|
2912
3115
|
* distribution's information is fully propagated to all CloudFront edge locations.</p>
|
|
2913
3116
|
*/
|
|
2914
3117
|
Status: string | undefined;
|
|
2915
3118
|
/**
|
|
3119
|
+
* @public
|
|
2916
3120
|
* <p>The date and time when the distribution was last modified.</p>
|
|
2917
3121
|
*/
|
|
2918
3122
|
LastModifiedTime: Date | undefined;
|
|
2919
3123
|
/**
|
|
3124
|
+
* @public
|
|
2920
3125
|
* <p>The number of invalidation batches currently in progress.</p>
|
|
2921
3126
|
*/
|
|
2922
3127
|
InProgressInvalidationBatches: number | undefined;
|
|
2923
3128
|
/**
|
|
3129
|
+
* @public
|
|
2924
3130
|
* <p>The distribution's CloudFront domain name. For example:
|
|
2925
3131
|
* <code>d111111abcdef8.cloudfront.net</code>.</p>
|
|
2926
3132
|
*/
|
|
2927
3133
|
DomainName: string | undefined;
|
|
2928
3134
|
/**
|
|
3135
|
+
* @public
|
|
2929
3136
|
* <important>
|
|
2930
3137
|
* <p>We recommend using <code>TrustedKeyGroups</code> instead of
|
|
2931
3138
|
* <code>TrustedSigners</code>.</p>
|
|
@@ -2936,15 +3143,18 @@ export interface Distribution {
|
|
|
2936
3143
|
*/
|
|
2937
3144
|
ActiveTrustedSigners?: ActiveTrustedSigners;
|
|
2938
3145
|
/**
|
|
3146
|
+
* @public
|
|
2939
3147
|
* <p>This field contains a list of key groups and the public keys in each key group that
|
|
2940
3148
|
* CloudFront can use to verify the signatures of signed URLs or signed cookies.</p>
|
|
2941
3149
|
*/
|
|
2942
3150
|
ActiveTrustedKeyGroups?: ActiveTrustedKeyGroups;
|
|
2943
3151
|
/**
|
|
3152
|
+
* @public
|
|
2944
3153
|
* <p>The distribution's configuration.</p>
|
|
2945
3154
|
*/
|
|
2946
3155
|
DistributionConfig: DistributionConfig | undefined;
|
|
2947
3156
|
/**
|
|
3157
|
+
* @public
|
|
2948
3158
|
* <p>Amazon Web Services services in China customers must file for an Internet Content Provider (ICP)
|
|
2949
3159
|
* recordal if they want to serve content publicly on an alternate domain name, also known
|
|
2950
3160
|
* as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal
|
|
@@ -2959,15 +3169,18 @@ export interface Distribution {
|
|
|
2959
3169
|
*/
|
|
2960
3170
|
export interface CopyDistributionResult {
|
|
2961
3171
|
/**
|
|
3172
|
+
* @public
|
|
2962
3173
|
* <p>A distribution tells CloudFront where you want content to be delivered from, and the details
|
|
2963
3174
|
* about how to track and manage content delivery.</p>
|
|
2964
3175
|
*/
|
|
2965
3176
|
Distribution?: Distribution;
|
|
2966
3177
|
/**
|
|
3178
|
+
* @public
|
|
2967
3179
|
* <p>The URL of the staging distribution.</p>
|
|
2968
3180
|
*/
|
|
2969
3181
|
Location?: string;
|
|
2970
3182
|
/**
|
|
3183
|
+
* @public
|
|
2971
3184
|
* <p>The version identifier for the current version of the staging distribution.</p>
|
|
2972
3185
|
*/
|
|
2973
3186
|
ETag?: string;
|
|
@@ -3784,6 +3997,7 @@ export declare class TrustedSignerDoesNotExist extends __BaseException {
|
|
|
3784
3997
|
*/
|
|
3785
3998
|
export interface CreateCachePolicyRequest {
|
|
3786
3999
|
/**
|
|
4000
|
+
* @public
|
|
3787
4001
|
* <p>A cache policy configuration.</p>
|
|
3788
4002
|
*/
|
|
3789
4003
|
CachePolicyConfig: CachePolicyConfig | undefined;
|
|
@@ -3793,14 +4007,17 @@ export interface CreateCachePolicyRequest {
|
|
|
3793
4007
|
*/
|
|
3794
4008
|
export interface CreateCachePolicyResult {
|
|
3795
4009
|
/**
|
|
4010
|
+
* @public
|
|
3796
4011
|
* <p>A cache policy.</p>
|
|
3797
4012
|
*/
|
|
3798
4013
|
CachePolicy?: CachePolicy;
|
|
3799
4014
|
/**
|
|
4015
|
+
* @public
|
|
3800
4016
|
* <p>The fully qualified URI of the cache policy just created.</p>
|
|
3801
4017
|
*/
|
|
3802
4018
|
Location?: string;
|
|
3803
4019
|
/**
|
|
4020
|
+
* @public
|
|
3804
4021
|
* <p>The current version of the cache policy.</p>
|
|
3805
4022
|
*/
|
|
3806
4023
|
ETag?: string;
|
|
@@ -3890,6 +4107,7 @@ export declare class CloudFrontOriginAccessIdentityAlreadyExists extends __BaseE
|
|
|
3890
4107
|
*/
|
|
3891
4108
|
export interface CloudFrontOriginAccessIdentityConfig {
|
|
3892
4109
|
/**
|
|
4110
|
+
* @public
|
|
3893
4111
|
* <p>A unique value (for example, a date-time stamp) that ensures that the request can't be
|
|
3894
4112
|
* replayed.</p>
|
|
3895
4113
|
* <p>If the value of <code>CallerReference</code> is new (regardless of the content of the
|
|
@@ -3907,6 +4125,7 @@ export interface CloudFrontOriginAccessIdentityConfig {
|
|
|
3907
4125
|
*/
|
|
3908
4126
|
CallerReference: string | undefined;
|
|
3909
4127
|
/**
|
|
4128
|
+
* @public
|
|
3910
4129
|
* <p>A comment to describe the origin access identity. The comment cannot be longer than
|
|
3911
4130
|
* 128 characters.</p>
|
|
3912
4131
|
*/
|
|
@@ -3921,6 +4140,7 @@ export interface CloudFrontOriginAccessIdentityConfig {
|
|
|
3921
4140
|
*/
|
|
3922
4141
|
export interface CreateCloudFrontOriginAccessIdentityRequest {
|
|
3923
4142
|
/**
|
|
4143
|
+
* @public
|
|
3924
4144
|
* <p>The current configuration information for the identity.</p>
|
|
3925
4145
|
*/
|
|
3926
4146
|
CloudFrontOriginAccessIdentityConfig: CloudFrontOriginAccessIdentityConfig | undefined;
|
|
@@ -3931,16 +4151,19 @@ export interface CreateCloudFrontOriginAccessIdentityRequest {
|
|
|
3931
4151
|
*/
|
|
3932
4152
|
export interface CloudFrontOriginAccessIdentity {
|
|
3933
4153
|
/**
|
|
4154
|
+
* @public
|
|
3934
4155
|
* <p>The ID for the origin access identity, for example, <code>E74FTE3AJFJ256A</code>.
|
|
3935
4156
|
* </p>
|
|
3936
4157
|
*/
|
|
3937
4158
|
Id: string | undefined;
|
|
3938
4159
|
/**
|
|
4160
|
+
* @public
|
|
3939
4161
|
* <p>The Amazon S3 canonical user ID for the origin access identity, used when giving the origin
|
|
3940
4162
|
* access identity read permission to an object in Amazon S3.</p>
|
|
3941
4163
|
*/
|
|
3942
4164
|
S3CanonicalUserId: string | undefined;
|
|
3943
4165
|
/**
|
|
4166
|
+
* @public
|
|
3944
4167
|
* <p>The current configuration information for the identity.</p>
|
|
3945
4168
|
*/
|
|
3946
4169
|
CloudFrontOriginAccessIdentityConfig?: CloudFrontOriginAccessIdentityConfig;
|
|
@@ -3951,14 +4174,17 @@ export interface CloudFrontOriginAccessIdentity {
|
|
|
3951
4174
|
*/
|
|
3952
4175
|
export interface CreateCloudFrontOriginAccessIdentityResult {
|
|
3953
4176
|
/**
|
|
4177
|
+
* @public
|
|
3954
4178
|
* <p>The origin access identity's information.</p>
|
|
3955
4179
|
*/
|
|
3956
4180
|
CloudFrontOriginAccessIdentity?: CloudFrontOriginAccessIdentity;
|
|
3957
4181
|
/**
|
|
4182
|
+
* @public
|
|
3958
4183
|
* <p>The fully qualified URI of the new origin access identity just created.</p>
|
|
3959
4184
|
*/
|
|
3960
4185
|
Location?: string;
|
|
3961
4186
|
/**
|
|
4187
|
+
* @public
|
|
3962
4188
|
* <p>The current version of the origin access identity created.</p>
|
|
3963
4189
|
*/
|
|
3964
4190
|
ETag?: string;
|
|
@@ -3996,10 +4222,12 @@ export declare class ContinuousDeploymentPolicyAlreadyExists extends __BaseExcep
|
|
|
3996
4222
|
*/
|
|
3997
4223
|
export interface StagingDistributionDnsNames {
|
|
3998
4224
|
/**
|
|
4225
|
+
* @public
|
|
3999
4226
|
* <p>The number of CloudFront domain names in your staging distribution.</p>
|
|
4000
4227
|
*/
|
|
4001
4228
|
Quantity: number | undefined;
|
|
4002
4229
|
/**
|
|
4230
|
+
* @public
|
|
4003
4231
|
* <p>The CloudFront domain name of the staging distribution.</p>
|
|
4004
4232
|
*/
|
|
4005
4233
|
Items?: string[];
|
|
@@ -4013,11 +4241,13 @@ export interface StagingDistributionDnsNames {
|
|
|
4013
4241
|
*/
|
|
4014
4242
|
export interface ContinuousDeploymentSingleHeaderConfig {
|
|
4015
4243
|
/**
|
|
4244
|
+
* @public
|
|
4016
4245
|
* <p>The request header name that you want CloudFront to send to your staging
|
|
4017
4246
|
* distribution. The header must contain the prefix <code>aws-cf-cd-</code>.</p>
|
|
4018
4247
|
*/
|
|
4019
4248
|
Header: string | undefined;
|
|
4020
4249
|
/**
|
|
4250
|
+
* @public
|
|
4021
4251
|
* <p>The request header value.</p>
|
|
4022
4252
|
*/
|
|
4023
4253
|
Value: string | undefined;
|
|
@@ -4031,12 +4261,14 @@ export interface ContinuousDeploymentSingleHeaderConfig {
|
|
|
4031
4261
|
*/
|
|
4032
4262
|
export interface SessionStickinessConfig {
|
|
4033
4263
|
/**
|
|
4264
|
+
* @public
|
|
4034
4265
|
* <p>The amount of time after which you want sessions to cease if no requests are
|
|
4035
4266
|
* received. Allowed values are 300–3600 seconds (5–60 minutes).</p>
|
|
4036
4267
|
* <p>The value must be less than or equal to <code>MaximumTTL</code>.</p>
|
|
4037
4268
|
*/
|
|
4038
4269
|
IdleTTL: number | undefined;
|
|
4039
4270
|
/**
|
|
4271
|
+
* @public
|
|
4040
4272
|
* <p>The maximum amount of time to consider requests from the viewer as being part of the
|
|
4041
4273
|
* same session. Allowed values are 300–3600 seconds (5–60 minutes).</p>
|
|
4042
4274
|
* <p>The value must be less than or equal to <code>IdleTTL</code>.</p>
|
|
@@ -4049,11 +4281,13 @@ export interface SessionStickinessConfig {
|
|
|
4049
4281
|
*/
|
|
4050
4282
|
export interface ContinuousDeploymentSingleWeightConfig {
|
|
4051
4283
|
/**
|
|
4284
|
+
* @public
|
|
4052
4285
|
* <p>The percentage of traffic to send to a staging distribution, expressed as a decimal
|
|
4053
4286
|
* number between 0 and .15.</p>
|
|
4054
4287
|
*/
|
|
4055
4288
|
Weight: number | undefined;
|
|
4056
4289
|
/**
|
|
4290
|
+
* @public
|
|
4057
4291
|
* <p>Session stickiness provides the ability to define multiple requests from a single
|
|
4058
4292
|
* viewer as a single session. This prevents the potentially inconsistent experience of
|
|
4059
4293
|
* sending some of a given user's requests to your staging distribution, while others are
|
|
@@ -4079,14 +4313,17 @@ export type ContinuousDeploymentPolicyType = (typeof ContinuousDeploymentPolicyT
|
|
|
4079
4313
|
*/
|
|
4080
4314
|
export interface TrafficConfig {
|
|
4081
4315
|
/**
|
|
4316
|
+
* @public
|
|
4082
4317
|
* <p>Contains the percentage of traffic to send to the staging distribution.</p>
|
|
4083
4318
|
*/
|
|
4084
4319
|
SingleWeightConfig?: ContinuousDeploymentSingleWeightConfig;
|
|
4085
4320
|
/**
|
|
4321
|
+
* @public
|
|
4086
4322
|
* <p>Determines which HTTP requests are sent to the staging distribution.</p>
|
|
4087
4323
|
*/
|
|
4088
4324
|
SingleHeaderConfig?: ContinuousDeploymentSingleHeaderConfig;
|
|
4089
4325
|
/**
|
|
4326
|
+
* @public
|
|
4090
4327
|
* <p>The type of traffic configuration.</p>
|
|
4091
4328
|
*/
|
|
4092
4329
|
Type: ContinuousDeploymentPolicyType | string | undefined;
|
|
@@ -4097,11 +4334,13 @@ export interface TrafficConfig {
|
|
|
4097
4334
|
*/
|
|
4098
4335
|
export interface ContinuousDeploymentPolicyConfig {
|
|
4099
4336
|
/**
|
|
4337
|
+
* @public
|
|
4100
4338
|
* <p>The CloudFront domain name of the staging distribution. For example:
|
|
4101
4339
|
* <code>d111111abcdef8.cloudfront.net</code>.</p>
|
|
4102
4340
|
*/
|
|
4103
4341
|
StagingDistributionDnsNames: StagingDistributionDnsNames | undefined;
|
|
4104
4342
|
/**
|
|
4343
|
+
* @public
|
|
4105
4344
|
* <p>A Boolean that indicates whether this continuous deployment policy is enabled (in
|
|
4106
4345
|
* effect). When this value is <code>true</code>, this policy is enabled and in effect.
|
|
4107
4346
|
* When this value is <code>false</code>, this policy is not enabled and has no
|
|
@@ -4109,6 +4348,7 @@ export interface ContinuousDeploymentPolicyConfig {
|
|
|
4109
4348
|
*/
|
|
4110
4349
|
Enabled: boolean | undefined;
|
|
4111
4350
|
/**
|
|
4351
|
+
* @public
|
|
4112
4352
|
* <p>Contains the parameters for routing production traffic from your primary to staging
|
|
4113
4353
|
* distributions.</p>
|
|
4114
4354
|
*/
|
|
@@ -4119,6 +4359,7 @@ export interface ContinuousDeploymentPolicyConfig {
|
|
|
4119
4359
|
*/
|
|
4120
4360
|
export interface CreateContinuousDeploymentPolicyRequest {
|
|
4121
4361
|
/**
|
|
4362
|
+
* @public
|
|
4122
4363
|
* <p>Contains the configuration for a continuous deployment policy.</p>
|
|
4123
4364
|
*/
|
|
4124
4365
|
ContinuousDeploymentPolicyConfig: ContinuousDeploymentPolicyConfig | undefined;
|
|
@@ -4129,14 +4370,17 @@ export interface CreateContinuousDeploymentPolicyRequest {
|
|
|
4129
4370
|
*/
|
|
4130
4371
|
export interface ContinuousDeploymentPolicy {
|
|
4131
4372
|
/**
|
|
4373
|
+
* @public
|
|
4132
4374
|
* <p>The identifier of the continuous deployment policy.</p>
|
|
4133
4375
|
*/
|
|
4134
4376
|
Id: string | undefined;
|
|
4135
4377
|
/**
|
|
4378
|
+
* @public
|
|
4136
4379
|
* <p>The date and time the continuous deployment policy was last modified.</p>
|
|
4137
4380
|
*/
|
|
4138
4381
|
LastModifiedTime: Date | undefined;
|
|
4139
4382
|
/**
|
|
4383
|
+
* @public
|
|
4140
4384
|
* <p>Contains the configuration for a continuous deployment policy.</p>
|
|
4141
4385
|
*/
|
|
4142
4386
|
ContinuousDeploymentPolicyConfig: ContinuousDeploymentPolicyConfig | undefined;
|
|
@@ -4146,14 +4390,17 @@ export interface ContinuousDeploymentPolicy {
|
|
|
4146
4390
|
*/
|
|
4147
4391
|
export interface CreateContinuousDeploymentPolicyResult {
|
|
4148
4392
|
/**
|
|
4393
|
+
* @public
|
|
4149
4394
|
* <p>A continuous deployment policy.</p>
|
|
4150
4395
|
*/
|
|
4151
4396
|
ContinuousDeploymentPolicy?: ContinuousDeploymentPolicy;
|
|
4152
4397
|
/**
|
|
4398
|
+
* @public
|
|
4153
4399
|
* <p>The location of the continuous deployment policy.</p>
|
|
4154
4400
|
*/
|
|
4155
4401
|
Location?: string;
|
|
4156
4402
|
/**
|
|
4403
|
+
* @public
|
|
4157
4404
|
* <p>The version identifier for the current version of the continuous deployment
|
|
4158
4405
|
* policy.</p>
|
|
4159
4406
|
*/
|
|
@@ -4206,6 +4453,7 @@ export declare class ContinuousDeploymentPolicyInUse extends __BaseException {
|
|
|
4206
4453
|
*/
|
|
4207
4454
|
export interface CreateDistributionRequest {
|
|
4208
4455
|
/**
|
|
4456
|
+
* @public
|
|
4209
4457
|
* <p>The distribution's configuration information.</p>
|
|
4210
4458
|
*/
|
|
4211
4459
|
DistributionConfig: DistributionConfig | undefined;
|
|
@@ -4216,14 +4464,17 @@ export interface CreateDistributionRequest {
|
|
|
4216
4464
|
*/
|
|
4217
4465
|
export interface CreateDistributionResult {
|
|
4218
4466
|
/**
|
|
4467
|
+
* @public
|
|
4219
4468
|
* <p>The distribution's information.</p>
|
|
4220
4469
|
*/
|
|
4221
4470
|
Distribution?: Distribution;
|
|
4222
4471
|
/**
|
|
4472
|
+
* @public
|
|
4223
4473
|
* <p>The fully qualified URI of the new distribution resource just created.</p>
|
|
4224
4474
|
*/
|
|
4225
4475
|
Location?: string;
|
|
4226
4476
|
/**
|
|
4477
|
+
* @public
|
|
4227
4478
|
* <p>The current version of the distribution created.</p>
|
|
4228
4479
|
*/
|
|
4229
4480
|
ETag?: string;
|
|
@@ -4275,6 +4526,7 @@ export declare class NoSuchContinuousDeploymentPolicy extends __BaseException {
|
|
|
4275
4526
|
*/
|
|
4276
4527
|
export interface Tag {
|
|
4277
4528
|
/**
|
|
4529
|
+
* @public
|
|
4278
4530
|
* <p>A string that contains <code>Tag</code> key.</p>
|
|
4279
4531
|
* <p>The string length should be between 1 and 128 characters. Valid characters include
|
|
4280
4532
|
* <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, space, and the special
|
|
@@ -4282,6 +4534,7 @@ export interface Tag {
|
|
|
4282
4534
|
*/
|
|
4283
4535
|
Key: string | undefined;
|
|
4284
4536
|
/**
|
|
4537
|
+
* @public
|
|
4285
4538
|
* <p>A string that contains an optional <code>Tag</code> value.</p>
|
|
4286
4539
|
* <p>The string length should be between 0 and 256 characters. Valid characters include
|
|
4287
4540
|
* <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, space, and the special
|
|
@@ -4295,6 +4548,7 @@ export interface Tag {
|
|
|
4295
4548
|
*/
|
|
4296
4549
|
export interface Tags {
|
|
4297
4550
|
/**
|
|
4551
|
+
* @public
|
|
4298
4552
|
* <p>A complex type that contains <code>Tag</code> elements.</p>
|
|
4299
4553
|
*/
|
|
4300
4554
|
Items?: Tag[];
|
|
@@ -4306,10 +4560,12 @@ export interface Tags {
|
|
|
4306
4560
|
*/
|
|
4307
4561
|
export interface DistributionConfigWithTags {
|
|
4308
4562
|
/**
|
|
4563
|
+
* @public
|
|
4309
4564
|
* <p>A distribution configuration.</p>
|
|
4310
4565
|
*/
|
|
4311
4566
|
DistributionConfig: DistributionConfig | undefined;
|
|
4312
4567
|
/**
|
|
4568
|
+
* @public
|
|
4313
4569
|
* <p>A complex type that contains zero or more <code>Tag</code> elements.</p>
|
|
4314
4570
|
*/
|
|
4315
4571
|
Tags: Tags | undefined;
|
|
@@ -4320,6 +4576,7 @@ export interface DistributionConfigWithTags {
|
|
|
4320
4576
|
*/
|
|
4321
4577
|
export interface CreateDistributionWithTagsRequest {
|
|
4322
4578
|
/**
|
|
4579
|
+
* @public
|
|
4323
4580
|
* <p>The distribution's configuration information.</p>
|
|
4324
4581
|
*/
|
|
4325
4582
|
DistributionConfigWithTags: DistributionConfigWithTags | undefined;
|
|
@@ -4330,14 +4587,17 @@ export interface CreateDistributionWithTagsRequest {
|
|
|
4330
4587
|
*/
|
|
4331
4588
|
export interface CreateDistributionWithTagsResult {
|
|
4332
4589
|
/**
|
|
4590
|
+
* @public
|
|
4333
4591
|
* <p>The distribution's information.</p>
|
|
4334
4592
|
*/
|
|
4335
4593
|
Distribution?: Distribution;
|
|
4336
4594
|
/**
|
|
4595
|
+
* @public
|
|
4337
4596
|
* <p>The fully qualified URI of the new distribution resource just created.</p>
|
|
4338
4597
|
*/
|
|
4339
4598
|
Location?: string;
|
|
4340
4599
|
/**
|
|
4600
|
+
* @public
|
|
4341
4601
|
* <p>The current version of the distribution created.</p>
|
|
4342
4602
|
*/
|
|
4343
4603
|
ETag?: string;
|
|
@@ -4372,14 +4632,17 @@ export type Format = (typeof Format)[keyof typeof Format];
|
|
|
4372
4632
|
*/
|
|
4373
4633
|
export interface ContentTypeProfile {
|
|
4374
4634
|
/**
|
|
4635
|
+
* @public
|
|
4375
4636
|
* <p>The format for a field-level encryption content type-profile mapping.</p>
|
|
4376
4637
|
*/
|
|
4377
4638
|
Format: Format | string | undefined;
|
|
4378
4639
|
/**
|
|
4640
|
+
* @public
|
|
4379
4641
|
* <p>The profile ID for a field-level encryption content type-profile mapping.</p>
|
|
4380
4642
|
*/
|
|
4381
4643
|
ProfileId?: string;
|
|
4382
4644
|
/**
|
|
4645
|
+
* @public
|
|
4383
4646
|
* <p>The content type for a field-level encryption content type-profile mapping.</p>
|
|
4384
4647
|
*/
|
|
4385
4648
|
ContentType: string | undefined;
|
|
@@ -4390,10 +4653,12 @@ export interface ContentTypeProfile {
|
|
|
4390
4653
|
*/
|
|
4391
4654
|
export interface ContentTypeProfiles {
|
|
4392
4655
|
/**
|
|
4656
|
+
* @public
|
|
4393
4657
|
* <p>The number of field-level encryption content type-profile mappings.</p>
|
|
4394
4658
|
*/
|
|
4395
4659
|
Quantity: number | undefined;
|
|
4396
4660
|
/**
|
|
4661
|
+
* @public
|
|
4397
4662
|
* <p>Items in a field-level encryption content type-profile mapping.</p>
|
|
4398
4663
|
*/
|
|
4399
4664
|
Items?: ContentTypeProfile[];
|
|
@@ -4404,6 +4669,7 @@ export interface ContentTypeProfiles {
|
|
|
4404
4669
|
*/
|
|
4405
4670
|
export interface ContentTypeProfileConfig {
|
|
4406
4671
|
/**
|
|
4672
|
+
* @public
|
|
4407
4673
|
* <p>The setting in a field-level encryption content type-profile mapping that specifies
|
|
4408
4674
|
* what to do when an unknown content type is provided for the profile. If true, content is
|
|
4409
4675
|
* forwarded without being encrypted when the content type is unknown. If false (the
|
|
@@ -4411,6 +4677,7 @@ export interface ContentTypeProfileConfig {
|
|
|
4411
4677
|
*/
|
|
4412
4678
|
ForwardWhenContentTypeIsUnknown: boolean | undefined;
|
|
4413
4679
|
/**
|
|
4680
|
+
* @public
|
|
4414
4681
|
* <p>The configuration for a field-level encryption content type-profile.</p>
|
|
4415
4682
|
*/
|
|
4416
4683
|
ContentTypeProfiles?: ContentTypeProfiles;
|
|
@@ -4421,10 +4688,12 @@ export interface ContentTypeProfileConfig {
|
|
|
4421
4688
|
*/
|
|
4422
4689
|
export interface QueryArgProfile {
|
|
4423
4690
|
/**
|
|
4691
|
+
* @public
|
|
4424
4692
|
* <p>Query argument for field-level encryption query argument-profile mapping.</p>
|
|
4425
4693
|
*/
|
|
4426
4694
|
QueryArg: string | undefined;
|
|
4427
4695
|
/**
|
|
4696
|
+
* @public
|
|
4428
4697
|
* <p>ID of profile to use for field-level encryption query argument-profile mapping</p>
|
|
4429
4698
|
*/
|
|
4430
4699
|
ProfileId: string | undefined;
|
|
@@ -4435,11 +4704,13 @@ export interface QueryArgProfile {
|
|
|
4435
4704
|
*/
|
|
4436
4705
|
export interface QueryArgProfiles {
|
|
4437
4706
|
/**
|
|
4707
|
+
* @public
|
|
4438
4708
|
* <p>Number of profiles for query argument-profile mapping for field-level
|
|
4439
4709
|
* encryption.</p>
|
|
4440
4710
|
*/
|
|
4441
4711
|
Quantity: number | undefined;
|
|
4442
4712
|
/**
|
|
4713
|
+
* @public
|
|
4443
4714
|
* <p>Number of items for query argument-profile mapping for field-level encryption.</p>
|
|
4444
4715
|
*/
|
|
4445
4716
|
Items?: QueryArgProfile[];
|
|
@@ -4450,11 +4721,13 @@ export interface QueryArgProfiles {
|
|
|
4450
4721
|
*/
|
|
4451
4722
|
export interface QueryArgProfileConfig {
|
|
4452
4723
|
/**
|
|
4724
|
+
* @public
|
|
4453
4725
|
* <p>Flag to set if you want a request to be forwarded to the origin even if the profile
|
|
4454
4726
|
* specified by the field-level encryption query argument, fle-profile, is unknown.</p>
|
|
4455
4727
|
*/
|
|
4456
4728
|
ForwardWhenQueryArgProfileIsUnknown: boolean | undefined;
|
|
4457
4729
|
/**
|
|
4730
|
+
* @public
|
|
4458
4731
|
* <p>Profiles specified for query argument-profile mapping for field-level
|
|
4459
4732
|
* encryption.</p>
|
|
4460
4733
|
*/
|
|
@@ -4467,20 +4740,24 @@ export interface QueryArgProfileConfig {
|
|
|
4467
4740
|
*/
|
|
4468
4741
|
export interface FieldLevelEncryptionConfig {
|
|
4469
4742
|
/**
|
|
4743
|
+
* @public
|
|
4470
4744
|
* <p>A unique number that ensures the request can't be replayed.</p>
|
|
4471
4745
|
*/
|
|
4472
4746
|
CallerReference: string | undefined;
|
|
4473
4747
|
/**
|
|
4748
|
+
* @public
|
|
4474
4749
|
* <p>An optional comment about the configuration. The comment cannot be longer than 128
|
|
4475
4750
|
* characters.</p>
|
|
4476
4751
|
*/
|
|
4477
4752
|
Comment?: string;
|
|
4478
4753
|
/**
|
|
4754
|
+
* @public
|
|
4479
4755
|
* <p>A complex data type that specifies when to forward content if a profile isn't found
|
|
4480
4756
|
* and the profile that can be provided as a query argument in a request.</p>
|
|
4481
4757
|
*/
|
|
4482
4758
|
QueryArgProfileConfig?: QueryArgProfileConfig;
|
|
4483
4759
|
/**
|
|
4760
|
+
* @public
|
|
4484
4761
|
* <p>A complex data type that specifies when to forward content if a content type isn't
|
|
4485
4762
|
* recognized and profiles to use as by default in a request if a query argument doesn't
|
|
4486
4763
|
* specify a profile to use.</p>
|
|
@@ -4492,6 +4769,7 @@ export interface FieldLevelEncryptionConfig {
|
|
|
4492
4769
|
*/
|
|
4493
4770
|
export interface CreateFieldLevelEncryptionConfigRequest {
|
|
4494
4771
|
/**
|
|
4772
|
+
* @public
|
|
4495
4773
|
* <p>The request to create a new field-level encryption configuration.</p>
|
|
4496
4774
|
*/
|
|
4497
4775
|
FieldLevelEncryptionConfig: FieldLevelEncryptionConfig | undefined;
|
|
@@ -4503,16 +4781,19 @@ export interface CreateFieldLevelEncryptionConfigRequest {
|
|
|
4503
4781
|
*/
|
|
4504
4782
|
export interface FieldLevelEncryption {
|
|
4505
4783
|
/**
|
|
4784
|
+
* @public
|
|
4506
4785
|
* <p>The configuration ID for a field-level encryption configuration which includes a set
|
|
4507
4786
|
* of profiles that specify certain selected data fields to be encrypted by specific public
|
|
4508
4787
|
* keys.</p>
|
|
4509
4788
|
*/
|
|
4510
4789
|
Id: string | undefined;
|
|
4511
4790
|
/**
|
|
4791
|
+
* @public
|
|
4512
4792
|
* <p>The last time the field-level encryption configuration was changed.</p>
|
|
4513
4793
|
*/
|
|
4514
4794
|
LastModifiedTime: Date | undefined;
|
|
4515
4795
|
/**
|
|
4796
|
+
* @public
|
|
4516
4797
|
* <p>A complex data type that includes the profile configurations specified for field-level
|
|
4517
4798
|
* encryption.</p>
|
|
4518
4799
|
*/
|
|
@@ -4523,14 +4804,17 @@ export interface FieldLevelEncryption {
|
|
|
4523
4804
|
*/
|
|
4524
4805
|
export interface CreateFieldLevelEncryptionConfigResult {
|
|
4525
4806
|
/**
|
|
4807
|
+
* @public
|
|
4526
4808
|
* <p>Returned when you create a new field-level encryption configuration.</p>
|
|
4527
4809
|
*/
|
|
4528
4810
|
FieldLevelEncryption?: FieldLevelEncryption;
|
|
4529
4811
|
/**
|
|
4812
|
+
* @public
|
|
4530
4813
|
* <p>The fully qualified URI of the new configuration resource just created.</p>
|
|
4531
4814
|
*/
|
|
4532
4815
|
Location?: string;
|
|
4533
4816
|
/**
|
|
4817
|
+
* @public
|
|
4534
4818
|
* <p>The current version of the field level encryption configuration. For example:
|
|
4535
4819
|
* <code>E2QWRUHAPOMQZL</code>.</p>
|
|
4536
4820
|
*/
|
|
@@ -4624,10 +4908,12 @@ export declare class TooManyFieldLevelEncryptionQueryArgProfiles extends __BaseE
|
|
|
4624
4908
|
*/
|
|
4625
4909
|
export interface FieldPatterns {
|
|
4626
4910
|
/**
|
|
4911
|
+
* @public
|
|
4627
4912
|
* <p>The number of field-level encryption field patterns.</p>
|
|
4628
4913
|
*/
|
|
4629
4914
|
Quantity: number | undefined;
|
|
4630
4915
|
/**
|
|
4916
|
+
* @public
|
|
4631
4917
|
* <p>An array of the field-level encryption field patterns.</p>
|
|
4632
4918
|
*/
|
|
4633
4919
|
Items?: string[];
|
|
@@ -4639,17 +4925,20 @@ export interface FieldPatterns {
|
|
|
4639
4925
|
*/
|
|
4640
4926
|
export interface EncryptionEntity {
|
|
4641
4927
|
/**
|
|
4928
|
+
* @public
|
|
4642
4929
|
* <p>The public key associated with a set of field-level encryption patterns, to be used
|
|
4643
4930
|
* when encrypting the fields that match the patterns.</p>
|
|
4644
4931
|
*/
|
|
4645
4932
|
PublicKeyId: string | undefined;
|
|
4646
4933
|
/**
|
|
4934
|
+
* @public
|
|
4647
4935
|
* <p>The provider associated with the public key being used for encryption. This value must
|
|
4648
4936
|
* also be provided with the private key for applications to be able to decrypt
|
|
4649
4937
|
* data.</p>
|
|
4650
4938
|
*/
|
|
4651
4939
|
ProviderId: string | undefined;
|
|
4652
4940
|
/**
|
|
4941
|
+
* @public
|
|
4653
4942
|
* <p>Field patterns in a field-level encryption content type profile specify the fields
|
|
4654
4943
|
* that you want to be encrypted. You can provide the full field name, or any beginning
|
|
4655
4944
|
* characters followed by a wildcard (*). You can't overlap field patterns. For example,
|
|
@@ -4664,11 +4953,13 @@ export interface EncryptionEntity {
|
|
|
4664
4953
|
*/
|
|
4665
4954
|
export interface EncryptionEntities {
|
|
4666
4955
|
/**
|
|
4956
|
+
* @public
|
|
4667
4957
|
* <p>Number of field pattern items in a field-level encryption content type-profile
|
|
4668
4958
|
* mapping.</p>
|
|
4669
4959
|
*/
|
|
4670
4960
|
Quantity: number | undefined;
|
|
4671
4961
|
/**
|
|
4962
|
+
* @public
|
|
4672
4963
|
* <p>An array of field patterns in a field-level encryption content type-profile mapping.
|
|
4673
4964
|
* </p>
|
|
4674
4965
|
*/
|
|
@@ -4680,19 +4971,23 @@ export interface EncryptionEntities {
|
|
|
4680
4971
|
*/
|
|
4681
4972
|
export interface FieldLevelEncryptionProfileConfig {
|
|
4682
4973
|
/**
|
|
4974
|
+
* @public
|
|
4683
4975
|
* <p>Profile name for the field-level encryption profile.</p>
|
|
4684
4976
|
*/
|
|
4685
4977
|
Name: string | undefined;
|
|
4686
4978
|
/**
|
|
4979
|
+
* @public
|
|
4687
4980
|
* <p>A unique number that ensures that the request can't be replayed.</p>
|
|
4688
4981
|
*/
|
|
4689
4982
|
CallerReference: string | undefined;
|
|
4690
4983
|
/**
|
|
4984
|
+
* @public
|
|
4691
4985
|
* <p>An optional comment for the field-level encryption profile. The comment cannot be
|
|
4692
4986
|
* longer than 128 characters.</p>
|
|
4693
4987
|
*/
|
|
4694
4988
|
Comment?: string;
|
|
4695
4989
|
/**
|
|
4990
|
+
* @public
|
|
4696
4991
|
* <p>A complex data type of encryption entities for the field-level encryption profile that
|
|
4697
4992
|
* include the public key ID, provider, and field patterns for specifying which fields to
|
|
4698
4993
|
* encrypt with this key.</p>
|
|
@@ -4704,6 +4999,7 @@ export interface FieldLevelEncryptionProfileConfig {
|
|
|
4704
4999
|
*/
|
|
4705
5000
|
export interface CreateFieldLevelEncryptionProfileRequest {
|
|
4706
5001
|
/**
|
|
5002
|
+
* @public
|
|
4707
5003
|
* <p>The request to create a field-level encryption profile.</p>
|
|
4708
5004
|
*/
|
|
4709
5005
|
FieldLevelEncryptionProfileConfig: FieldLevelEncryptionProfileConfig | undefined;
|
|
@@ -4714,16 +5010,19 @@ export interface CreateFieldLevelEncryptionProfileRequest {
|
|
|
4714
5010
|
*/
|
|
4715
5011
|
export interface FieldLevelEncryptionProfile {
|
|
4716
5012
|
/**
|
|
5013
|
+
* @public
|
|
4717
5014
|
* <p>The ID for a field-level encryption profile configuration which includes a set of
|
|
4718
5015
|
* profiles that specify certain selected data fields to be encrypted by specific public
|
|
4719
5016
|
* keys.</p>
|
|
4720
5017
|
*/
|
|
4721
5018
|
Id: string | undefined;
|
|
4722
5019
|
/**
|
|
5020
|
+
* @public
|
|
4723
5021
|
* <p>The last time the field-level encryption profile was updated.</p>
|
|
4724
5022
|
*/
|
|
4725
5023
|
LastModifiedTime: Date | undefined;
|
|
4726
5024
|
/**
|
|
5025
|
+
* @public
|
|
4727
5026
|
* <p>A complex data type that includes the profile name and the encryption entities for the
|
|
4728
5027
|
* field-level encryption profile.</p>
|
|
4729
5028
|
*/
|
|
@@ -4734,14 +5033,17 @@ export interface FieldLevelEncryptionProfile {
|
|
|
4734
5033
|
*/
|
|
4735
5034
|
export interface CreateFieldLevelEncryptionProfileResult {
|
|
4736
5035
|
/**
|
|
5036
|
+
* @public
|
|
4737
5037
|
* <p>Returned when you create a new field-level encryption profile.</p>
|
|
4738
5038
|
*/
|
|
4739
5039
|
FieldLevelEncryptionProfile?: FieldLevelEncryptionProfile;
|
|
4740
5040
|
/**
|
|
5041
|
+
* @public
|
|
4741
5042
|
* <p>The fully qualified URI of the new profile resource just created.</p>
|
|
4742
5043
|
*/
|
|
4743
5044
|
Location?: string;
|
|
4744
5045
|
/**
|
|
5046
|
+
* @public
|
|
4745
5047
|
* <p>The current version of the field level encryption profile. For example:
|
|
4746
5048
|
* <code>E2QWRUHAPOMQZL</code>.</p>
|
|
4747
5049
|
*/
|
|
@@ -4845,10 +5147,12 @@ export type FunctionRuntime = (typeof FunctionRuntime)[keyof typeof FunctionRunt
|
|
|
4845
5147
|
*/
|
|
4846
5148
|
export interface FunctionConfig {
|
|
4847
5149
|
/**
|
|
5150
|
+
* @public
|
|
4848
5151
|
* <p>A comment to describe the function.</p>
|
|
4849
5152
|
*/
|
|
4850
5153
|
Comment: string | undefined;
|
|
4851
5154
|
/**
|
|
5155
|
+
* @public
|
|
4852
5156
|
* <p>The function's runtime environment verion.</p>
|
|
4853
5157
|
*/
|
|
4854
5158
|
Runtime: FunctionRuntime | string | undefined;
|
|
@@ -4858,15 +5162,18 @@ export interface FunctionConfig {
|
|
|
4858
5162
|
*/
|
|
4859
5163
|
export interface CreateFunctionRequest {
|
|
4860
5164
|
/**
|
|
5165
|
+
* @public
|
|
4861
5166
|
* <p>A name to identify the function.</p>
|
|
4862
5167
|
*/
|
|
4863
5168
|
Name: string | undefined;
|
|
4864
5169
|
/**
|
|
5170
|
+
* @public
|
|
4865
5171
|
* <p>Configuration information about the function, including an optional comment and the
|
|
4866
5172
|
* function's runtime.</p>
|
|
4867
5173
|
*/
|
|
4868
5174
|
FunctionConfig: FunctionConfig | undefined;
|
|
4869
5175
|
/**
|
|
5176
|
+
* @public
|
|
4870
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
|
|
4871
5178
|
* function code for CloudFront Functions</a> in the
|
|
4872
5179
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
@@ -4891,11 +5198,13 @@ export type FunctionStage = (typeof FunctionStage)[keyof typeof FunctionStage];
|
|
|
4891
5198
|
*/
|
|
4892
5199
|
export interface FunctionMetadata {
|
|
4893
5200
|
/**
|
|
5201
|
+
* @public
|
|
4894
5202
|
* <p>The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the
|
|
4895
5203
|
* function.</p>
|
|
4896
5204
|
*/
|
|
4897
5205
|
FunctionARN: string | undefined;
|
|
4898
5206
|
/**
|
|
5207
|
+
* @public
|
|
4899
5208
|
* <p>The stage that the function is in, either <code>DEVELOPMENT</code> or
|
|
4900
5209
|
* <code>LIVE</code>.</p>
|
|
4901
5210
|
* <p>When a function is in the <code>DEVELOPMENT</code> stage, you can test the function
|
|
@@ -4905,10 +5214,12 @@ export interface FunctionMetadata {
|
|
|
4905
5214
|
*/
|
|
4906
5215
|
Stage?: FunctionStage | string;
|
|
4907
5216
|
/**
|
|
5217
|
+
* @public
|
|
4908
5218
|
* <p>The date and time when the function was created.</p>
|
|
4909
5219
|
*/
|
|
4910
5220
|
CreatedTime?: Date;
|
|
4911
5221
|
/**
|
|
5222
|
+
* @public
|
|
4912
5223
|
* <p>The date and time when the function was most recently updated.</p>
|
|
4913
5224
|
*/
|
|
4914
5225
|
LastModifiedTime: Date | undefined;
|
|
@@ -4919,18 +5230,22 @@ export interface FunctionMetadata {
|
|
|
4919
5230
|
*/
|
|
4920
5231
|
export interface FunctionSummary {
|
|
4921
5232
|
/**
|
|
5233
|
+
* @public
|
|
4922
5234
|
* <p>The name of the CloudFront function.</p>
|
|
4923
5235
|
*/
|
|
4924
5236
|
Name: string | undefined;
|
|
4925
5237
|
/**
|
|
5238
|
+
* @public
|
|
4926
5239
|
* <p>The status of the CloudFront function.</p>
|
|
4927
5240
|
*/
|
|
4928
5241
|
Status?: string;
|
|
4929
5242
|
/**
|
|
5243
|
+
* @public
|
|
4930
5244
|
* <p>Contains configuration information about a CloudFront function.</p>
|
|
4931
5245
|
*/
|
|
4932
5246
|
FunctionConfig: FunctionConfig | undefined;
|
|
4933
5247
|
/**
|
|
5248
|
+
* @public
|
|
4934
5249
|
* <p>Contains metadata about a CloudFront function.</p>
|
|
4935
5250
|
*/
|
|
4936
5251
|
FunctionMetadata: FunctionMetadata | undefined;
|
|
@@ -4940,15 +5255,18 @@ export interface FunctionSummary {
|
|
|
4940
5255
|
*/
|
|
4941
5256
|
export interface CreateFunctionResult {
|
|
4942
5257
|
/**
|
|
5258
|
+
* @public
|
|
4943
5259
|
* <p>Contains configuration information and metadata about a CloudFront function.</p>
|
|
4944
5260
|
*/
|
|
4945
5261
|
FunctionSummary?: FunctionSummary;
|
|
4946
5262
|
/**
|
|
5263
|
+
* @public
|
|
4947
5264
|
* <p>The URL of the CloudFront function. Use the URL to manage the function with the CloudFront
|
|
4948
5265
|
* API.</p>
|
|
4949
5266
|
*/
|
|
4950
5267
|
Location?: string;
|
|
4951
5268
|
/**
|
|
5269
|
+
* @public
|
|
4952
5270
|
* <p>The version identifier for the current version of the CloudFront function.</p>
|
|
4953
5271
|
*/
|
|
4954
5272
|
ETag?: string;
|
|
@@ -5018,11 +5336,13 @@ export declare class UnsupportedOperation extends __BaseException {
|
|
|
5018
5336
|
*/
|
|
5019
5337
|
export interface Paths {
|
|
5020
5338
|
/**
|
|
5339
|
+
* @public
|
|
5021
5340
|
* <p>The number of invalidation paths specified for the objects that you want to
|
|
5022
5341
|
* invalidate.</p>
|
|
5023
5342
|
*/
|
|
5024
5343
|
Quantity: number | undefined;
|
|
5025
5344
|
/**
|
|
5345
|
+
* @public
|
|
5026
5346
|
* <p>A complex type that contains a list of the paths that you want to invalidate.</p>
|
|
5027
5347
|
*/
|
|
5028
5348
|
Items?: string[];
|
|
@@ -5033,12 +5353,14 @@ export interface Paths {
|
|
|
5033
5353
|
*/
|
|
5034
5354
|
export interface InvalidationBatch {
|
|
5035
5355
|
/**
|
|
5356
|
+
* @public
|
|
5036
5357
|
* <p>A complex type that contains information about the objects that you want to
|
|
5037
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
|
|
5038
5359
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
5039
5360
|
*/
|
|
5040
5361
|
Paths: Paths | undefined;
|
|
5041
5362
|
/**
|
|
5363
|
+
* @public
|
|
5042
5364
|
* <p>A value that you specify to uniquely identify an invalidation request. CloudFront uses the
|
|
5043
5365
|
* value to prevent you from accidentally resubmitting an identical request. Whenever you
|
|
5044
5366
|
* create a new invalidation request, you must specify a new value for
|
|
@@ -5062,10 +5384,12 @@ export interface InvalidationBatch {
|
|
|
5062
5384
|
*/
|
|
5063
5385
|
export interface CreateInvalidationRequest {
|
|
5064
5386
|
/**
|
|
5387
|
+
* @public
|
|
5065
5388
|
* <p>The distribution's id.</p>
|
|
5066
5389
|
*/
|
|
5067
5390
|
DistributionId: string | undefined;
|
|
5068
5391
|
/**
|
|
5392
|
+
* @public
|
|
5069
5393
|
* <p>The batch information for the invalidation.</p>
|
|
5070
5394
|
*/
|
|
5071
5395
|
InvalidationBatch: InvalidationBatch | undefined;
|
|
@@ -5076,20 +5400,24 @@ export interface CreateInvalidationRequest {
|
|
|
5076
5400
|
*/
|
|
5077
5401
|
export interface Invalidation {
|
|
5078
5402
|
/**
|
|
5403
|
+
* @public
|
|
5079
5404
|
* <p>The identifier for the invalidation request. For example:
|
|
5080
5405
|
* <code>IDFDVBD632BHDS5</code>.</p>
|
|
5081
5406
|
*/
|
|
5082
5407
|
Id: string | undefined;
|
|
5083
5408
|
/**
|
|
5409
|
+
* @public
|
|
5084
5410
|
* <p>The status of the invalidation request. When the invalidation batch is finished, the
|
|
5085
5411
|
* status is <code>Completed</code>.</p>
|
|
5086
5412
|
*/
|
|
5087
5413
|
Status: string | undefined;
|
|
5088
5414
|
/**
|
|
5415
|
+
* @public
|
|
5089
5416
|
* <p>The date and time the invalidation request was first made.</p>
|
|
5090
5417
|
*/
|
|
5091
5418
|
CreateTime: Date | undefined;
|
|
5092
5419
|
/**
|
|
5420
|
+
* @public
|
|
5093
5421
|
* <p>The current invalidation information for the batch request.</p>
|
|
5094
5422
|
*/
|
|
5095
5423
|
InvalidationBatch: InvalidationBatch | undefined;
|
|
@@ -5100,11 +5428,13 @@ export interface Invalidation {
|
|
|
5100
5428
|
*/
|
|
5101
5429
|
export interface CreateInvalidationResult {
|
|
5102
5430
|
/**
|
|
5431
|
+
* @public
|
|
5103
5432
|
* <p>The fully qualified URI of the distribution and invalidation batch request, including
|
|
5104
5433
|
* the <code>Invalidation ID</code>.</p>
|
|
5105
5434
|
*/
|
|
5106
5435
|
Location?: string;
|
|
5107
5436
|
/**
|
|
5437
|
+
* @public
|
|
5108
5438
|
* <p>The invalidation's information.</p>
|
|
5109
5439
|
*/
|
|
5110
5440
|
Invalidation?: Invalidation;
|
|
@@ -5130,14 +5460,17 @@ export declare class TooManyInvalidationsInProgress extends __BaseException {
|
|
|
5130
5460
|
*/
|
|
5131
5461
|
export interface KeyGroupConfig {
|
|
5132
5462
|
/**
|
|
5463
|
+
* @public
|
|
5133
5464
|
* <p>A name to identify the key group.</p>
|
|
5134
5465
|
*/
|
|
5135
5466
|
Name: string | undefined;
|
|
5136
5467
|
/**
|
|
5468
|
+
* @public
|
|
5137
5469
|
* <p>A list of the identifiers of the public keys in the key group.</p>
|
|
5138
5470
|
*/
|
|
5139
5471
|
Items: string[] | undefined;
|
|
5140
5472
|
/**
|
|
5473
|
+
* @public
|
|
5141
5474
|
* <p>A comment to describe the key group. The comment cannot be longer than 128
|
|
5142
5475
|
* characters.</p>
|
|
5143
5476
|
*/
|
|
@@ -5148,6 +5481,7 @@ export interface KeyGroupConfig {
|
|
|
5148
5481
|
*/
|
|
5149
5482
|
export interface CreateKeyGroupRequest {
|
|
5150
5483
|
/**
|
|
5484
|
+
* @public
|
|
5151
5485
|
* <p>A key group configuration.</p>
|
|
5152
5486
|
*/
|
|
5153
5487
|
KeyGroupConfig: KeyGroupConfig | undefined;
|
|
@@ -5159,14 +5493,17 @@ export interface CreateKeyGroupRequest {
|
|
|
5159
5493
|
*/
|
|
5160
5494
|
export interface KeyGroup {
|
|
5161
5495
|
/**
|
|
5496
|
+
* @public
|
|
5162
5497
|
* <p>The identifier for the key group.</p>
|
|
5163
5498
|
*/
|
|
5164
5499
|
Id: string | undefined;
|
|
5165
5500
|
/**
|
|
5501
|
+
* @public
|
|
5166
5502
|
* <p>The date and time when the key group was last modified.</p>
|
|
5167
5503
|
*/
|
|
5168
5504
|
LastModifiedTime: Date | undefined;
|
|
5169
5505
|
/**
|
|
5506
|
+
* @public
|
|
5170
5507
|
* <p>The key group configuration.</p>
|
|
5171
5508
|
*/
|
|
5172
5509
|
KeyGroupConfig: KeyGroupConfig | undefined;
|
|
@@ -5176,14 +5513,17 @@ export interface KeyGroup {
|
|
|
5176
5513
|
*/
|
|
5177
5514
|
export interface CreateKeyGroupResult {
|
|
5178
5515
|
/**
|
|
5516
|
+
* @public
|
|
5179
5517
|
* <p>The key group that was just created.</p>
|
|
5180
5518
|
*/
|
|
5181
5519
|
KeyGroup?: KeyGroup;
|
|
5182
5520
|
/**
|
|
5521
|
+
* @public
|
|
5183
5522
|
* <p>The URL of the key group.</p>
|
|
5184
5523
|
*/
|
|
5185
5524
|
Location?: string;
|
|
5186
5525
|
/**
|
|
5526
|
+
* @public
|
|
5187
5527
|
* <p>The identifier for this version of the key group.</p>
|
|
5188
5528
|
*/
|
|
5189
5529
|
ETag?: string;
|
|
@@ -5250,6 +5590,7 @@ export type RealtimeMetricsSubscriptionStatus = (typeof RealtimeMetricsSubscript
|
|
|
5250
5590
|
*/
|
|
5251
5591
|
export interface RealtimeMetricsSubscriptionConfig {
|
|
5252
5592
|
/**
|
|
5593
|
+
* @public
|
|
5253
5594
|
* <p>A flag that indicates whether additional CloudWatch metrics are enabled for a given
|
|
5254
5595
|
* CloudFront distribution.</p>
|
|
5255
5596
|
*/
|
|
@@ -5262,6 +5603,7 @@ export interface RealtimeMetricsSubscriptionConfig {
|
|
|
5262
5603
|
*/
|
|
5263
5604
|
export interface MonitoringSubscription {
|
|
5264
5605
|
/**
|
|
5606
|
+
* @public
|
|
5265
5607
|
* <p>A subscription configuration for additional CloudWatch metrics.</p>
|
|
5266
5608
|
*/
|
|
5267
5609
|
RealtimeMetricsSubscriptionConfig?: RealtimeMetricsSubscriptionConfig;
|
|
@@ -5271,10 +5613,12 @@ export interface MonitoringSubscription {
|
|
|
5271
5613
|
*/
|
|
5272
5614
|
export interface CreateMonitoringSubscriptionRequest {
|
|
5273
5615
|
/**
|
|
5616
|
+
* @public
|
|
5274
5617
|
* <p>The ID of the distribution that you are enabling metrics for.</p>
|
|
5275
5618
|
*/
|
|
5276
5619
|
DistributionId: string | undefined;
|
|
5277
5620
|
/**
|
|
5621
|
+
* @public
|
|
5278
5622
|
* <p>A monitoring subscription. This structure contains information about whether
|
|
5279
5623
|
* additional CloudWatch metrics are enabled for a given CloudFront distribution.</p>
|
|
5280
5624
|
*/
|
|
@@ -5285,6 +5629,7 @@ export interface CreateMonitoringSubscriptionRequest {
|
|
|
5285
5629
|
*/
|
|
5286
5630
|
export interface CreateMonitoringSubscriptionResult {
|
|
5287
5631
|
/**
|
|
5632
|
+
* @public
|
|
5288
5633
|
* <p>A monitoring subscription. This structure contains information about whether
|
|
5289
5634
|
* additional CloudWatch metrics are enabled for a given CloudFront distribution.</p>
|
|
5290
5635
|
*/
|
|
@@ -5345,19 +5690,23 @@ export type OriginAccessControlSigningProtocols = (typeof OriginAccessControlSig
|
|
|
5345
5690
|
*/
|
|
5346
5691
|
export interface OriginAccessControlConfig {
|
|
5347
5692
|
/**
|
|
5693
|
+
* @public
|
|
5348
5694
|
* <p>A name to identify the origin access control.</p>
|
|
5349
5695
|
*/
|
|
5350
5696
|
Name: string | undefined;
|
|
5351
5697
|
/**
|
|
5698
|
+
* @public
|
|
5352
5699
|
* <p>A description of the origin access control.</p>
|
|
5353
5700
|
*/
|
|
5354
5701
|
Description?: string;
|
|
5355
5702
|
/**
|
|
5703
|
+
* @public
|
|
5356
5704
|
* <p>The signing protocol of the origin access control, which determines how CloudFront signs
|
|
5357
5705
|
* (authenticates) requests. The only valid value is <code>sigv4</code>.</p>
|
|
5358
5706
|
*/
|
|
5359
5707
|
SigningProtocol: OriginAccessControlSigningProtocols | string | undefined;
|
|
5360
5708
|
/**
|
|
5709
|
+
* @public
|
|
5361
5710
|
* <p>Specifies which requests CloudFront signs (adds authentication information to). Specify
|
|
5362
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
|
|
5363
5712
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
@@ -5391,6 +5740,7 @@ export interface OriginAccessControlConfig {
|
|
|
5391
5740
|
*/
|
|
5392
5741
|
SigningBehavior: OriginAccessControlSigningBehaviors | string | undefined;
|
|
5393
5742
|
/**
|
|
5743
|
+
* @public
|
|
5394
5744
|
* <p>The type of origin that this origin access control is for.</p>
|
|
5395
5745
|
*/
|
|
5396
5746
|
OriginAccessControlOriginType: OriginAccessControlOriginTypes | string | undefined;
|
|
@@ -5400,6 +5750,7 @@ export interface OriginAccessControlConfig {
|
|
|
5400
5750
|
*/
|
|
5401
5751
|
export interface CreateOriginAccessControlRequest {
|
|
5402
5752
|
/**
|
|
5753
|
+
* @public
|
|
5403
5754
|
* <p>Contains the origin access control.</p>
|
|
5404
5755
|
*/
|
|
5405
5756
|
OriginAccessControlConfig: OriginAccessControlConfig | undefined;
|
|
@@ -5410,10 +5761,12 @@ export interface CreateOriginAccessControlRequest {
|
|
|
5410
5761
|
*/
|
|
5411
5762
|
export interface OriginAccessControl {
|
|
5412
5763
|
/**
|
|
5764
|
+
* @public
|
|
5413
5765
|
* <p>The unique identifier of the origin access control.</p>
|
|
5414
5766
|
*/
|
|
5415
5767
|
Id: string | undefined;
|
|
5416
5768
|
/**
|
|
5769
|
+
* @public
|
|
5417
5770
|
* <p>The origin access control.</p>
|
|
5418
5771
|
*/
|
|
5419
5772
|
OriginAccessControlConfig?: OriginAccessControlConfig;
|
|
@@ -5423,14 +5776,17 @@ export interface OriginAccessControl {
|
|
|
5423
5776
|
*/
|
|
5424
5777
|
export interface CreateOriginAccessControlResult {
|
|
5425
5778
|
/**
|
|
5779
|
+
* @public
|
|
5426
5780
|
* <p>Contains an origin access control.</p>
|
|
5427
5781
|
*/
|
|
5428
5782
|
OriginAccessControl?: OriginAccessControl;
|
|
5429
5783
|
/**
|
|
5784
|
+
* @public
|
|
5430
5785
|
* <p>The URL of the origin access control.</p>
|
|
5431
5786
|
*/
|
|
5432
5787
|
Location?: string;
|
|
5433
5788
|
/**
|
|
5789
|
+
* @public
|
|
5434
5790
|
* <p>The version identifier for the current version of the origin access control.</p>
|
|
5435
5791
|
*/
|
|
5436
5792
|
ETag?: string;
|
|
@@ -5485,6 +5841,7 @@ export type OriginRequestPolicyCookieBehavior = (typeof OriginRequestPolicyCooki
|
|
|
5485
5841
|
*/
|
|
5486
5842
|
export interface OriginRequestPolicyCookiesConfig {
|
|
5487
5843
|
/**
|
|
5844
|
+
* @public
|
|
5488
5845
|
* <p>Determines whether cookies in viewer requests are included in requests that CloudFront sends
|
|
5489
5846
|
* to the origin. Valid values are:</p>
|
|
5490
5847
|
* <ul>
|
|
@@ -5519,6 +5876,7 @@ export interface OriginRequestPolicyCookiesConfig {
|
|
|
5519
5876
|
*/
|
|
5520
5877
|
CookieBehavior: OriginRequestPolicyCookieBehavior | string | undefined;
|
|
5521
5878
|
/**
|
|
5879
|
+
* @public
|
|
5522
5880
|
* <p>Contains a list of cookie names.</p>
|
|
5523
5881
|
*/
|
|
5524
5882
|
Cookies?: CookieNames;
|
|
@@ -5545,6 +5903,7 @@ export type OriginRequestPolicyHeaderBehavior = (typeof OriginRequestPolicyHeade
|
|
|
5545
5903
|
*/
|
|
5546
5904
|
export interface OriginRequestPolicyHeadersConfig {
|
|
5547
5905
|
/**
|
|
5906
|
+
* @public
|
|
5548
5907
|
* <p>Determines whether any HTTP headers are included in requests that CloudFront sends to the
|
|
5549
5908
|
* origin. Valid values are:</p>
|
|
5550
5909
|
* <ul>
|
|
@@ -5585,6 +5944,7 @@ export interface OriginRequestPolicyHeadersConfig {
|
|
|
5585
5944
|
*/
|
|
5586
5945
|
HeaderBehavior: OriginRequestPolicyHeaderBehavior | string | undefined;
|
|
5587
5946
|
/**
|
|
5947
|
+
* @public
|
|
5588
5948
|
* <p>Contains a list of HTTP header names.</p>
|
|
5589
5949
|
*/
|
|
5590
5950
|
Headers?: Headers;
|
|
@@ -5610,6 +5970,7 @@ export type OriginRequestPolicyQueryStringBehavior = (typeof OriginRequestPolicy
|
|
|
5610
5970
|
*/
|
|
5611
5971
|
export interface OriginRequestPolicyQueryStringsConfig {
|
|
5612
5972
|
/**
|
|
5973
|
+
* @public
|
|
5613
5974
|
* <p>Determines whether any URL query strings in viewer requests are included in requests
|
|
5614
5975
|
* that CloudFront sends to the origin. Valid values are:</p>
|
|
5615
5976
|
* <ul>
|
|
@@ -5644,6 +6005,7 @@ export interface OriginRequestPolicyQueryStringsConfig {
|
|
|
5644
6005
|
*/
|
|
5645
6006
|
QueryStringBehavior: OriginRequestPolicyQueryStringBehavior | string | undefined;
|
|
5646
6007
|
/**
|
|
6008
|
+
* @public
|
|
5647
6009
|
* <p>Contains the specific query strings in viewer requests that either <i>
|
|
5648
6010
|
* <b>are</b>
|
|
5649
6011
|
* </i> or <i>
|
|
@@ -5690,24 +6052,29 @@ export interface OriginRequestPolicyQueryStringsConfig {
|
|
|
5690
6052
|
*/
|
|
5691
6053
|
export interface OriginRequestPolicyConfig {
|
|
5692
6054
|
/**
|
|
6055
|
+
* @public
|
|
5693
6056
|
* <p>A comment to describe the origin request policy. The comment cannot be longer than 128
|
|
5694
6057
|
* characters.</p>
|
|
5695
6058
|
*/
|
|
5696
6059
|
Comment?: string;
|
|
5697
6060
|
/**
|
|
6061
|
+
* @public
|
|
5698
6062
|
* <p>A unique name to identify the origin request policy.</p>
|
|
5699
6063
|
*/
|
|
5700
6064
|
Name: string | undefined;
|
|
5701
6065
|
/**
|
|
6066
|
+
* @public
|
|
5702
6067
|
* <p>The HTTP headers to include in origin requests. These can include headers from viewer
|
|
5703
6068
|
* requests and additional headers added by CloudFront.</p>
|
|
5704
6069
|
*/
|
|
5705
6070
|
HeadersConfig: OriginRequestPolicyHeadersConfig | undefined;
|
|
5706
6071
|
/**
|
|
6072
|
+
* @public
|
|
5707
6073
|
* <p>The cookies from viewer requests to include in origin requests.</p>
|
|
5708
6074
|
*/
|
|
5709
6075
|
CookiesConfig: OriginRequestPolicyCookiesConfig | undefined;
|
|
5710
6076
|
/**
|
|
6077
|
+
* @public
|
|
5711
6078
|
* <p>The URL query strings from viewer requests to include in origin requests.</p>
|
|
5712
6079
|
*/
|
|
5713
6080
|
QueryStringsConfig: OriginRequestPolicyQueryStringsConfig | undefined;
|
|
@@ -5717,6 +6084,7 @@ export interface OriginRequestPolicyConfig {
|
|
|
5717
6084
|
*/
|
|
5718
6085
|
export interface CreateOriginRequestPolicyRequest {
|
|
5719
6086
|
/**
|
|
6087
|
+
* @public
|
|
5720
6088
|
* <p>An origin request policy configuration.</p>
|
|
5721
6089
|
*/
|
|
5722
6090
|
OriginRequestPolicyConfig: OriginRequestPolicyConfig | undefined;
|
|
@@ -5750,14 +6118,17 @@ export interface CreateOriginRequestPolicyRequest {
|
|
|
5750
6118
|
*/
|
|
5751
6119
|
export interface OriginRequestPolicy {
|
|
5752
6120
|
/**
|
|
6121
|
+
* @public
|
|
5753
6122
|
* <p>The unique identifier for the origin request policy.</p>
|
|
5754
6123
|
*/
|
|
5755
6124
|
Id: string | undefined;
|
|
5756
6125
|
/**
|
|
6126
|
+
* @public
|
|
5757
6127
|
* <p>The date and time when the origin request policy was last modified.</p>
|
|
5758
6128
|
*/
|
|
5759
6129
|
LastModifiedTime: Date | undefined;
|
|
5760
6130
|
/**
|
|
6131
|
+
* @public
|
|
5761
6132
|
* <p>The origin request policy configuration.</p>
|
|
5762
6133
|
*/
|
|
5763
6134
|
OriginRequestPolicyConfig: OriginRequestPolicyConfig | undefined;
|
|
@@ -5767,14 +6138,17 @@ export interface OriginRequestPolicy {
|
|
|
5767
6138
|
*/
|
|
5768
6139
|
export interface CreateOriginRequestPolicyResult {
|
|
5769
6140
|
/**
|
|
6141
|
+
* @public
|
|
5770
6142
|
* <p>An origin request policy.</p>
|
|
5771
6143
|
*/
|
|
5772
6144
|
OriginRequestPolicy?: OriginRequestPolicy;
|
|
5773
6145
|
/**
|
|
6146
|
+
* @public
|
|
5774
6147
|
* <p>The fully qualified URI of the origin request policy just created.</p>
|
|
5775
6148
|
*/
|
|
5776
6149
|
Location?: string;
|
|
5777
6150
|
/**
|
|
6151
|
+
* @public
|
|
5778
6152
|
* <p>The current version of the origin request policy.</p>
|
|
5779
6153
|
*/
|
|
5780
6154
|
ETag?: string;
|
|
@@ -5860,19 +6234,23 @@ export declare class TooManyQueryStringsInOriginRequestPolicy extends __BaseExce
|
|
|
5860
6234
|
*/
|
|
5861
6235
|
export interface PublicKeyConfig {
|
|
5862
6236
|
/**
|
|
6237
|
+
* @public
|
|
5863
6238
|
* <p>A string included in the request to help make sure that the request can't be
|
|
5864
6239
|
* replayed.</p>
|
|
5865
6240
|
*/
|
|
5866
6241
|
CallerReference: string | undefined;
|
|
5867
6242
|
/**
|
|
6243
|
+
* @public
|
|
5868
6244
|
* <p>A name to help identify the public key.</p>
|
|
5869
6245
|
*/
|
|
5870
6246
|
Name: string | undefined;
|
|
5871
6247
|
/**
|
|
6248
|
+
* @public
|
|
5872
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>
|
|
5873
6250
|
*/
|
|
5874
6251
|
EncodedKey: string | undefined;
|
|
5875
6252
|
/**
|
|
6253
|
+
* @public
|
|
5876
6254
|
* <p>A comment to describe the public key. The comment cannot be longer than 128
|
|
5877
6255
|
* characters.</p>
|
|
5878
6256
|
*/
|
|
@@ -5883,6 +6261,7 @@ export interface PublicKeyConfig {
|
|
|
5883
6261
|
*/
|
|
5884
6262
|
export interface CreatePublicKeyRequest {
|
|
5885
6263
|
/**
|
|
6264
|
+
* @public
|
|
5886
6265
|
* <p>A CloudFront public key configuration.</p>
|
|
5887
6266
|
*/
|
|
5888
6267
|
PublicKeyConfig: PublicKeyConfig | undefined;
|
|
@@ -5893,14 +6272,17 @@ export interface CreatePublicKeyRequest {
|
|
|
5893
6272
|
*/
|
|
5894
6273
|
export interface PublicKey {
|
|
5895
6274
|
/**
|
|
6275
|
+
* @public
|
|
5896
6276
|
* <p>The identifier of the public key.</p>
|
|
5897
6277
|
*/
|
|
5898
6278
|
Id: string | undefined;
|
|
5899
6279
|
/**
|
|
6280
|
+
* @public
|
|
5900
6281
|
* <p>The date and time when the public key was uploaded.</p>
|
|
5901
6282
|
*/
|
|
5902
6283
|
CreatedTime: Date | undefined;
|
|
5903
6284
|
/**
|
|
6285
|
+
* @public
|
|
5904
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>
|
|
5905
6287
|
*/
|
|
5906
6288
|
PublicKeyConfig: PublicKeyConfig | undefined;
|
|
@@ -5910,14 +6292,17 @@ export interface PublicKey {
|
|
|
5910
6292
|
*/
|
|
5911
6293
|
export interface CreatePublicKeyResult {
|
|
5912
6294
|
/**
|
|
6295
|
+
* @public
|
|
5913
6296
|
* <p>The public key.</p>
|
|
5914
6297
|
*/
|
|
5915
6298
|
PublicKey?: PublicKey;
|
|
5916
6299
|
/**
|
|
6300
|
+
* @public
|
|
5917
6301
|
* <p>The URL of the public key.</p>
|
|
5918
6302
|
*/
|
|
5919
6303
|
Location?: string;
|
|
5920
6304
|
/**
|
|
6305
|
+
* @public
|
|
5921
6306
|
* <p>The identifier for this version of the public key.</p>
|
|
5922
6307
|
*/
|
|
5923
6308
|
ETag?: string;
|
|
@@ -5956,6 +6341,7 @@ export declare class TooManyPublicKeys extends __BaseException {
|
|
|
5956
6341
|
*/
|
|
5957
6342
|
export interface KinesisStreamConfig {
|
|
5958
6343
|
/**
|
|
6344
|
+
* @public
|
|
5959
6345
|
* <p>The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFront can use to
|
|
5960
6346
|
* send real-time log data to your Kinesis data stream.</p>
|
|
5961
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
|
|
@@ -5963,6 +6349,7 @@ export interface KinesisStreamConfig {
|
|
|
5963
6349
|
*/
|
|
5964
6350
|
RoleARN: string | undefined;
|
|
5965
6351
|
/**
|
|
6352
|
+
* @public
|
|
5966
6353
|
* <p>The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending
|
|
5967
6354
|
* real-time log data.</p>
|
|
5968
6355
|
*/
|
|
@@ -5975,11 +6362,13 @@ export interface KinesisStreamConfig {
|
|
|
5975
6362
|
*/
|
|
5976
6363
|
export interface EndPoint {
|
|
5977
6364
|
/**
|
|
6365
|
+
* @public
|
|
5978
6366
|
* <p>The type of data stream where you are sending real-time log data. The only valid value
|
|
5979
6367
|
* is <code>Kinesis</code>.</p>
|
|
5980
6368
|
*/
|
|
5981
6369
|
StreamType: string | undefined;
|
|
5982
6370
|
/**
|
|
6371
|
+
* @public
|
|
5983
6372
|
* <p>Contains information about the Amazon Kinesis data stream where you are sending real-time
|
|
5984
6373
|
* log data.</p>
|
|
5985
6374
|
*/
|
|
@@ -5990,21 +6379,25 @@ export interface EndPoint {
|
|
|
5990
6379
|
*/
|
|
5991
6380
|
export interface CreateRealtimeLogConfigRequest {
|
|
5992
6381
|
/**
|
|
6382
|
+
* @public
|
|
5993
6383
|
* <p>Contains information about the Amazon Kinesis data stream where you are sending real-time
|
|
5994
6384
|
* log data.</p>
|
|
5995
6385
|
*/
|
|
5996
6386
|
EndPoints: EndPoint[] | undefined;
|
|
5997
6387
|
/**
|
|
6388
|
+
* @public
|
|
5998
6389
|
* <p>A list of fields to include in each real-time log record.</p>
|
|
5999
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
|
|
6000
6391
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
6001
6392
|
*/
|
|
6002
6393
|
Fields: string[] | undefined;
|
|
6003
6394
|
/**
|
|
6395
|
+
* @public
|
|
6004
6396
|
* <p>A unique name to identify this real-time log configuration.</p>
|
|
6005
6397
|
*/
|
|
6006
6398
|
Name: string | undefined;
|
|
6007
6399
|
/**
|
|
6400
|
+
* @public
|
|
6008
6401
|
* <p>The sampling rate for this real-time log configuration. The sampling rate determines
|
|
6009
6402
|
* the percentage of viewer requests that are represented in the real-time log data. You
|
|
6010
6403
|
* must provide an integer between 1 and 100, inclusive.</p>
|
|
@@ -6017,25 +6410,30 @@ export interface CreateRealtimeLogConfigRequest {
|
|
|
6017
6410
|
*/
|
|
6018
6411
|
export interface RealtimeLogConfig {
|
|
6019
6412
|
/**
|
|
6413
|
+
* @public
|
|
6020
6414
|
* <p>The Amazon Resource Name (ARN) of this real-time log configuration.</p>
|
|
6021
6415
|
*/
|
|
6022
6416
|
ARN: string | undefined;
|
|
6023
6417
|
/**
|
|
6418
|
+
* @public
|
|
6024
6419
|
* <p>The unique name of this real-time log configuration.</p>
|
|
6025
6420
|
*/
|
|
6026
6421
|
Name: string | undefined;
|
|
6027
6422
|
/**
|
|
6423
|
+
* @public
|
|
6028
6424
|
* <p>The sampling rate for this real-time log configuration. The sampling rate determines
|
|
6029
6425
|
* the percentage of viewer requests that are represented in the real-time log data. The
|
|
6030
6426
|
* sampling rate is an integer between 1 and 100, inclusive.</p>
|
|
6031
6427
|
*/
|
|
6032
6428
|
SamplingRate: number | undefined;
|
|
6033
6429
|
/**
|
|
6430
|
+
* @public
|
|
6034
6431
|
* <p>Contains information about the Amazon Kinesis data stream where you are sending real-time
|
|
6035
6432
|
* log data for this real-time log configuration.</p>
|
|
6036
6433
|
*/
|
|
6037
6434
|
EndPoints: EndPoint[] | undefined;
|
|
6038
6435
|
/**
|
|
6436
|
+
* @public
|
|
6039
6437
|
* <p>A list of fields that are included in each real-time log record. In an API response,
|
|
6040
6438
|
* the fields are provided in the same order in which they are sent to the Amazon Kinesis data
|
|
6041
6439
|
* stream.</p>
|
|
@@ -6049,6 +6447,7 @@ export interface RealtimeLogConfig {
|
|
|
6049
6447
|
*/
|
|
6050
6448
|
export interface CreateRealtimeLogConfigResult {
|
|
6051
6449
|
/**
|
|
6450
|
+
* @public
|
|
6052
6451
|
* <p>A real-time log configuration.</p>
|
|
6053
6452
|
*/
|
|
6054
6453
|
RealtimeLogConfig?: RealtimeLogConfig;
|
|
@@ -6092,10 +6491,12 @@ export declare class TooManyRealtimeLogConfigs extends __BaseException {
|
|
|
6092
6491
|
*/
|
|
6093
6492
|
export interface ResponseHeadersPolicyAccessControlAllowHeaders {
|
|
6094
6493
|
/**
|
|
6494
|
+
* @public
|
|
6095
6495
|
* <p>The number of HTTP header names in the list.</p>
|
|
6096
6496
|
*/
|
|
6097
6497
|
Quantity: number | undefined;
|
|
6098
6498
|
/**
|
|
6499
|
+
* @public
|
|
6099
6500
|
* <p>The list of HTTP header names. You can specify <code>*</code> to allow all
|
|
6100
6501
|
* headers.</p>
|
|
6101
6502
|
*/
|
|
@@ -6110,10 +6511,12 @@ export interface ResponseHeadersPolicyAccessControlAllowHeaders {
|
|
|
6110
6511
|
*/
|
|
6111
6512
|
export interface ResponseHeadersPolicyAccessControlAllowMethods {
|
|
6112
6513
|
/**
|
|
6514
|
+
* @public
|
|
6113
6515
|
* <p>The number of HTTP methods in the list.</p>
|
|
6114
6516
|
*/
|
|
6115
6517
|
Quantity: number | undefined;
|
|
6116
6518
|
/**
|
|
6519
|
+
* @public
|
|
6117
6520
|
* <p>The list of HTTP methods. Valid values are:</p>
|
|
6118
6521
|
* <ul>
|
|
6119
6522
|
* <li>
|
|
@@ -6172,10 +6575,12 @@ export interface ResponseHeadersPolicyAccessControlAllowMethods {
|
|
|
6172
6575
|
*/
|
|
6173
6576
|
export interface ResponseHeadersPolicyAccessControlAllowOrigins {
|
|
6174
6577
|
/**
|
|
6578
|
+
* @public
|
|
6175
6579
|
* <p>The number of origins in the list.</p>
|
|
6176
6580
|
*/
|
|
6177
6581
|
Quantity: number | undefined;
|
|
6178
6582
|
/**
|
|
6583
|
+
* @public
|
|
6179
6584
|
* <p>The list of origins (domain names). You can specify <code>*</code> to allow all
|
|
6180
6585
|
* origins.</p>
|
|
6181
6586
|
*/
|
|
@@ -6190,10 +6595,12 @@ export interface ResponseHeadersPolicyAccessControlAllowOrigins {
|
|
|
6190
6595
|
*/
|
|
6191
6596
|
export interface ResponseHeadersPolicyAccessControlExposeHeaders {
|
|
6192
6597
|
/**
|
|
6598
|
+
* @public
|
|
6193
6599
|
* <p>The number of HTTP headers in the list.</p>
|
|
6194
6600
|
*/
|
|
6195
6601
|
Quantity: number | undefined;
|
|
6196
6602
|
/**
|
|
6603
|
+
* @public
|
|
6197
6604
|
* <p>The list of HTTP headers. You can specify <code>*</code> to expose all headers.</p>
|
|
6198
6605
|
*/
|
|
6199
6606
|
Items?: string[];
|
|
@@ -6209,6 +6616,7 @@ export interface ResponseHeadersPolicyAccessControlExposeHeaders {
|
|
|
6209
6616
|
*/
|
|
6210
6617
|
export interface ResponseHeadersPolicyCorsConfig {
|
|
6211
6618
|
/**
|
|
6619
|
+
* @public
|
|
6212
6620
|
* <p>A list of origins (domain names) that CloudFront can use as the value for the
|
|
6213
6621
|
* <code>Access-Control-Allow-Origin</code> HTTP response header.</p>
|
|
6214
6622
|
* <p>For more information about the <code>Access-Control-Allow-Origin</code> HTTP response
|
|
@@ -6216,6 +6624,7 @@ export interface ResponseHeadersPolicyCorsConfig {
|
|
|
6216
6624
|
*/
|
|
6217
6625
|
AccessControlAllowOrigins: ResponseHeadersPolicyAccessControlAllowOrigins | undefined;
|
|
6218
6626
|
/**
|
|
6627
|
+
* @public
|
|
6219
6628
|
* <p>A list of HTTP header names that CloudFront includes as values for the
|
|
6220
6629
|
* <code>Access-Control-Allow-Headers</code> HTTP response header.</p>
|
|
6221
6630
|
* <p>For more information about the <code>Access-Control-Allow-Headers</code> HTTP response
|
|
@@ -6223,6 +6632,7 @@ export interface ResponseHeadersPolicyCorsConfig {
|
|
|
6223
6632
|
*/
|
|
6224
6633
|
AccessControlAllowHeaders: ResponseHeadersPolicyAccessControlAllowHeaders | undefined;
|
|
6225
6634
|
/**
|
|
6635
|
+
* @public
|
|
6226
6636
|
* <p>A list of HTTP methods that CloudFront includes as values for the
|
|
6227
6637
|
* <code>Access-Control-Allow-Methods</code> HTTP response header.</p>
|
|
6228
6638
|
* <p>For more information about the <code>Access-Control-Allow-Methods</code> HTTP response
|
|
@@ -6230,6 +6640,7 @@ export interface ResponseHeadersPolicyCorsConfig {
|
|
|
6230
6640
|
*/
|
|
6231
6641
|
AccessControlAllowMethods: ResponseHeadersPolicyAccessControlAllowMethods | undefined;
|
|
6232
6642
|
/**
|
|
6643
|
+
* @public
|
|
6233
6644
|
* <p>A Boolean that CloudFront uses as the value for the
|
|
6234
6645
|
* <code>Access-Control-Allow-Credentials</code> HTTP response header.</p>
|
|
6235
6646
|
* <p>For more information about the <code>Access-Control-Allow-Credentials</code> HTTP
|
|
@@ -6237,6 +6648,7 @@ export interface ResponseHeadersPolicyCorsConfig {
|
|
|
6237
6648
|
*/
|
|
6238
6649
|
AccessControlAllowCredentials: boolean | undefined;
|
|
6239
6650
|
/**
|
|
6651
|
+
* @public
|
|
6240
6652
|
* <p>A list of HTTP headers that CloudFront includes as values for the
|
|
6241
6653
|
* <code>Access-Control-Expose-Headers</code> HTTP response header.</p>
|
|
6242
6654
|
* <p>For more information about the <code>Access-Control-Expose-Headers</code> HTTP
|
|
@@ -6244,6 +6656,7 @@ export interface ResponseHeadersPolicyCorsConfig {
|
|
|
6244
6656
|
*/
|
|
6245
6657
|
AccessControlExposeHeaders?: ResponseHeadersPolicyAccessControlExposeHeaders;
|
|
6246
6658
|
/**
|
|
6659
|
+
* @public
|
|
6247
6660
|
* <p>A number that CloudFront uses as the value for the <code>Access-Control-Max-Age</code> HTTP
|
|
6248
6661
|
* response header.</p>
|
|
6249
6662
|
* <p>For more information about the <code>Access-Control-Max-Age</code> HTTP response
|
|
@@ -6251,6 +6664,7 @@ export interface ResponseHeadersPolicyCorsConfig {
|
|
|
6251
6664
|
*/
|
|
6252
6665
|
AccessControlMaxAgeSec?: number;
|
|
6253
6666
|
/**
|
|
6667
|
+
* @public
|
|
6254
6668
|
* <p>A Boolean that determines whether CloudFront overrides HTTP response headers received from
|
|
6255
6669
|
* the origin with the ones specified in this response headers policy.</p>
|
|
6256
6670
|
*/
|
|
@@ -6264,14 +6678,17 @@ export interface ResponseHeadersPolicyCorsConfig {
|
|
|
6264
6678
|
*/
|
|
6265
6679
|
export interface ResponseHeadersPolicyCustomHeader {
|
|
6266
6680
|
/**
|
|
6681
|
+
* @public
|
|
6267
6682
|
* <p>The HTTP response header name.</p>
|
|
6268
6683
|
*/
|
|
6269
6684
|
Header: string | undefined;
|
|
6270
6685
|
/**
|
|
6686
|
+
* @public
|
|
6271
6687
|
* <p>The value for the HTTP response header.</p>
|
|
6272
6688
|
*/
|
|
6273
6689
|
Value: string | undefined;
|
|
6274
6690
|
/**
|
|
6691
|
+
* @public
|
|
6275
6692
|
* <p>A Boolean that determines whether CloudFront overrides a response header with the same name
|
|
6276
6693
|
* received from the origin with the header specified here.</p>
|
|
6277
6694
|
*/
|
|
@@ -6285,10 +6702,12 @@ export interface ResponseHeadersPolicyCustomHeader {
|
|
|
6285
6702
|
*/
|
|
6286
6703
|
export interface ResponseHeadersPolicyCustomHeadersConfig {
|
|
6287
6704
|
/**
|
|
6705
|
+
* @public
|
|
6288
6706
|
* <p>The number of HTTP response headers in the list.</p>
|
|
6289
6707
|
*/
|
|
6290
6708
|
Quantity: number | undefined;
|
|
6291
6709
|
/**
|
|
6710
|
+
* @public
|
|
6292
6711
|
* <p>The list of HTTP response headers and their values.</p>
|
|
6293
6712
|
*/
|
|
6294
6713
|
Items?: ResponseHeadersPolicyCustomHeader[];
|
|
@@ -6300,6 +6719,7 @@ export interface ResponseHeadersPolicyCustomHeadersConfig {
|
|
|
6300
6719
|
*/
|
|
6301
6720
|
export interface ResponseHeadersPolicyRemoveHeader {
|
|
6302
6721
|
/**
|
|
6722
|
+
* @public
|
|
6303
6723
|
* <p>The HTTP header name.</p>
|
|
6304
6724
|
*/
|
|
6305
6725
|
Header: string | undefined;
|
|
@@ -6311,10 +6731,12 @@ export interface ResponseHeadersPolicyRemoveHeader {
|
|
|
6311
6731
|
*/
|
|
6312
6732
|
export interface ResponseHeadersPolicyRemoveHeadersConfig {
|
|
6313
6733
|
/**
|
|
6734
|
+
* @public
|
|
6314
6735
|
* <p>The number of HTTP header names in the list.</p>
|
|
6315
6736
|
*/
|
|
6316
6737
|
Quantity: number | undefined;
|
|
6317
6738
|
/**
|
|
6739
|
+
* @public
|
|
6318
6740
|
* <p>The list of HTTP header names.</p>
|
|
6319
6741
|
*/
|
|
6320
6742
|
Items?: ResponseHeadersPolicyRemoveHeader[];
|
|
@@ -6328,12 +6750,14 @@ export interface ResponseHeadersPolicyRemoveHeadersConfig {
|
|
|
6328
6750
|
*/
|
|
6329
6751
|
export interface ResponseHeadersPolicyContentSecurityPolicy {
|
|
6330
6752
|
/**
|
|
6753
|
+
* @public
|
|
6331
6754
|
* <p>A Boolean that determines whether CloudFront overrides the
|
|
6332
6755
|
* <code>Content-Security-Policy</code> HTTP response header received from the origin
|
|
6333
6756
|
* with the one specified in this response headers policy.</p>
|
|
6334
6757
|
*/
|
|
6335
6758
|
Override: boolean | undefined;
|
|
6336
6759
|
/**
|
|
6760
|
+
* @public
|
|
6337
6761
|
* <p>The policy directives and their values that CloudFront includes as values for the
|
|
6338
6762
|
* <code>Content-Security-Policy</code> HTTP response header.</p>
|
|
6339
6763
|
*/
|
|
@@ -6348,6 +6772,7 @@ export interface ResponseHeadersPolicyContentSecurityPolicy {
|
|
|
6348
6772
|
*/
|
|
6349
6773
|
export interface ResponseHeadersPolicyContentTypeOptions {
|
|
6350
6774
|
/**
|
|
6775
|
+
* @public
|
|
6351
6776
|
* <p>A Boolean that determines whether CloudFront overrides the
|
|
6352
6777
|
* <code>X-Content-Type-Options</code> HTTP response header received from the origin
|
|
6353
6778
|
* with the one specified in this response headers policy.</p>
|
|
@@ -6375,12 +6800,14 @@ export type FrameOptionsList = (typeof FrameOptionsList)[keyof typeof FrameOptio
|
|
|
6375
6800
|
*/
|
|
6376
6801
|
export interface ResponseHeadersPolicyFrameOptions {
|
|
6377
6802
|
/**
|
|
6803
|
+
* @public
|
|
6378
6804
|
* <p>A Boolean that determines whether CloudFront overrides the <code>X-Frame-Options</code> HTTP
|
|
6379
6805
|
* response header received from the origin with the one specified in this response headers
|
|
6380
6806
|
* policy.</p>
|
|
6381
6807
|
*/
|
|
6382
6808
|
Override: boolean | undefined;
|
|
6383
6809
|
/**
|
|
6810
|
+
* @public
|
|
6384
6811
|
* <p>The value of the <code>X-Frame-Options</code> HTTP response header. Valid values are
|
|
6385
6812
|
* <code>DENY</code> and <code>SAMEORIGIN</code>.</p>
|
|
6386
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>
|
|
@@ -6414,12 +6841,14 @@ export type ReferrerPolicyList = (typeof ReferrerPolicyList)[keyof typeof Referr
|
|
|
6414
6841
|
*/
|
|
6415
6842
|
export interface ResponseHeadersPolicyReferrerPolicy {
|
|
6416
6843
|
/**
|
|
6844
|
+
* @public
|
|
6417
6845
|
* <p>A Boolean that determines whether CloudFront overrides the <code>Referrer-Policy</code> HTTP
|
|
6418
6846
|
* response header received from the origin with the one specified in this response headers
|
|
6419
6847
|
* policy.</p>
|
|
6420
6848
|
*/
|
|
6421
6849
|
Override: boolean | undefined;
|
|
6422
6850
|
/**
|
|
6851
|
+
* @public
|
|
6423
6852
|
* <p>The value of the <code>Referrer-Policy</code> HTTP response header. Valid values
|
|
6424
6853
|
* are:</p>
|
|
6425
6854
|
* <ul>
|
|
@@ -6477,22 +6906,26 @@ export interface ResponseHeadersPolicyReferrerPolicy {
|
|
|
6477
6906
|
*/
|
|
6478
6907
|
export interface ResponseHeadersPolicyStrictTransportSecurity {
|
|
6479
6908
|
/**
|
|
6909
|
+
* @public
|
|
6480
6910
|
* <p>A Boolean that determines whether CloudFront overrides the
|
|
6481
6911
|
* <code>Strict-Transport-Security</code> HTTP response header received from the origin
|
|
6482
6912
|
* with the one specified in this response headers policy.</p>
|
|
6483
6913
|
*/
|
|
6484
6914
|
Override: boolean | undefined;
|
|
6485
6915
|
/**
|
|
6916
|
+
* @public
|
|
6486
6917
|
* <p>A Boolean that determines whether CloudFront includes the <code>includeSubDomains</code>
|
|
6487
6918
|
* directive in the <code>Strict-Transport-Security</code> HTTP response header.</p>
|
|
6488
6919
|
*/
|
|
6489
6920
|
IncludeSubdomains?: boolean;
|
|
6490
6921
|
/**
|
|
6922
|
+
* @public
|
|
6491
6923
|
* <p>A Boolean that determines whether CloudFront includes the <code>preload</code> directive in
|
|
6492
6924
|
* the <code>Strict-Transport-Security</code> HTTP response header.</p>
|
|
6493
6925
|
*/
|
|
6494
6926
|
Preload?: boolean;
|
|
6495
6927
|
/**
|
|
6928
|
+
* @public
|
|
6496
6929
|
* <p>A number that CloudFront uses as the value for the <code>max-age</code> directive in the
|
|
6497
6930
|
* <code>Strict-Transport-Security</code> HTTP response header.</p>
|
|
6498
6931
|
*/
|
|
@@ -6507,12 +6940,14 @@ export interface ResponseHeadersPolicyStrictTransportSecurity {
|
|
|
6507
6940
|
*/
|
|
6508
6941
|
export interface ResponseHeadersPolicyXSSProtection {
|
|
6509
6942
|
/**
|
|
6943
|
+
* @public
|
|
6510
6944
|
* <p>A Boolean that determines whether CloudFront overrides the <code>X-XSS-Protection</code>
|
|
6511
6945
|
* HTTP response header received from the origin with the one specified in this response
|
|
6512
6946
|
* headers policy.</p>
|
|
6513
6947
|
*/
|
|
6514
6948
|
Override: boolean | undefined;
|
|
6515
6949
|
/**
|
|
6950
|
+
* @public
|
|
6516
6951
|
* <p>A Boolean that determines the value of the <code>X-XSS-Protection</code> HTTP response
|
|
6517
6952
|
* header. When this setting is <code>true</code>, the value of the
|
|
6518
6953
|
* <code>X-XSS-Protection</code> header is <code>1</code>. When this setting is
|
|
@@ -6522,12 +6957,14 @@ export interface ResponseHeadersPolicyXSSProtection {
|
|
|
6522
6957
|
*/
|
|
6523
6958
|
Protection: boolean | undefined;
|
|
6524
6959
|
/**
|
|
6960
|
+
* @public
|
|
6525
6961
|
* <p>A Boolean that determines whether CloudFront includes the <code>mode=block</code> directive
|
|
6526
6962
|
* in the <code>X-XSS-Protection</code> header.</p>
|
|
6527
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>
|
|
6528
6964
|
*/
|
|
6529
6965
|
ModeBlock?: boolean;
|
|
6530
6966
|
/**
|
|
6967
|
+
* @public
|
|
6531
6968
|
* <p>A reporting URI, which CloudFront uses as the value of the <code>report</code> directive in
|
|
6532
6969
|
* the <code>X-XSS-Protection</code> header.</p>
|
|
6533
6970
|
* <p>You cannot specify a <code>ReportUri</code> when <code>ModeBlock</code> is
|
|
@@ -6544,6 +6981,7 @@ export interface ResponseHeadersPolicyXSSProtection {
|
|
|
6544
6981
|
*/
|
|
6545
6982
|
export interface ResponseHeadersPolicySecurityHeadersConfig {
|
|
6546
6983
|
/**
|
|
6984
|
+
* @public
|
|
6547
6985
|
* <p>Determines whether CloudFront includes the <code>X-XSS-Protection</code> HTTP response
|
|
6548
6986
|
* header and the header's value.</p>
|
|
6549
6987
|
* <p>For more information about the <code>X-XSS-Protection</code> HTTP response header, see
|
|
@@ -6551,6 +6989,7 @@ export interface ResponseHeadersPolicySecurityHeadersConfig {
|
|
|
6551
6989
|
*/
|
|
6552
6990
|
XSSProtection?: ResponseHeadersPolicyXSSProtection;
|
|
6553
6991
|
/**
|
|
6992
|
+
* @public
|
|
6554
6993
|
* <p>Determines whether CloudFront includes the <code>X-Frame-Options</code> HTTP response header
|
|
6555
6994
|
* and the header's value.</p>
|
|
6556
6995
|
* <p>For more information about the <code>X-Frame-Options</code> HTTP response header, see
|
|
@@ -6558,6 +6997,7 @@ export interface ResponseHeadersPolicySecurityHeadersConfig {
|
|
|
6558
6997
|
*/
|
|
6559
6998
|
FrameOptions?: ResponseHeadersPolicyFrameOptions;
|
|
6560
6999
|
/**
|
|
7000
|
+
* @public
|
|
6561
7001
|
* <p>Determines whether CloudFront includes the <code>Referrer-Policy</code> HTTP response header
|
|
6562
7002
|
* and the header's value.</p>
|
|
6563
7003
|
* <p>For more information about the <code>Referrer-Policy</code> HTTP response header, see
|
|
@@ -6565,6 +7005,7 @@ export interface ResponseHeadersPolicySecurityHeadersConfig {
|
|
|
6565
7005
|
*/
|
|
6566
7006
|
ReferrerPolicy?: ResponseHeadersPolicyReferrerPolicy;
|
|
6567
7007
|
/**
|
|
7008
|
+
* @public
|
|
6568
7009
|
* <p>The policy directives and their values that CloudFront includes as values for the
|
|
6569
7010
|
* <code>Content-Security-Policy</code> HTTP response header.</p>
|
|
6570
7011
|
* <p>For more information about the <code>Content-Security-Policy</code> HTTP response
|
|
@@ -6572,6 +7013,7 @@ export interface ResponseHeadersPolicySecurityHeadersConfig {
|
|
|
6572
7013
|
*/
|
|
6573
7014
|
ContentSecurityPolicy?: ResponseHeadersPolicyContentSecurityPolicy;
|
|
6574
7015
|
/**
|
|
7016
|
+
* @public
|
|
6575
7017
|
* <p>Determines whether CloudFront includes the <code>X-Content-Type-Options</code> HTTP response
|
|
6576
7018
|
* header with its value set to <code>nosniff</code>.</p>
|
|
6577
7019
|
* <p>For more information about the <code>X-Content-Type-Options</code> HTTP response
|
|
@@ -6579,6 +7021,7 @@ export interface ResponseHeadersPolicySecurityHeadersConfig {
|
|
|
6579
7021
|
*/
|
|
6580
7022
|
ContentTypeOptions?: ResponseHeadersPolicyContentTypeOptions;
|
|
6581
7023
|
/**
|
|
7024
|
+
* @public
|
|
6582
7025
|
* <p>Determines whether CloudFront includes the <code>Strict-Transport-Security</code> HTTP
|
|
6583
7026
|
* response header and the header's value.</p>
|
|
6584
7027
|
* <p>For more information about the <code>Strict-Transport-Security</code> HTTP response
|
|
@@ -6602,12 +7045,14 @@ export interface ResponseHeadersPolicySecurityHeadersConfig {
|
|
|
6602
7045
|
*/
|
|
6603
7046
|
export interface ResponseHeadersPolicyServerTimingHeadersConfig {
|
|
6604
7047
|
/**
|
|
7048
|
+
* @public
|
|
6605
7049
|
* <p>A Boolean that determines whether CloudFront adds the <code>Server-Timing</code> header to
|
|
6606
7050
|
* HTTP responses that it sends in response to requests that match a cache behavior that's
|
|
6607
7051
|
* associated with this response headers policy.</p>
|
|
6608
7052
|
*/
|
|
6609
7053
|
Enabled: boolean | undefined;
|
|
6610
7054
|
/**
|
|
7055
|
+
* @public
|
|
6611
7056
|
* <p>A number 0–100 (inclusive) that specifies the percentage of responses that you want
|
|
6612
7057
|
* CloudFront to add the <code>Server-Timing</code> header to. When you set the sampling rate to
|
|
6613
7058
|
* 100, CloudFront adds the <code>Server-Timing</code> header to the HTTP response for every
|
|
@@ -6626,34 +7071,41 @@ export interface ResponseHeadersPolicyServerTimingHeadersConfig {
|
|
|
6626
7071
|
*/
|
|
6627
7072
|
export interface ResponseHeadersPolicyConfig {
|
|
6628
7073
|
/**
|
|
7074
|
+
* @public
|
|
6629
7075
|
* <p>A comment to describe the response headers policy.</p>
|
|
6630
7076
|
* <p>The comment cannot be longer than 128 characters.</p>
|
|
6631
7077
|
*/
|
|
6632
7078
|
Comment?: string;
|
|
6633
7079
|
/**
|
|
7080
|
+
* @public
|
|
6634
7081
|
* <p>A name to identify the response headers policy.</p>
|
|
6635
7082
|
* <p>The name must be unique for response headers policies in this Amazon Web Services account.</p>
|
|
6636
7083
|
*/
|
|
6637
7084
|
Name: string | undefined;
|
|
6638
7085
|
/**
|
|
7086
|
+
* @public
|
|
6639
7087
|
* <p>A configuration for a set of HTTP response headers that are used for cross-origin
|
|
6640
7088
|
* resource sharing (CORS).</p>
|
|
6641
7089
|
*/
|
|
6642
7090
|
CorsConfig?: ResponseHeadersPolicyCorsConfig;
|
|
6643
7091
|
/**
|
|
7092
|
+
* @public
|
|
6644
7093
|
* <p>A configuration for a set of security-related HTTP response headers.</p>
|
|
6645
7094
|
*/
|
|
6646
7095
|
SecurityHeadersConfig?: ResponseHeadersPolicySecurityHeadersConfig;
|
|
6647
7096
|
/**
|
|
7097
|
+
* @public
|
|
6648
7098
|
* <p>A configuration for enabling the <code>Server-Timing</code> header in HTTP responses
|
|
6649
7099
|
* sent from CloudFront.</p>
|
|
6650
7100
|
*/
|
|
6651
7101
|
ServerTimingHeadersConfig?: ResponseHeadersPolicyServerTimingHeadersConfig;
|
|
6652
7102
|
/**
|
|
7103
|
+
* @public
|
|
6653
7104
|
* <p>A configuration for a set of custom HTTP response headers.</p>
|
|
6654
7105
|
*/
|
|
6655
7106
|
CustomHeadersConfig?: ResponseHeadersPolicyCustomHeadersConfig;
|
|
6656
7107
|
/**
|
|
7108
|
+
* @public
|
|
6657
7109
|
* <p>A configuration for a set of HTTP headers to remove from the HTTP response.</p>
|
|
6658
7110
|
*/
|
|
6659
7111
|
RemoveHeadersConfig?: ResponseHeadersPolicyRemoveHeadersConfig;
|
|
@@ -6663,6 +7115,7 @@ export interface ResponseHeadersPolicyConfig {
|
|
|
6663
7115
|
*/
|
|
6664
7116
|
export interface CreateResponseHeadersPolicyRequest {
|
|
6665
7117
|
/**
|
|
7118
|
+
* @public
|
|
6666
7119
|
* <p>Contains metadata about the response headers policy, and a set of configurations that
|
|
6667
7120
|
* specify the HTTP headers.</p>
|
|
6668
7121
|
*/
|
|
@@ -6682,14 +7135,17 @@ export interface CreateResponseHeadersPolicyRequest {
|
|
|
6682
7135
|
*/
|
|
6683
7136
|
export interface ResponseHeadersPolicy {
|
|
6684
7137
|
/**
|
|
7138
|
+
* @public
|
|
6685
7139
|
* <p>The identifier for the response headers policy.</p>
|
|
6686
7140
|
*/
|
|
6687
7141
|
Id: string | undefined;
|
|
6688
7142
|
/**
|
|
7143
|
+
* @public
|
|
6689
7144
|
* <p>The date and time when the response headers policy was last modified.</p>
|
|
6690
7145
|
*/
|
|
6691
7146
|
LastModifiedTime: Date | undefined;
|
|
6692
7147
|
/**
|
|
7148
|
+
* @public
|
|
6693
7149
|
* <p>A response headers policy configuration.</p>
|
|
6694
7150
|
*/
|
|
6695
7151
|
ResponseHeadersPolicyConfig: ResponseHeadersPolicyConfig | undefined;
|