@aws-sdk/client-cloudfront 3.696.0 → 3.698.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +88 -0
- package/dist-cjs/index.js +988 -197
- package/dist-es/CloudFront.js +22 -0
- package/dist-es/commands/CreateAnycastIpListCommand.js +22 -0
- package/dist-es/commands/CreateVpcOriginCommand.js +22 -0
- package/dist-es/commands/DeleteAnycastIpListCommand.js +22 -0
- package/dist-es/commands/DeleteVpcOriginCommand.js +22 -0
- package/dist-es/commands/GetAnycastIpListCommand.js +22 -0
- package/dist-es/commands/GetVpcOriginCommand.js +22 -0
- package/dist-es/commands/ListAnycastIpListsCommand.js +22 -0
- package/dist-es/commands/ListDistributionsByAnycastIpListIdCommand.js +23 -0
- package/dist-es/commands/ListDistributionsByVpcOriginIdCommand.js +22 -0
- package/dist-es/commands/ListVpcOriginsCommand.js +22 -0
- package/dist-es/commands/UpdateVpcOriginCommand.js +22 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/models/models_0.js +82 -52
- package/dist-es/models/models_1.js +3 -13
- package/dist-es/protocols/Aws_restXml.js +648 -66
- package/dist-types/CloudFront.d.ts +79 -0
- package/dist-types/CloudFrontClient.d.ts +13 -2
- package/dist-types/commands/CopyDistributionCommand.d.ts +15 -4
- package/dist-types/commands/CreateAnycastIpListCommand.d.ts +110 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +33 -8
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +33 -8
- package/dist-types/commands/CreateKeyValueStoreCommand.d.ts +4 -4
- package/dist-types/commands/CreateVpcOriginCommand.d.ts +186 -0
- package/dist-types/commands/DeleteAnycastIpListCommand.d.ts +95 -0
- package/dist-types/commands/DeleteCachePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKeyValueStoreCommand.d.ts +2 -2
- package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVpcOriginCommand.d.ts +155 -0
- package/dist-types/commands/DescribeKeyValueStoreCommand.d.ts +1 -1
- package/dist-types/commands/GetAnycastIpListCommand.d.ts +94 -0
- package/dist-types/commands/GetDistributionCommand.d.ts +15 -4
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +15 -4
- package/dist-types/commands/GetVpcOriginCommand.d.ts +140 -0
- package/dist-types/commands/ListAnycastIpListsCommand.d.ts +100 -0
- package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +393 -0
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +11 -0
- package/dist-types/commands/ListDistributionsByVpcOriginIdCommand.d.ts +116 -0
- package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +11 -0
- package/dist-types/commands/ListDistributionsCommand.d.ts +11 -0
- package/dist-types/commands/ListVpcOriginsCommand.d.ts +131 -0
- package/dist-types/commands/UpdateDistributionCommand.d.ts +33 -8
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +18 -4
- package/dist-types/commands/UpdateKeyValueStoreCommand.d.ts +1 -1
- package/dist-types/commands/UpdateVpcOriginCommand.d.ts +193 -0
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/models/models_0.d.ts +361 -383
- package/dist-types/models/models_1.d.ts +733 -25
- package/dist-types/protocols/Aws_restXml.d.ts +99 -0
- package/dist-types/ts3.4/CloudFront.d.ts +195 -0
- package/dist-types/ts3.4/CloudFrontClient.d.ts +68 -2
- package/dist-types/ts3.4/commands/CreateAnycastIpListCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateVpcOriginCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteAnycastIpListCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteVpcOriginCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetAnycastIpListCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetVpcOriginCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListAnycastIpListsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDistributionsByVpcOriginIdCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListVpcOriginsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateVpcOriginCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/models/models_0.d.ts +106 -93
- package/dist-types/ts3.4/models/models_1.d.ts +171 -13
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +132 -0
- package/package.json +1 -1
|
@@ -320,6 +320,124 @@ export interface AllowedMethods {
|
|
|
320
320
|
*/
|
|
321
321
|
CachedMethods?: CachedMethods | undefined;
|
|
322
322
|
}
|
|
323
|
+
/**
|
|
324
|
+
* <p>An Anycast static IP list.</p>
|
|
325
|
+
* @public
|
|
326
|
+
*/
|
|
327
|
+
export interface AnycastIpList {
|
|
328
|
+
/**
|
|
329
|
+
* <p>The ID of the Anycast static IP list.</p>
|
|
330
|
+
* @public
|
|
331
|
+
*/
|
|
332
|
+
Id: string | undefined;
|
|
333
|
+
/**
|
|
334
|
+
* <p>The name of the Anycast static IP list.</p>
|
|
335
|
+
* @public
|
|
336
|
+
*/
|
|
337
|
+
Name: string | undefined;
|
|
338
|
+
/**
|
|
339
|
+
* <p>The status of the Anycast static IP list. Valid values: <code>Deployed</code>, <code>Deploying</code>, or <code>Failed</code>.</p>
|
|
340
|
+
* @public
|
|
341
|
+
*/
|
|
342
|
+
Status: string | undefined;
|
|
343
|
+
/**
|
|
344
|
+
* <p>The Amazon Resource Name (ARN) of the Anycast static IP list.</p>
|
|
345
|
+
* @public
|
|
346
|
+
*/
|
|
347
|
+
Arn: string | undefined;
|
|
348
|
+
/**
|
|
349
|
+
* <p>The static IP addresses that are allocated to the Anycast static IP list.</p>
|
|
350
|
+
* @public
|
|
351
|
+
*/
|
|
352
|
+
AnycastIps: string[] | undefined;
|
|
353
|
+
/**
|
|
354
|
+
* <p>The number of IP addresses in the Anycast static IP list.</p>
|
|
355
|
+
* @public
|
|
356
|
+
*/
|
|
357
|
+
IpCount: number | undefined;
|
|
358
|
+
/**
|
|
359
|
+
* <p>The last time the Anycast static IP list was modified.</p>
|
|
360
|
+
* @public
|
|
361
|
+
*/
|
|
362
|
+
LastModifiedTime: Date | undefined;
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* <p>An abbreviated version of the <a>AnycastIpList</a> structure. Omits the allocated static IP addresses (<a>AnycastIpList$AnycastIps</a>).</p>
|
|
366
|
+
* @public
|
|
367
|
+
*/
|
|
368
|
+
export interface AnycastIpListSummary {
|
|
369
|
+
/**
|
|
370
|
+
* <p>The ID of the Anycast static IP list.</p>
|
|
371
|
+
* @public
|
|
372
|
+
*/
|
|
373
|
+
Id: string | undefined;
|
|
374
|
+
/**
|
|
375
|
+
* <p>The name of the Anycast static IP list.</p>
|
|
376
|
+
* @public
|
|
377
|
+
*/
|
|
378
|
+
Name: string | undefined;
|
|
379
|
+
/**
|
|
380
|
+
* <p>The deployment status of the Anycast static IP list. Valid values: Deployed, Deploying, or Failed.</p>
|
|
381
|
+
* @public
|
|
382
|
+
*/
|
|
383
|
+
Status: string | undefined;
|
|
384
|
+
/**
|
|
385
|
+
* <p>The Amazon Resource Name (ARN) of the Anycast static IP list.</p>
|
|
386
|
+
* @public
|
|
387
|
+
*/
|
|
388
|
+
Arn: string | undefined;
|
|
389
|
+
/**
|
|
390
|
+
* <p>The number of IP addresses in the Anycast static IP list.</p>
|
|
391
|
+
* @public
|
|
392
|
+
*/
|
|
393
|
+
IpCount: number | undefined;
|
|
394
|
+
/**
|
|
395
|
+
* <p>The last time the Anycast static IP list was modified.</p>
|
|
396
|
+
* @public
|
|
397
|
+
*/
|
|
398
|
+
LastModifiedTime: Date | undefined;
|
|
399
|
+
}
|
|
400
|
+
/**
|
|
401
|
+
* <p>The Anycast static IP list collection.</p>
|
|
402
|
+
* @public
|
|
403
|
+
*/
|
|
404
|
+
export interface AnycastIpListCollection {
|
|
405
|
+
/**
|
|
406
|
+
* <p>Items in the Anycast static IP list collection. Each item is of the <a>AnycastIpListSummary</a> structure type.</p>
|
|
407
|
+
* @public
|
|
408
|
+
*/
|
|
409
|
+
Items?: AnycastIpListSummary[] | undefined;
|
|
410
|
+
/**
|
|
411
|
+
* <p>Use this field when paginating results to indicate where to begin in your list. The response includes items in the list that occur
|
|
412
|
+
* after the marker. To get the next page of the list, set this field's value to the value
|
|
413
|
+
* of <code>NextMarker</code> from the current page's response.</p>
|
|
414
|
+
* @public
|
|
415
|
+
*/
|
|
416
|
+
Marker: string | undefined;
|
|
417
|
+
/**
|
|
418
|
+
* <p>Indicates the next page of the Anycast static IP list collection. To get the next page of the
|
|
419
|
+
* list, use this value in the <code>Marker</code> field of your request.</p>
|
|
420
|
+
* @public
|
|
421
|
+
*/
|
|
422
|
+
NextMarker?: string | undefined;
|
|
423
|
+
/**
|
|
424
|
+
* <p>The maximum number of Anycast static IP list collections that you want returned in the
|
|
425
|
+
* response.</p>
|
|
426
|
+
* @public
|
|
427
|
+
*/
|
|
428
|
+
MaxItems: number | undefined;
|
|
429
|
+
/**
|
|
430
|
+
* <p>If there are more items in the list collection than are in this response, this value is
|
|
431
|
+
* <code>true</code>.</p>
|
|
432
|
+
* @public
|
|
433
|
+
*/
|
|
434
|
+
IsTruncated: boolean | undefined;
|
|
435
|
+
/**
|
|
436
|
+
* <p>The quantity of Anycast static IP lists in the collection.</p>
|
|
437
|
+
* @public
|
|
438
|
+
*/
|
|
439
|
+
Quantity: number | undefined;
|
|
440
|
+
}
|
|
323
441
|
/**
|
|
324
442
|
* @public
|
|
325
443
|
*/
|
|
@@ -670,6 +788,23 @@ export interface FunctionAssociations {
|
|
|
670
788
|
*/
|
|
671
789
|
Items?: FunctionAssociation[] | undefined;
|
|
672
790
|
}
|
|
791
|
+
/**
|
|
792
|
+
* <p>Amazon CloudFront supports gRPC, an open-source remote procedure call (RPC) framework built on
|
|
793
|
+
* HTTP/2. gRPC offers bi-directional streaming and binary protocol that buffers payloads,
|
|
794
|
+
* making it suitable for applications that require low latency communications.</p>
|
|
795
|
+
* <p>To enable your distribution to handle gRPC requests, you must include HTTP/2 as one of the supported <code>HTTP</code> versions and allow <code>HTTP</code> methods, including <code>POST</code>.</p>
|
|
796
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-using-grpc.html">Using gRPC with CloudFront distributions</a> in the
|
|
797
|
+
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
798
|
+
* @public
|
|
799
|
+
*/
|
|
800
|
+
export interface GrpcConfig {
|
|
801
|
+
/**
|
|
802
|
+
* <p>Enables your CloudFront distribution to receive gRPC requests and to proxy them directly to your
|
|
803
|
+
* origins.</p>
|
|
804
|
+
* @public
|
|
805
|
+
*/
|
|
806
|
+
Enabled: boolean | undefined;
|
|
807
|
+
}
|
|
673
808
|
/**
|
|
674
809
|
* <p>A complex type that contains a Lambda@Edge function association.</p>
|
|
675
810
|
* @public
|
|
@@ -1011,6 +1146,11 @@ export interface CacheBehavior {
|
|
|
1011
1146
|
* @public
|
|
1012
1147
|
*/
|
|
1013
1148
|
ResponseHeadersPolicyId?: string | undefined;
|
|
1149
|
+
/**
|
|
1150
|
+
* <p>The gRPC configuration for your cache behavior.</p>
|
|
1151
|
+
* @public
|
|
1152
|
+
*/
|
|
1153
|
+
GrpcConfig?: GrpcConfig | undefined;
|
|
1014
1154
|
/**
|
|
1015
1155
|
* @deprecated
|
|
1016
1156
|
*
|
|
@@ -1612,7 +1752,7 @@ export declare class CannotChangeImmutablePublicKeyFields extends __BaseExceptio
|
|
|
1612
1752
|
constructor(opts: __ExceptionOptionType<CannotChangeImmutablePublicKeyFields, __BaseException>);
|
|
1613
1753
|
}
|
|
1614
1754
|
/**
|
|
1615
|
-
* <p>The
|
|
1755
|
+
* <p>The entity cannot be deleted while it is in use.</p>
|
|
1616
1756
|
* @public
|
|
1617
1757
|
*/
|
|
1618
1758
|
export declare class CannotDeleteEntityWhileInUse extends __BaseException {
|
|
@@ -1624,6 +1764,19 @@ export declare class CannotDeleteEntityWhileInUse extends __BaseException {
|
|
|
1624
1764
|
*/
|
|
1625
1765
|
constructor(opts: __ExceptionOptionType<CannotDeleteEntityWhileInUse, __BaseException>);
|
|
1626
1766
|
}
|
|
1767
|
+
/**
|
|
1768
|
+
* <p>The entity cannot be updated while it is in use.</p>
|
|
1769
|
+
* @public
|
|
1770
|
+
*/
|
|
1771
|
+
export declare class CannotUpdateEntityWhileInUse extends __BaseException {
|
|
1772
|
+
readonly name: "CannotUpdateEntityWhileInUse";
|
|
1773
|
+
readonly $fault: "client";
|
|
1774
|
+
Message?: string | undefined;
|
|
1775
|
+
/**
|
|
1776
|
+
* @internal
|
|
1777
|
+
*/
|
|
1778
|
+
constructor(opts: __ExceptionOptionType<CannotUpdateEntityWhileInUse, __BaseException>);
|
|
1779
|
+
}
|
|
1627
1780
|
/**
|
|
1628
1781
|
* @public
|
|
1629
1782
|
* @enum
|
|
@@ -1980,6 +2133,11 @@ export interface DefaultCacheBehavior {
|
|
|
1980
2133
|
* @public
|
|
1981
2134
|
*/
|
|
1982
2135
|
ResponseHeadersPolicyId?: string | undefined;
|
|
2136
|
+
/**
|
|
2137
|
+
* <p>The gRPC configuration for your cache behavior.</p>
|
|
2138
|
+
* @public
|
|
2139
|
+
*/
|
|
2140
|
+
GrpcConfig?: GrpcConfig | undefined;
|
|
1983
2141
|
/**
|
|
1984
2142
|
* @deprecated
|
|
1985
2143
|
*
|
|
@@ -2064,22 +2222,31 @@ export declare const HttpVersion: {
|
|
|
2064
2222
|
*/
|
|
2065
2223
|
export type HttpVersion = (typeof HttpVersion)[keyof typeof HttpVersion];
|
|
2066
2224
|
/**
|
|
2067
|
-
* <p>A complex type that
|
|
2068
|
-
*
|
|
2225
|
+
* <p>A complex type that specifies whether access logs are written for the distribution.</p>
|
|
2226
|
+
* <note>
|
|
2227
|
+
* <p>If you already enabled standard logging (legacy) and you want to enable standard logging
|
|
2228
|
+
* (v2) to send your access logs to Amazon S3, we recommend that you specify a
|
|
2229
|
+
* <i>different</i> Amazon S3 bucket or use a <i>separate
|
|
2230
|
+
* path</i> in the same bucket (for example, use a log prefix or
|
|
2231
|
+
* partitioning). This helps you keep track of which log files are associated with
|
|
2232
|
+
* which logging subscription and prevents log files from overwriting each other. For
|
|
2233
|
+
* more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html">Standard logging (access logs)</a> in the
|
|
2234
|
+
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
2235
|
+
* </note>
|
|
2069
2236
|
* @public
|
|
2070
2237
|
*/
|
|
2071
2238
|
export interface LoggingConfig {
|
|
2072
2239
|
/**
|
|
2073
|
-
* <p>Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you don't
|
|
2074
|
-
*
|
|
2075
|
-
*
|
|
2076
|
-
*
|
|
2240
|
+
* <p>Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you don't want to
|
|
2241
|
+
* enable logging when you create a distribution or if you want to disable logging for an
|
|
2242
|
+
* existing distribution, specify <code>false</code> for <code>Enabled</code>, and specify
|
|
2243
|
+
* empty <code>Bucket</code> and <code>Prefix</code> elements. If you specify
|
|
2077
2244
|
* <code>false</code> for <code>Enabled</code> but you specify values for
|
|
2078
|
-
* <code>Bucket</code
|
|
2079
|
-
*
|
|
2245
|
+
* <code>Bucket</code> and <code>prefix</code>, the values are automatically
|
|
2246
|
+
* deleted.</p>
|
|
2080
2247
|
* @public
|
|
2081
2248
|
*/
|
|
2082
|
-
Enabled
|
|
2249
|
+
Enabled?: boolean | undefined;
|
|
2083
2250
|
/**
|
|
2084
2251
|
* <p>Specifies whether you want CloudFront to include cookies in access logs, specify
|
|
2085
2252
|
* <code>true</code> for <code>IncludeCookies</code>. If you choose to include cookies
|
|
@@ -2089,13 +2256,13 @@ export interface LoggingConfig {
|
|
|
2089
2256
|
* <code>false</code> for <code>IncludeCookies</code>.</p>
|
|
2090
2257
|
* @public
|
|
2091
2258
|
*/
|
|
2092
|
-
IncludeCookies
|
|
2259
|
+
IncludeCookies?: boolean | undefined;
|
|
2093
2260
|
/**
|
|
2094
2261
|
* <p>The Amazon S3 bucket to store the access logs in, for example,
|
|
2095
|
-
* <code>
|
|
2262
|
+
* <code>amzn-s3-demo-bucket.s3.amazonaws.com</code>.</p>
|
|
2096
2263
|
* @public
|
|
2097
2264
|
*/
|
|
2098
|
-
Bucket
|
|
2265
|
+
Bucket?: string | undefined;
|
|
2099
2266
|
/**
|
|
2100
2267
|
* <p>An optional string that you want CloudFront to prefix to the access log
|
|
2101
2268
|
* <code>filenames</code> for this distribution, for example, <code>myprefix/</code>.
|
|
@@ -2103,7 +2270,7 @@ export interface LoggingConfig {
|
|
|
2103
2270
|
* include an empty <code>Prefix</code> element in the <code>Logging</code> element.</p>
|
|
2104
2271
|
* @public
|
|
2105
2272
|
*/
|
|
2106
|
-
Prefix
|
|
2273
|
+
Prefix?: string | undefined;
|
|
2107
2274
|
}
|
|
2108
2275
|
/**
|
|
2109
2276
|
* <p>A complex data type for the status codes that you specify that, when returned by a
|
|
@@ -2163,11 +2330,24 @@ export interface OriginGroupMembers {
|
|
|
2163
2330
|
Items: OriginGroupMember[] | undefined;
|
|
2164
2331
|
}
|
|
2165
2332
|
/**
|
|
2166
|
-
*
|
|
2167
|
-
*
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2333
|
+
* @public
|
|
2334
|
+
* @enum
|
|
2335
|
+
*/
|
|
2336
|
+
export declare const OriginGroupSelectionCriteria: {
|
|
2337
|
+
readonly Default: "default";
|
|
2338
|
+
readonly MediaQualityBased: "media-quality-based";
|
|
2339
|
+
};
|
|
2340
|
+
/**
|
|
2341
|
+
* @public
|
|
2342
|
+
*/
|
|
2343
|
+
export type OriginGroupSelectionCriteria = (typeof OriginGroupSelectionCriteria)[keyof typeof OriginGroupSelectionCriteria];
|
|
2344
|
+
/**
|
|
2345
|
+
* <p>An origin group includes two origins (a primary origin and a secondary origin to failover
|
|
2346
|
+
* to) and a failover criteria that you specify. You create an origin group to support
|
|
2347
|
+
* origin failover in CloudFront. When you create or update a distribution, you can specify the
|
|
2348
|
+
* origin group instead of a single origin, and CloudFront will failover from the primary origin
|
|
2349
|
+
* to the secondary origin under the failover conditions that you've chosen.</p>
|
|
2350
|
+
* <p>Optionally, you can choose selection criteria for your origin group to specify how your origins are selected when your distribution routes viewer requests.</p>
|
|
2171
2351
|
* @public
|
|
2172
2352
|
*/
|
|
2173
2353
|
export interface OriginGroup {
|
|
@@ -2187,6 +2367,12 @@ export interface OriginGroup {
|
|
|
2187
2367
|
* @public
|
|
2188
2368
|
*/
|
|
2189
2369
|
Members: OriginGroupMembers | undefined;
|
|
2370
|
+
/**
|
|
2371
|
+
* <p>The selection criteria for the origin group. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/high_availability_origin_failover.html#concept_origin_groups.creating">Create an origin group</a> in the <i>Amazon CloudFront
|
|
2372
|
+
* Developer Guide</i>.</p>
|
|
2373
|
+
* @public
|
|
2374
|
+
*/
|
|
2375
|
+
SelectionCriteria?: OriginGroupSelectionCriteria | undefined;
|
|
2190
2376
|
}
|
|
2191
2377
|
/**
|
|
2192
2378
|
* <p>A complex data type for the origin groups specified for a distribution.</p>
|
|
@@ -2428,6 +2614,17 @@ export interface S3OriginConfig {
|
|
|
2428
2614
|
*/
|
|
2429
2615
|
OriginAccessIdentity: string | undefined;
|
|
2430
2616
|
}
|
|
2617
|
+
/**
|
|
2618
|
+
* <p>An Amazon CloudFront VPC origin configuration.</p>
|
|
2619
|
+
* @public
|
|
2620
|
+
*/
|
|
2621
|
+
export interface VpcOriginConfig {
|
|
2622
|
+
/**
|
|
2623
|
+
* <p>The VPC origin ID.</p>
|
|
2624
|
+
* @public
|
|
2625
|
+
*/
|
|
2626
|
+
VpcOriginId: string | undefined;
|
|
2627
|
+
}
|
|
2431
2628
|
/**
|
|
2432
2629
|
* <p>An origin.</p>
|
|
2433
2630
|
* <p>An origin is the location where content is stored, and from which CloudFront gets content to
|
|
@@ -2513,6 +2710,11 @@ export interface Origin {
|
|
|
2513
2710
|
* @public
|
|
2514
2711
|
*/
|
|
2515
2712
|
CustomOriginConfig?: CustomOriginConfig | undefined;
|
|
2713
|
+
/**
|
|
2714
|
+
* <p>The VPC origin configuration.</p>
|
|
2715
|
+
* @public
|
|
2716
|
+
*/
|
|
2717
|
+
VpcOriginConfig?: VpcOriginConfig | undefined;
|
|
2516
2718
|
/**
|
|
2517
2719
|
* <p>The number of times that CloudFront attempts to connect to the origin. The minimum number is
|
|
2518
2720
|
* 1, the maximum is 3, and the default (if you don't specify otherwise) is 3.</p>
|
|
@@ -3110,6 +3312,11 @@ export interface DistributionConfig {
|
|
|
3110
3312
|
* @public
|
|
3111
3313
|
*/
|
|
3112
3314
|
Staging?: boolean | undefined;
|
|
3315
|
+
/**
|
|
3316
|
+
* <p>ID of the Anycast static IP list that is associated with the distribution.</p>
|
|
3317
|
+
* @public
|
|
3318
|
+
*/
|
|
3319
|
+
AnycastIpListId?: string | undefined;
|
|
3113
3320
|
}
|
|
3114
3321
|
/**
|
|
3115
3322
|
* <p>A distribution tells CloudFront where you want content to be delivered from, and the details
|
|
@@ -4010,6 +4217,127 @@ export declare class TrustedSignerDoesNotExist extends __BaseException {
|
|
|
4010
4217
|
*/
|
|
4011
4218
|
constructor(opts: __ExceptionOptionType<TrustedSignerDoesNotExist, __BaseException>);
|
|
4012
4219
|
}
|
|
4220
|
+
/**
|
|
4221
|
+
* <p>A complex type that contains <code>Tag</code> key and <code>Tag</code> value.</p>
|
|
4222
|
+
* @public
|
|
4223
|
+
*/
|
|
4224
|
+
export interface Tag {
|
|
4225
|
+
/**
|
|
4226
|
+
* <p>A string that contains <code>Tag</code> key.</p>
|
|
4227
|
+
* <p>The string length should be between 1 and 128 characters. Valid characters include
|
|
4228
|
+
* <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, space, and the special
|
|
4229
|
+
* characters <code>_ - . : / = + @</code>.</p>
|
|
4230
|
+
* @public
|
|
4231
|
+
*/
|
|
4232
|
+
Key: string | undefined;
|
|
4233
|
+
/**
|
|
4234
|
+
* <p>A string that contains an optional <code>Tag</code> value.</p>
|
|
4235
|
+
* <p>The string length should be between 0 and 256 characters. Valid characters include
|
|
4236
|
+
* <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, space, and the special
|
|
4237
|
+
* characters <code>_ - . : / = + @</code>.</p>
|
|
4238
|
+
* @public
|
|
4239
|
+
*/
|
|
4240
|
+
Value?: string | undefined;
|
|
4241
|
+
}
|
|
4242
|
+
/**
|
|
4243
|
+
* <p>A complex type that contains zero or more <code>Tag</code> elements.</p>
|
|
4244
|
+
* @public
|
|
4245
|
+
*/
|
|
4246
|
+
export interface Tags {
|
|
4247
|
+
/**
|
|
4248
|
+
* <p>A complex type that contains <code>Tag</code> elements.</p>
|
|
4249
|
+
* @public
|
|
4250
|
+
*/
|
|
4251
|
+
Items?: Tag[] | undefined;
|
|
4252
|
+
}
|
|
4253
|
+
/**
|
|
4254
|
+
* @public
|
|
4255
|
+
*/
|
|
4256
|
+
export interface CreateAnycastIpListRequest {
|
|
4257
|
+
/**
|
|
4258
|
+
* <p>Name of the Anycast static IP list.</p>
|
|
4259
|
+
* @public
|
|
4260
|
+
*/
|
|
4261
|
+
Name: string | undefined;
|
|
4262
|
+
/**
|
|
4263
|
+
* <p>The number of static IP addresses that are allocated to the Anycast static IP list.</p>
|
|
4264
|
+
* @public
|
|
4265
|
+
*/
|
|
4266
|
+
IpCount: number | undefined;
|
|
4267
|
+
/**
|
|
4268
|
+
* <p>A complex type that contains zero or more <code>Tag</code> elements.</p>
|
|
4269
|
+
* @public
|
|
4270
|
+
*/
|
|
4271
|
+
Tags?: Tags | undefined;
|
|
4272
|
+
}
|
|
4273
|
+
/**
|
|
4274
|
+
* @public
|
|
4275
|
+
*/
|
|
4276
|
+
export interface CreateAnycastIpListResult {
|
|
4277
|
+
/**
|
|
4278
|
+
* <p>A response structure that includes the version identifier (ETag) and the created <a>AnycastIpList</a> structure.</p>
|
|
4279
|
+
* @public
|
|
4280
|
+
*/
|
|
4281
|
+
AnycastIpList?: AnycastIpList | undefined;
|
|
4282
|
+
/**
|
|
4283
|
+
* <p>The version identifier for the current version of the Anycast static IP list.</p>
|
|
4284
|
+
* @public
|
|
4285
|
+
*/
|
|
4286
|
+
ETag?: string | undefined;
|
|
4287
|
+
}
|
|
4288
|
+
/**
|
|
4289
|
+
* <p>The entity already exists. You must provide a unique
|
|
4290
|
+
* entity.</p>
|
|
4291
|
+
* @public
|
|
4292
|
+
*/
|
|
4293
|
+
export declare class EntityAlreadyExists extends __BaseException {
|
|
4294
|
+
readonly name: "EntityAlreadyExists";
|
|
4295
|
+
readonly $fault: "client";
|
|
4296
|
+
Message?: string | undefined;
|
|
4297
|
+
/**
|
|
4298
|
+
* @internal
|
|
4299
|
+
*/
|
|
4300
|
+
constructor(opts: __ExceptionOptionType<EntityAlreadyExists, __BaseException>);
|
|
4301
|
+
}
|
|
4302
|
+
/**
|
|
4303
|
+
* <p>The entity limit has been exceeded.</p>
|
|
4304
|
+
* @public
|
|
4305
|
+
*/
|
|
4306
|
+
export declare class EntityLimitExceeded extends __BaseException {
|
|
4307
|
+
readonly name: "EntityLimitExceeded";
|
|
4308
|
+
readonly $fault: "client";
|
|
4309
|
+
Message?: string | undefined;
|
|
4310
|
+
/**
|
|
4311
|
+
* @internal
|
|
4312
|
+
*/
|
|
4313
|
+
constructor(opts: __ExceptionOptionType<EntityLimitExceeded, __BaseException>);
|
|
4314
|
+
}
|
|
4315
|
+
/**
|
|
4316
|
+
* <p>The tagging specified is not valid.</p>
|
|
4317
|
+
* @public
|
|
4318
|
+
*/
|
|
4319
|
+
export declare class InvalidTagging extends __BaseException {
|
|
4320
|
+
readonly name: "InvalidTagging";
|
|
4321
|
+
readonly $fault: "client";
|
|
4322
|
+
Message?: string | undefined;
|
|
4323
|
+
/**
|
|
4324
|
+
* @internal
|
|
4325
|
+
*/
|
|
4326
|
+
constructor(opts: __ExceptionOptionType<InvalidTagging, __BaseException>);
|
|
4327
|
+
}
|
|
4328
|
+
/**
|
|
4329
|
+
* <p>This operation is not supported in this region.</p>
|
|
4330
|
+
* @public
|
|
4331
|
+
*/
|
|
4332
|
+
export declare class UnsupportedOperation extends __BaseException {
|
|
4333
|
+
readonly name: "UnsupportedOperation";
|
|
4334
|
+
readonly $fault: "client";
|
|
4335
|
+
Message?: string | undefined;
|
|
4336
|
+
/**
|
|
4337
|
+
* @internal
|
|
4338
|
+
*/
|
|
4339
|
+
constructor(opts: __ExceptionOptionType<UnsupportedOperation, __BaseException>);
|
|
4340
|
+
}
|
|
4013
4341
|
/**
|
|
4014
4342
|
* @public
|
|
4015
4343
|
*/
|
|
@@ -4497,6 +4825,19 @@ export interface CreateDistributionResult {
|
|
|
4497
4825
|
*/
|
|
4498
4826
|
ETag?: string | undefined;
|
|
4499
4827
|
}
|
|
4828
|
+
/**
|
|
4829
|
+
* <p>The entity was not found.</p>
|
|
4830
|
+
* @public
|
|
4831
|
+
*/
|
|
4832
|
+
export declare class EntityNotFound extends __BaseException {
|
|
4833
|
+
readonly name: "EntityNotFound";
|
|
4834
|
+
readonly $fault: "client";
|
|
4835
|
+
Message?: string | undefined;
|
|
4836
|
+
/**
|
|
4837
|
+
* @internal
|
|
4838
|
+
*/
|
|
4839
|
+
constructor(opts: __ExceptionOptionType<EntityNotFound, __BaseException>);
|
|
4840
|
+
}
|
|
4500
4841
|
/**
|
|
4501
4842
|
* <p>An origin cannot contain both an origin access control (OAC) and an origin access
|
|
4502
4843
|
* identity (OAI).</p>
|
|
@@ -4538,39 +4879,6 @@ export declare class NoSuchContinuousDeploymentPolicy extends __BaseException {
|
|
|
4538
4879
|
*/
|
|
4539
4880
|
constructor(opts: __ExceptionOptionType<NoSuchContinuousDeploymentPolicy, __BaseException>);
|
|
4540
4881
|
}
|
|
4541
|
-
/**
|
|
4542
|
-
* <p>A complex type that contains <code>Tag</code> key and <code>Tag</code> value.</p>
|
|
4543
|
-
* @public
|
|
4544
|
-
*/
|
|
4545
|
-
export interface Tag {
|
|
4546
|
-
/**
|
|
4547
|
-
* <p>A string that contains <code>Tag</code> key.</p>
|
|
4548
|
-
* <p>The string length should be between 1 and 128 characters. Valid characters include
|
|
4549
|
-
* <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, space, and the special
|
|
4550
|
-
* characters <code>_ - . : / = + @</code>.</p>
|
|
4551
|
-
* @public
|
|
4552
|
-
*/
|
|
4553
|
-
Key: string | undefined;
|
|
4554
|
-
/**
|
|
4555
|
-
* <p>A string that contains an optional <code>Tag</code> value.</p>
|
|
4556
|
-
* <p>The string length should be between 0 and 256 characters. Valid characters include
|
|
4557
|
-
* <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, space, and the special
|
|
4558
|
-
* characters <code>_ - . : / = + @</code>.</p>
|
|
4559
|
-
* @public
|
|
4560
|
-
*/
|
|
4561
|
-
Value?: string | undefined;
|
|
4562
|
-
}
|
|
4563
|
-
/**
|
|
4564
|
-
* <p>A complex type that contains zero or more <code>Tag</code> elements.</p>
|
|
4565
|
-
* @public
|
|
4566
|
-
*/
|
|
4567
|
-
export interface Tags {
|
|
4568
|
-
/**
|
|
4569
|
-
* <p>A complex type that contains <code>Tag</code> elements.</p>
|
|
4570
|
-
* @public
|
|
4571
|
-
*/
|
|
4572
|
-
Items?: Tag[] | undefined;
|
|
4573
|
-
}
|
|
4574
4882
|
/**
|
|
4575
4883
|
* <p>A distribution Configuration and a list of tags to be associated with the
|
|
4576
4884
|
* distribution.</p>
|
|
@@ -4620,19 +4928,6 @@ export interface CreateDistributionWithTagsResult {
|
|
|
4620
4928
|
*/
|
|
4621
4929
|
ETag?: string | undefined;
|
|
4622
4930
|
}
|
|
4623
|
-
/**
|
|
4624
|
-
* <p>The tagging specified is not valid.</p>
|
|
4625
|
-
* @public
|
|
4626
|
-
*/
|
|
4627
|
-
export declare class InvalidTagging extends __BaseException {
|
|
4628
|
-
readonly name: "InvalidTagging";
|
|
4629
|
-
readonly $fault: "client";
|
|
4630
|
-
Message?: string | undefined;
|
|
4631
|
-
/**
|
|
4632
|
-
* @internal
|
|
4633
|
-
*/
|
|
4634
|
-
constructor(opts: __ExceptionOptionType<InvalidTagging, __BaseException>);
|
|
4635
|
-
}
|
|
4636
4931
|
/**
|
|
4637
4932
|
* @public
|
|
4638
4933
|
* @enum
|
|
@@ -5365,19 +5660,6 @@ export declare class TooManyFunctions extends __BaseException {
|
|
|
5365
5660
|
*/
|
|
5366
5661
|
constructor(opts: __ExceptionOptionType<TooManyFunctions, __BaseException>);
|
|
5367
5662
|
}
|
|
5368
|
-
/**
|
|
5369
|
-
* <p>This operation is not supported in this region.</p>
|
|
5370
|
-
* @public
|
|
5371
|
-
*/
|
|
5372
|
-
export declare class UnsupportedOperation extends __BaseException {
|
|
5373
|
-
readonly name: "UnsupportedOperation";
|
|
5374
|
-
readonly $fault: "client";
|
|
5375
|
-
Message?: string | undefined;
|
|
5376
|
-
/**
|
|
5377
|
-
* @internal
|
|
5378
|
-
*/
|
|
5379
|
-
constructor(opts: __ExceptionOptionType<UnsupportedOperation, __BaseException>);
|
|
5380
|
-
}
|
|
5381
5663
|
/**
|
|
5382
5664
|
* <p>A complex type that contains information about the objects that you want to
|
|
5383
5665
|
* 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
|
|
@@ -5729,34 +6011,7 @@ export interface CreateKeyValueStoreResult {
|
|
|
5729
6011
|
Location?: string | undefined;
|
|
5730
6012
|
}
|
|
5731
6013
|
/**
|
|
5732
|
-
* <p>The
|
|
5733
|
-
* entity.</p>
|
|
5734
|
-
* @public
|
|
5735
|
-
*/
|
|
5736
|
-
export declare class EntityAlreadyExists extends __BaseException {
|
|
5737
|
-
readonly name: "EntityAlreadyExists";
|
|
5738
|
-
readonly $fault: "client";
|
|
5739
|
-
Message?: string | undefined;
|
|
5740
|
-
/**
|
|
5741
|
-
* @internal
|
|
5742
|
-
*/
|
|
5743
|
-
constructor(opts: __ExceptionOptionType<EntityAlreadyExists, __BaseException>);
|
|
5744
|
-
}
|
|
5745
|
-
/**
|
|
5746
|
-
* <p>The key value store entity limit has been exceeded.</p>
|
|
5747
|
-
* @public
|
|
5748
|
-
*/
|
|
5749
|
-
export declare class EntityLimitExceeded extends __BaseException {
|
|
5750
|
-
readonly name: "EntityLimitExceeded";
|
|
5751
|
-
readonly $fault: "client";
|
|
5752
|
-
Message?: string | undefined;
|
|
5753
|
-
/**
|
|
5754
|
-
* @internal
|
|
5755
|
-
*/
|
|
5756
|
-
constructor(opts: __ExceptionOptionType<EntityLimitExceeded, __BaseException>);
|
|
5757
|
-
}
|
|
5758
|
-
/**
|
|
5759
|
-
* <p>The key value store entity size limit was exceeded.</p>
|
|
6014
|
+
* <p>The entity size limit was exceeded.</p>
|
|
5760
6015
|
* @public
|
|
5761
6016
|
*/
|
|
5762
6017
|
export declare class EntitySizeLimitExceeded extends __BaseException {
|
|
@@ -6698,283 +6953,6 @@ export interface ResponseHeadersPolicyAccessControlAllowHeaders {
|
|
|
6698
6953
|
*/
|
|
6699
6954
|
Items: string[] | undefined;
|
|
6700
6955
|
}
|
|
6701
|
-
/**
|
|
6702
|
-
* <p>A list of HTTP methods that CloudFront includes as values for the
|
|
6703
|
-
* <code>Access-Control-Allow-Methods</code> HTTP response header.</p>
|
|
6704
|
-
* <p>For more information about the <code>Access-Control-Allow-Methods</code> HTTP response
|
|
6705
|
-
* header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods">Access-Control-Allow-Methods</a> in the MDN Web Docs.</p>
|
|
6706
|
-
* @public
|
|
6707
|
-
*/
|
|
6708
|
-
export interface ResponseHeadersPolicyAccessControlAllowMethods {
|
|
6709
|
-
/**
|
|
6710
|
-
* <p>The number of HTTP methods in the list.</p>
|
|
6711
|
-
* @public
|
|
6712
|
-
*/
|
|
6713
|
-
Quantity: number | undefined;
|
|
6714
|
-
/**
|
|
6715
|
-
* <p>The list of HTTP methods. Valid values are:</p>
|
|
6716
|
-
* <ul>
|
|
6717
|
-
* <li>
|
|
6718
|
-
* <p>
|
|
6719
|
-
* <code>GET</code>
|
|
6720
|
-
* </p>
|
|
6721
|
-
* </li>
|
|
6722
|
-
* <li>
|
|
6723
|
-
* <p>
|
|
6724
|
-
* <code>DELETE</code>
|
|
6725
|
-
* </p>
|
|
6726
|
-
* </li>
|
|
6727
|
-
* <li>
|
|
6728
|
-
* <p>
|
|
6729
|
-
* <code>HEAD</code>
|
|
6730
|
-
* </p>
|
|
6731
|
-
* </li>
|
|
6732
|
-
* <li>
|
|
6733
|
-
* <p>
|
|
6734
|
-
* <code>OPTIONS</code>
|
|
6735
|
-
* </p>
|
|
6736
|
-
* </li>
|
|
6737
|
-
* <li>
|
|
6738
|
-
* <p>
|
|
6739
|
-
* <code>PATCH</code>
|
|
6740
|
-
* </p>
|
|
6741
|
-
* </li>
|
|
6742
|
-
* <li>
|
|
6743
|
-
* <p>
|
|
6744
|
-
* <code>POST</code>
|
|
6745
|
-
* </p>
|
|
6746
|
-
* </li>
|
|
6747
|
-
* <li>
|
|
6748
|
-
* <p>
|
|
6749
|
-
* <code>PUT</code>
|
|
6750
|
-
* </p>
|
|
6751
|
-
* </li>
|
|
6752
|
-
* <li>
|
|
6753
|
-
* <p>
|
|
6754
|
-
* <code>ALL</code>
|
|
6755
|
-
* </p>
|
|
6756
|
-
* </li>
|
|
6757
|
-
* </ul>
|
|
6758
|
-
* <p>
|
|
6759
|
-
* <code>ALL</code> is a special value that includes all of the listed HTTP
|
|
6760
|
-
* methods.</p>
|
|
6761
|
-
* @public
|
|
6762
|
-
*/
|
|
6763
|
-
Items: ResponseHeadersPolicyAccessControlAllowMethodsValues[] | undefined;
|
|
6764
|
-
}
|
|
6765
|
-
/**
|
|
6766
|
-
* <p>A list of origins (domain names) that CloudFront can use as the value for the
|
|
6767
|
-
* <code>Access-Control-Allow-Origin</code> HTTP response header.</p>
|
|
6768
|
-
* <p>For more information about the <code>Access-Control-Allow-Origin</code> HTTP response
|
|
6769
|
-
* header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin">Access-Control-Allow-Origin</a> in the MDN Web Docs.</p>
|
|
6770
|
-
* @public
|
|
6771
|
-
*/
|
|
6772
|
-
export interface ResponseHeadersPolicyAccessControlAllowOrigins {
|
|
6773
|
-
/**
|
|
6774
|
-
* <p>The number of origins in the list.</p>
|
|
6775
|
-
* @public
|
|
6776
|
-
*/
|
|
6777
|
-
Quantity: number | undefined;
|
|
6778
|
-
/**
|
|
6779
|
-
* <p>The list of origins (domain names). You can specify <code>*</code> to allow all
|
|
6780
|
-
* origins.</p>
|
|
6781
|
-
* @public
|
|
6782
|
-
*/
|
|
6783
|
-
Items: string[] | undefined;
|
|
6784
|
-
}
|
|
6785
|
-
/**
|
|
6786
|
-
* <p>A list of HTTP headers that CloudFront includes as values for the
|
|
6787
|
-
* <code>Access-Control-Expose-Headers</code> HTTP response header.</p>
|
|
6788
|
-
* <p>For more information about the <code>Access-Control-Expose-Headers</code> HTTP
|
|
6789
|
-
* response header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers">Access-Control-Expose-Headers</a> in the MDN Web Docs.</p>
|
|
6790
|
-
* @public
|
|
6791
|
-
*/
|
|
6792
|
-
export interface ResponseHeadersPolicyAccessControlExposeHeaders {
|
|
6793
|
-
/**
|
|
6794
|
-
* <p>The number of HTTP headers in the list.</p>
|
|
6795
|
-
* @public
|
|
6796
|
-
*/
|
|
6797
|
-
Quantity: number | undefined;
|
|
6798
|
-
/**
|
|
6799
|
-
* <p>The list of HTTP headers. You can specify <code>*</code> to expose all headers.</p>
|
|
6800
|
-
* @public
|
|
6801
|
-
*/
|
|
6802
|
-
Items?: string[] | undefined;
|
|
6803
|
-
}
|
|
6804
|
-
/**
|
|
6805
|
-
* <p>A configuration for a set of HTTP response headers that are used for cross-origin
|
|
6806
|
-
* resource sharing (CORS). CloudFront adds these headers to HTTP responses that it sends for
|
|
6807
|
-
* CORS requests that match a cache behavior associated with this response headers
|
|
6808
|
-
* policy.</p>
|
|
6809
|
-
* <p>For more information about CORS, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">Cross-Origin Resource
|
|
6810
|
-
* Sharing (CORS)</a> in the MDN Web Docs.</p>
|
|
6811
|
-
* @public
|
|
6812
|
-
*/
|
|
6813
|
-
export interface ResponseHeadersPolicyCorsConfig {
|
|
6814
|
-
/**
|
|
6815
|
-
* <p>A list of origins (domain names) that CloudFront can use as the value for the
|
|
6816
|
-
* <code>Access-Control-Allow-Origin</code> HTTP response header.</p>
|
|
6817
|
-
* <p>For more information about the <code>Access-Control-Allow-Origin</code> HTTP response
|
|
6818
|
-
* header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin">Access-Control-Allow-Origin</a> in the MDN Web Docs.</p>
|
|
6819
|
-
* @public
|
|
6820
|
-
*/
|
|
6821
|
-
AccessControlAllowOrigins: ResponseHeadersPolicyAccessControlAllowOrigins | undefined;
|
|
6822
|
-
/**
|
|
6823
|
-
* <p>A list of HTTP header names that CloudFront includes as values for the
|
|
6824
|
-
* <code>Access-Control-Allow-Headers</code> HTTP response header.</p>
|
|
6825
|
-
* <p>For more information about the <code>Access-Control-Allow-Headers</code> HTTP response
|
|
6826
|
-
* header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers">Access-Control-Allow-Headers</a> in the MDN Web Docs.</p>
|
|
6827
|
-
* @public
|
|
6828
|
-
*/
|
|
6829
|
-
AccessControlAllowHeaders: ResponseHeadersPolicyAccessControlAllowHeaders | undefined;
|
|
6830
|
-
/**
|
|
6831
|
-
* <p>A list of HTTP methods that CloudFront includes as values for the
|
|
6832
|
-
* <code>Access-Control-Allow-Methods</code> HTTP response header.</p>
|
|
6833
|
-
* <p>For more information about the <code>Access-Control-Allow-Methods</code> HTTP response
|
|
6834
|
-
* header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods">Access-Control-Allow-Methods</a> in the MDN Web Docs.</p>
|
|
6835
|
-
* @public
|
|
6836
|
-
*/
|
|
6837
|
-
AccessControlAllowMethods: ResponseHeadersPolicyAccessControlAllowMethods | undefined;
|
|
6838
|
-
/**
|
|
6839
|
-
* <p>A Boolean that CloudFront uses as the value for the
|
|
6840
|
-
* <code>Access-Control-Allow-Credentials</code> HTTP response header.</p>
|
|
6841
|
-
* <p>For more information about the <code>Access-Control-Allow-Credentials</code> HTTP
|
|
6842
|
-
* response header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials">Access-Control-Allow-Credentials</a> in the MDN Web Docs.</p>
|
|
6843
|
-
* @public
|
|
6844
|
-
*/
|
|
6845
|
-
AccessControlAllowCredentials: boolean | undefined;
|
|
6846
|
-
/**
|
|
6847
|
-
* <p>A list of HTTP headers that CloudFront includes as values for the
|
|
6848
|
-
* <code>Access-Control-Expose-Headers</code> HTTP response header.</p>
|
|
6849
|
-
* <p>For more information about the <code>Access-Control-Expose-Headers</code> HTTP
|
|
6850
|
-
* response header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers">Access-Control-Expose-Headers</a> in the MDN Web Docs.</p>
|
|
6851
|
-
* @public
|
|
6852
|
-
*/
|
|
6853
|
-
AccessControlExposeHeaders?: ResponseHeadersPolicyAccessControlExposeHeaders | undefined;
|
|
6854
|
-
/**
|
|
6855
|
-
* <p>A number that CloudFront uses as the value for the <code>Access-Control-Max-Age</code> HTTP
|
|
6856
|
-
* response header.</p>
|
|
6857
|
-
* <p>For more information about the <code>Access-Control-Max-Age</code> HTTP response
|
|
6858
|
-
* header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Max-Age">Access-Control-Max-Age</a> in the MDN Web Docs.</p>
|
|
6859
|
-
* @public
|
|
6860
|
-
*/
|
|
6861
|
-
AccessControlMaxAgeSec?: number | undefined;
|
|
6862
|
-
/**
|
|
6863
|
-
* <p>A Boolean that determines whether CloudFront overrides HTTP response headers received from
|
|
6864
|
-
* the origin with the ones specified in this response headers policy.</p>
|
|
6865
|
-
* @public
|
|
6866
|
-
*/
|
|
6867
|
-
OriginOverride: boolean | undefined;
|
|
6868
|
-
}
|
|
6869
|
-
/**
|
|
6870
|
-
* <p>An HTTP response header name and its value. CloudFront includes this header in HTTP
|
|
6871
|
-
* responses that it sends for requests that match a cache behavior that's associated with
|
|
6872
|
-
* this response headers policy.</p>
|
|
6873
|
-
* @public
|
|
6874
|
-
*/
|
|
6875
|
-
export interface ResponseHeadersPolicyCustomHeader {
|
|
6876
|
-
/**
|
|
6877
|
-
* <p>The HTTP response header name.</p>
|
|
6878
|
-
* @public
|
|
6879
|
-
*/
|
|
6880
|
-
Header: string | undefined;
|
|
6881
|
-
/**
|
|
6882
|
-
* <p>The value for the HTTP response header.</p>
|
|
6883
|
-
* @public
|
|
6884
|
-
*/
|
|
6885
|
-
Value: string | undefined;
|
|
6886
|
-
/**
|
|
6887
|
-
* <p>A Boolean that determines whether CloudFront overrides a response header with the same name
|
|
6888
|
-
* received from the origin with the header specified here.</p>
|
|
6889
|
-
* @public
|
|
6890
|
-
*/
|
|
6891
|
-
Override: boolean | undefined;
|
|
6892
|
-
}
|
|
6893
|
-
/**
|
|
6894
|
-
* <p>A list of HTTP response header names and their values. CloudFront includes these headers in
|
|
6895
|
-
* HTTP responses that it sends for requests that match a cache behavior that's associated
|
|
6896
|
-
* with this response headers policy.</p>
|
|
6897
|
-
* @public
|
|
6898
|
-
*/
|
|
6899
|
-
export interface ResponseHeadersPolicyCustomHeadersConfig {
|
|
6900
|
-
/**
|
|
6901
|
-
* <p>The number of HTTP response headers in the list.</p>
|
|
6902
|
-
* @public
|
|
6903
|
-
*/
|
|
6904
|
-
Quantity: number | undefined;
|
|
6905
|
-
/**
|
|
6906
|
-
* <p>The list of HTTP response headers and their values.</p>
|
|
6907
|
-
* @public
|
|
6908
|
-
*/
|
|
6909
|
-
Items?: ResponseHeadersPolicyCustomHeader[] | undefined;
|
|
6910
|
-
}
|
|
6911
|
-
/**
|
|
6912
|
-
* <p>The name of an HTTP header that CloudFront removes from HTTP responses to requests that match the
|
|
6913
|
-
* cache behavior that this response headers policy is attached to.</p>
|
|
6914
|
-
* @public
|
|
6915
|
-
*/
|
|
6916
|
-
export interface ResponseHeadersPolicyRemoveHeader {
|
|
6917
|
-
/**
|
|
6918
|
-
* <p>The HTTP header name.</p>
|
|
6919
|
-
* @public
|
|
6920
|
-
*/
|
|
6921
|
-
Header: string | undefined;
|
|
6922
|
-
}
|
|
6923
|
-
/**
|
|
6924
|
-
* <p>A list of HTTP header names that CloudFront removes from HTTP responses to requests that match the
|
|
6925
|
-
* cache behavior that this response headers policy is attached to.</p>
|
|
6926
|
-
* @public
|
|
6927
|
-
*/
|
|
6928
|
-
export interface ResponseHeadersPolicyRemoveHeadersConfig {
|
|
6929
|
-
/**
|
|
6930
|
-
* <p>The number of HTTP header names in the list.</p>
|
|
6931
|
-
* @public
|
|
6932
|
-
*/
|
|
6933
|
-
Quantity: number | undefined;
|
|
6934
|
-
/**
|
|
6935
|
-
* <p>The list of HTTP header names.</p>
|
|
6936
|
-
* @public
|
|
6937
|
-
*/
|
|
6938
|
-
Items?: ResponseHeadersPolicyRemoveHeader[] | undefined;
|
|
6939
|
-
}
|
|
6940
|
-
/**
|
|
6941
|
-
* <p>The policy directives and their values that CloudFront includes as values for the
|
|
6942
|
-
* <code>Content-Security-Policy</code> HTTP response header.</p>
|
|
6943
|
-
* <p>For more information about the <code>Content-Security-Policy</code> HTTP response
|
|
6944
|
-
* header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy">Content-Security-Policy</a> in the MDN Web Docs.</p>
|
|
6945
|
-
* @public
|
|
6946
|
-
*/
|
|
6947
|
-
export interface ResponseHeadersPolicyContentSecurityPolicy {
|
|
6948
|
-
/**
|
|
6949
|
-
* <p>A Boolean that determines whether CloudFront overrides the
|
|
6950
|
-
* <code>Content-Security-Policy</code> HTTP response header received from the origin
|
|
6951
|
-
* with the one specified in this response headers policy.</p>
|
|
6952
|
-
* @public
|
|
6953
|
-
*/
|
|
6954
|
-
Override: boolean | undefined;
|
|
6955
|
-
/**
|
|
6956
|
-
* <p>The policy directives and their values that CloudFront includes as values for the
|
|
6957
|
-
* <code>Content-Security-Policy</code> HTTP response header.</p>
|
|
6958
|
-
* @public
|
|
6959
|
-
*/
|
|
6960
|
-
ContentSecurityPolicy: string | undefined;
|
|
6961
|
-
}
|
|
6962
|
-
/**
|
|
6963
|
-
* <p>Determines whether CloudFront includes the <code>X-Content-Type-Options</code> HTTP response
|
|
6964
|
-
* header with its value set to <code>nosniff</code>.</p>
|
|
6965
|
-
* <p>For more information about the <code>X-Content-Type-Options</code> HTTP response
|
|
6966
|
-
* header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options">X-Content-Type-Options</a> in the MDN Web Docs.</p>
|
|
6967
|
-
* @public
|
|
6968
|
-
*/
|
|
6969
|
-
export interface ResponseHeadersPolicyContentTypeOptions {
|
|
6970
|
-
/**
|
|
6971
|
-
* <p>A Boolean that determines whether CloudFront overrides the
|
|
6972
|
-
* <code>X-Content-Type-Options</code> HTTP response header received from the origin
|
|
6973
|
-
* with the one specified in this response headers policy.</p>
|
|
6974
|
-
* @public
|
|
6975
|
-
*/
|
|
6976
|
-
Override: boolean | undefined;
|
|
6977
|
-
}
|
|
6978
6956
|
/**
|
|
6979
6957
|
* @internal
|
|
6980
6958
|
*/
|