aws-sdk-cloudfront 1.119.0 → 1.121.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +179 -80
- data/lib/aws-sdk-cloudfront/client_api.rb +16 -9
- data/lib/aws-sdk-cloudfront/endpoint_parameters.rb +9 -9
- data/lib/aws-sdk-cloudfront/endpoint_provider.rb +14 -11
- data/lib/aws-sdk-cloudfront/types.rb +364 -133
- data/lib/aws-sdk-cloudfront.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +2 -2
- metadata +3 -3
@@ -353,11 +353,13 @@ module Aws::CloudFront
|
|
353
353
|
end
|
354
354
|
|
355
355
|
# @!attribute [rw] target_distribution_id
|
356
|
-
# The ID of the distribution that you're associating the
|
356
|
+
# The ID of the standard distribution that you're associating the
|
357
|
+
# alias with.
|
357
358
|
# @return [String]
|
358
359
|
#
|
359
360
|
# @!attribute [rw] alias
|
360
|
-
# The alias (also known as a CNAME) to add to the target
|
361
|
+
# The alias (also known as a CNAME) to add to the target standard
|
362
|
+
# distribution.
|
361
363
|
# @return [String]
|
362
364
|
#
|
363
365
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/AssociateAliasRequest AWS API Documentation
|
@@ -557,6 +559,14 @@ module Aws::CloudFront
|
|
557
559
|
# @!attribute [rw] trusted_signers
|
558
560
|
# We recommend using `TrustedKeyGroups` instead of `TrustedSigners`.
|
559
561
|
#
|
562
|
+
# <note markdown="1"> This field only supports standard
|
563
|
+
# distributions. You can't specify
|
564
|
+
# this field for multi-tenant distributions. For more information, see
|
565
|
+
# [Unsupported features for SaaS Manager for Amazon CloudFront][1] in
|
566
|
+
# the *Amazon CloudFront Developer Guide*.
|
567
|
+
#
|
568
|
+
# </note>
|
569
|
+
#
|
560
570
|
# A list of Amazon Web Services account IDs whose public keys
|
561
571
|
# CloudFront can use to validate signed URLs or signed cookies.
|
562
572
|
#
|
@@ -566,12 +576,13 @@ module Aws::CloudFront
|
|
566
576
|
# a CloudFront key pair in the trusted signer's Amazon Web Services
|
567
577
|
# account. The signed URL or cookie contains information about which
|
568
578
|
# public key CloudFront should use to verify the signature. For more
|
569
|
-
# information, see [Serving private content][
|
579
|
+
# information, see [Serving private content][2] in the *Amazon
|
570
580
|
# CloudFront Developer Guide*.
|
571
581
|
#
|
572
582
|
#
|
573
583
|
#
|
574
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
584
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas
|
585
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html
|
575
586
|
# @return [Types::TrustedSigners]
|
576
587
|
#
|
577
588
|
# @!attribute [rw] trusted_key_groups
|
@@ -649,12 +660,24 @@ module Aws::CloudFront
|
|
649
660
|
# @return [Types::AllowedMethods]
|
650
661
|
#
|
651
662
|
# @!attribute [rw] smooth_streaming
|
652
|
-
#
|
663
|
+
# <note markdown="1"> This field only supports standard distributions.
|
664
|
+
# You can't specify
|
665
|
+
# this field for multi-tenant distributions. For more information, see
|
666
|
+
# [Unsupported features for SaaS Manager for Amazon CloudFront][1] in
|
667
|
+
# the *Amazon CloudFront Developer Guide*.
|
668
|
+
#
|
669
|
+
# </note>
|
670
|
+
#
|
671
|
+
# Indicates whether you want to distribute media files in the
|
653
672
|
# Microsoft Smooth Streaming format using the origin that is
|
654
673
|
# associated with this cache behavior. If so, specify `true`; if not,
|
655
674
|
# specify `false`. If you specify `true` for `SmoothStreaming`, you
|
656
675
|
# can still distribute other content using this cache behavior if the
|
657
676
|
# content matches the value of `PathPattern`.
|
677
|
+
#
|
678
|
+
#
|
679
|
+
#
|
680
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas
|
658
681
|
# @return [Boolean]
|
659
682
|
#
|
660
683
|
# @!attribute [rw] compress
|
@@ -762,70 +785,98 @@ module Aws::CloudFront
|
|
762
785
|
# @return [Types::ForwardedValues]
|
763
786
|
#
|
764
787
|
# @!attribute [rw] min_ttl
|
765
|
-
# This field
|
788
|
+
# <note markdown="1"> This field only supports standard distributions.
|
789
|
+
# You can't specify
|
790
|
+
# this field for multi-tenant distributions. For more information, see
|
791
|
+
# [Unsupported features for SaaS Manager for Amazon CloudFront][1] in
|
792
|
+
# the *Amazon CloudFront Developer Guide*.
|
793
|
+
#
|
794
|
+
# </note>
|
795
|
+
#
|
796
|
+
# This field is deprecated. We recommend that you use the `MinTTL`
|
766
797
|
# field in a cache policy instead of this field. For more information,
|
767
|
-
# see [Creating cache policies][
|
768
|
-
# policies][
|
798
|
+
# see [Creating cache policies][2] or [Using the managed cache
|
799
|
+
# policies][3] in the *Amazon CloudFront Developer Guide*.
|
769
800
|
#
|
770
|
-
#
|
801
|
+
# The minimum amount of time that you want objects to stay in
|
771
802
|
# CloudFront caches before CloudFront forwards another request to your
|
772
803
|
# origin to determine whether the object has been updated. For more
|
773
804
|
# information, see [ Managing How Long Content Stays in an Edge Cache
|
774
|
-
# (Expiration)][
|
805
|
+
# (Expiration)][4] in the <i> Amazon CloudFront Developer Guide</i>.
|
775
806
|
#
|
776
|
-
#
|
807
|
+
# You must specify `0` for `MinTTL` if you configure CloudFront to
|
777
808
|
# forward all headers to your origin (under `Headers`, if you specify
|
778
809
|
# `1` for `Quantity` and `*` for `Name`).
|
779
810
|
#
|
780
811
|
#
|
781
812
|
#
|
782
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
783
|
-
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
784
|
-
# [3]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
813
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas
|
814
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy
|
815
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html
|
816
|
+
# [4]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html
|
785
817
|
# @return [Integer]
|
786
818
|
#
|
787
819
|
# @!attribute [rw] default_ttl
|
788
|
-
# This field
|
820
|
+
# <note markdown="1"> This field only supports standard distributions.
|
821
|
+
# You can't specify
|
822
|
+
# this field for multi-tenant distributions. For more information, see
|
823
|
+
# [Unsupported features for SaaS Manager for Amazon CloudFront][1] in
|
824
|
+
# the *Amazon CloudFront Developer Guide*.
|
825
|
+
#
|
826
|
+
# </note>
|
827
|
+
#
|
828
|
+
# This field is deprecated. We recommend that you use the
|
829
|
+
# `DefaultTTL`
|
789
830
|
# field in a cache policy instead of this field. For more information,
|
790
|
-
# see [Creating cache policies][
|
791
|
-
# policies][
|
831
|
+
# see [Creating cache policies][2] or [Using the managed cache
|
832
|
+
# policies][3] in the *Amazon CloudFront Developer Guide*.
|
792
833
|
#
|
793
|
-
#
|
834
|
+
# The default amount of time that you want objects to stay in
|
794
835
|
# CloudFront caches before CloudFront forwards another request to your
|
795
836
|
# origin to determine whether the object has been updated. The value
|
796
837
|
# that you specify applies only when your origin does not add HTTP
|
797
838
|
# headers such as `Cache-Control max-age`, `Cache-Control s-maxage`,
|
798
839
|
# and `Expires` to objects. For more information, see [Managing How
|
799
|
-
# Long Content Stays in an Edge Cache (Expiration)][
|
840
|
+
# Long Content Stays in an Edge Cache (Expiration)][4] in the *Amazon
|
800
841
|
# CloudFront Developer Guide*.
|
801
842
|
#
|
802
843
|
#
|
803
844
|
#
|
804
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
805
|
-
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
806
|
-
# [3]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
845
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas
|
846
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy
|
847
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html
|
848
|
+
# [4]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html
|
807
849
|
# @return [Integer]
|
808
850
|
#
|
809
851
|
# @!attribute [rw] max_ttl
|
810
|
-
# This field
|
852
|
+
# <note markdown="1"> This field only supports standard distributions.
|
853
|
+
# You can't specify
|
854
|
+
# this field for multi-tenant distributions. For more information, see
|
855
|
+
# [Unsupported features for SaaS Manager for Amazon CloudFront][1] in
|
856
|
+
# the *Amazon CloudFront Developer Guide*.
|
857
|
+
#
|
858
|
+
# </note>
|
859
|
+
#
|
860
|
+
# This field is deprecated. We recommend that you use the `MaxTTL`
|
811
861
|
# field in a cache policy instead of this field. For more information,
|
812
|
-
# see [Creating cache policies][
|
813
|
-
# policies][
|
862
|
+
# see [Creating cache policies][2] or [Using the managed cache
|
863
|
+
# policies][3] in the *Amazon CloudFront Developer Guide*.
|
814
864
|
#
|
815
|
-
#
|
865
|
+
# The maximum amount of time that you want objects to stay in
|
816
866
|
# CloudFront caches before CloudFront forwards another request to your
|
817
867
|
# origin to determine whether the object has been updated. The value
|
818
868
|
# that you specify applies only when your origin adds HTTP headers
|
819
869
|
# such as `Cache-Control max-age`, `Cache-Control s-maxage`, and
|
820
870
|
# `Expires` to objects. For more information, see [Managing How Long
|
821
|
-
# Content Stays in an Edge Cache (Expiration)][
|
871
|
+
# Content Stays in an Edge Cache (Expiration)][4] in the *Amazon
|
822
872
|
# CloudFront Developer Guide*.
|
823
873
|
#
|
824
874
|
#
|
825
875
|
#
|
826
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
827
|
-
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
828
|
-
# [3]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
876
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas
|
877
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy
|
878
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html
|
879
|
+
# [4]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html
|
829
880
|
# @return [Integer]
|
830
881
|
#
|
831
882
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CacheBehavior AWS API Documentation
|
@@ -1488,24 +1539,25 @@ module Aws::CloudFront
|
|
1488
1539
|
include Aws::Structure
|
1489
1540
|
end
|
1490
1541
|
|
1491
|
-
# An alias (also called a CNAME) and the CloudFront
|
1492
|
-
# Amazon Web Services account ID that it's associated
|
1493
|
-
# distribution and account IDs are partially hidden,
|
1494
|
-
# identify the distributions and accounts
|
1495
|
-
# protect the information of ones that you
|
1542
|
+
# An alias (also called a CNAME) and the CloudFront standard
|
1543
|
+
# distribution and Amazon Web Services account ID that it's associated
|
1544
|
+
# with. The standard distribution and account IDs are partially hidden,
|
1545
|
+
# which allows you to identify the standard distributions and accounts
|
1546
|
+
# that you own, and helps to protect the information of ones that you
|
1547
|
+
# don't own.
|
1496
1548
|
#
|
1497
1549
|
# @!attribute [rw] alias
|
1498
1550
|
# An alias (also called a CNAME).
|
1499
1551
|
# @return [String]
|
1500
1552
|
#
|
1501
1553
|
# @!attribute [rw] distribution_id
|
1502
|
-
# The (partially hidden) ID of the CloudFront distribution
|
1503
|
-
# with the alias.
|
1554
|
+
# The (partially hidden) ID of the CloudFront standard distribution
|
1555
|
+
# associated with the alias.
|
1504
1556
|
# @return [String]
|
1505
1557
|
#
|
1506
1558
|
# @!attribute [rw] account_id
|
1507
1559
|
# The (partially hidden) ID of the Amazon Web Services account that
|
1508
|
-
# owns the distribution that's associated with the alias.
|
1560
|
+
# owns the standard distribution that's associated with the alias.
|
1509
1561
|
# @return [String]
|
1510
1562
|
#
|
1511
1563
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ConflictingAlias AWS API Documentation
|
@@ -1518,12 +1570,12 @@ module Aws::CloudFront
|
|
1518
1570
|
include Aws::Structure
|
1519
1571
|
end
|
1520
1572
|
|
1521
|
-
# A list of aliases (also called CNAMEs) and the CloudFront
|
1573
|
+
# A list of aliases (also called CNAMEs) and the CloudFront standard
|
1522
1574
|
# distributions and Amazon Web Services accounts that they are
|
1523
|
-
# associated with. In the list, the distribution and account
|
1524
|
-
# partially hidden, which allows you to identify the
|
1525
|
-
# accounts that you own, but helps to protect the
|
1526
|
-
# that you don't own.
|
1575
|
+
# associated with. In the list, the standard distribution and account
|
1576
|
+
# IDs are partially hidden, which allows you to identify the standard
|
1577
|
+
# distributions and accounts that you own, but helps to protect the
|
1578
|
+
# information of ones that you don't own.
|
1527
1579
|
#
|
1528
1580
|
# @!attribute [rw] next_marker
|
1529
1581
|
# If there are more items in the list than are in this response, this
|
@@ -3336,13 +3388,13 @@ module Aws::CloudFront
|
|
3336
3388
|
#
|
3337
3389
|
#
|
3338
3390
|
#
|
3339
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
3391
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginSSLProtocols
|
3340
3392
|
# @return [Types::OriginSslProtocols]
|
3341
3393
|
#
|
3342
3394
|
# @!attribute [rw] origin_read_timeout
|
3343
3395
|
# Specifies how long, in seconds, CloudFront waits for a response from
|
3344
3396
|
# the origin. This is also known as the *origin response timeout*. The
|
3345
|
-
# minimum timeout is 1 second, the maximum is
|
3397
|
+
# minimum timeout is 1 second, the maximum is 120 seconds, and the
|
3346
3398
|
# default (if you don't specify otherwise) is 30 seconds.
|
3347
3399
|
#
|
3348
3400
|
# For more information, see [Response timeout (custom origins
|
@@ -3350,12 +3402,12 @@ module Aws::CloudFront
|
|
3350
3402
|
#
|
3351
3403
|
#
|
3352
3404
|
#
|
3353
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
3405
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginResponseTimeout
|
3354
3406
|
# @return [Integer]
|
3355
3407
|
#
|
3356
3408
|
# @!attribute [rw] origin_keepalive_timeout
|
3357
3409
|
# Specifies how long, in seconds, CloudFront persists its connection
|
3358
|
-
# to the origin. The minimum timeout is 1 second, the maximum is
|
3410
|
+
# to the origin. The minimum timeout is 1 second, the maximum is 120
|
3359
3411
|
# seconds, and the default (if you don't specify otherwise) is 5
|
3360
3412
|
# seconds.
|
3361
3413
|
#
|
@@ -3364,7 +3416,7 @@ module Aws::CloudFront
|
|
3364
3416
|
#
|
3365
3417
|
#
|
3366
3418
|
#
|
3367
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
3419
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginKeepaliveTimeout
|
3368
3420
|
# @return [Integer]
|
3369
3421
|
#
|
3370
3422
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CustomOriginConfig AWS API Documentation
|
@@ -3422,6 +3474,14 @@ module Aws::CloudFront
|
|
3422
3474
|
# @!attribute [rw] trusted_signers
|
3423
3475
|
# We recommend using `TrustedKeyGroups` instead of `TrustedSigners`.
|
3424
3476
|
#
|
3477
|
+
# <note markdown="1"> This field only supports standard
|
3478
|
+
# distributions. You can't specify
|
3479
|
+
# this field for multi-tenant distributions. For more information, see
|
3480
|
+
# [Unsupported features for SaaS Manager for Amazon CloudFront][1] in
|
3481
|
+
# the *Amazon CloudFront Developer Guide*.
|
3482
|
+
#
|
3483
|
+
# </note>
|
3484
|
+
#
|
3425
3485
|
# A list of Amazon Web Services account IDs whose public keys
|
3426
3486
|
# CloudFront can use to validate signed URLs or signed cookies.
|
3427
3487
|
#
|
@@ -3431,12 +3491,13 @@ module Aws::CloudFront
|
|
3431
3491
|
# a CloudFront key pair in a trusted signer's Amazon Web Services
|
3432
3492
|
# account. The signed URL or cookie contains information about which
|
3433
3493
|
# public key CloudFront should use to verify the signature. For more
|
3434
|
-
# information, see [Serving private content][
|
3494
|
+
# information, see [Serving private content][2] in the *Amazon
|
3435
3495
|
# CloudFront Developer Guide*.
|
3436
3496
|
#
|
3437
3497
|
#
|
3438
3498
|
#
|
3439
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
3499
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas
|
3500
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html
|
3440
3501
|
# @return [Types::TrustedSigners]
|
3441
3502
|
#
|
3442
3503
|
# @!attribute [rw] trusted_key_groups
|
@@ -3514,12 +3575,24 @@ module Aws::CloudFront
|
|
3514
3575
|
# @return [Types::AllowedMethods]
|
3515
3576
|
#
|
3516
3577
|
# @!attribute [rw] smooth_streaming
|
3517
|
-
#
|
3578
|
+
# <note markdown="1"> This field only supports standard distributions.
|
3579
|
+
# You can't specify
|
3580
|
+
# this field for multi-tenant distributions. For more information, see
|
3581
|
+
# [Unsupported features for SaaS Manager for Amazon CloudFront][1] in
|
3582
|
+
# the *Amazon CloudFront Developer Guide*.
|
3583
|
+
#
|
3584
|
+
# </note>
|
3585
|
+
#
|
3586
|
+
# Indicates whether you want to distribute media files in the
|
3518
3587
|
# Microsoft Smooth Streaming format using the origin that is
|
3519
3588
|
# associated with this cache behavior. If so, specify `true`; if not,
|
3520
3589
|
# specify `false`. If you specify `true` for `SmoothStreaming`, you
|
3521
3590
|
# can still distribute other content using this cache behavior if the
|
3522
3591
|
# content matches the value of `PathPattern`.
|
3592
|
+
#
|
3593
|
+
#
|
3594
|
+
#
|
3595
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas
|
3523
3596
|
# @return [Boolean]
|
3524
3597
|
#
|
3525
3598
|
# @!attribute [rw] compress
|
@@ -3627,70 +3700,98 @@ module Aws::CloudFront
|
|
3627
3700
|
# @return [Types::ForwardedValues]
|
3628
3701
|
#
|
3629
3702
|
# @!attribute [rw] min_ttl
|
3630
|
-
# This field
|
3703
|
+
# <note markdown="1"> This field only supports standard distributions.
|
3704
|
+
# You can't specify
|
3705
|
+
# this field for multi-tenant distributions. For more information, see
|
3706
|
+
# [Unsupported features for SaaS Manager for Amazon CloudFront][1] in
|
3707
|
+
# the *Amazon CloudFront Developer Guide*.
|
3708
|
+
#
|
3709
|
+
# </note>
|
3710
|
+
#
|
3711
|
+
# This field is deprecated. We recommend that you use the `MinTTL`
|
3631
3712
|
# field in a cache policy instead of this field. For more information,
|
3632
|
-
# see [Creating cache policies][
|
3633
|
-
# policies][
|
3713
|
+
# see [Creating cache policies][2] or [Using the managed cache
|
3714
|
+
# policies][3] in the *Amazon CloudFront Developer Guide*.
|
3634
3715
|
#
|
3635
|
-
#
|
3716
|
+
# The minimum amount of time that you want objects to stay in
|
3636
3717
|
# CloudFront caches before CloudFront forwards another request to your
|
3637
3718
|
# origin to determine whether the object has been updated. For more
|
3638
3719
|
# information, see [Managing How Long Content Stays in an Edge Cache
|
3639
|
-
# (Expiration)][
|
3720
|
+
# (Expiration)][4] in the *Amazon CloudFront Developer Guide*.
|
3640
3721
|
#
|
3641
|
-
#
|
3722
|
+
# You must specify `0` for `MinTTL` if you configure CloudFront to
|
3642
3723
|
# forward all headers to your origin (under `Headers`, if you specify
|
3643
3724
|
# `1` for `Quantity` and `*` for `Name`).
|
3644
3725
|
#
|
3645
3726
|
#
|
3646
3727
|
#
|
3647
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
3648
|
-
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
3649
|
-
# [3]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
3728
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas
|
3729
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy
|
3730
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html
|
3731
|
+
# [4]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html
|
3650
3732
|
# @return [Integer]
|
3651
3733
|
#
|
3652
3734
|
# @!attribute [rw] default_ttl
|
3653
|
-
# This field
|
3735
|
+
# <note markdown="1"> This field only supports standard distributions.
|
3736
|
+
# You can't specify
|
3737
|
+
# this field for multi-tenant distributions. For more information, see
|
3738
|
+
# [Unsupported features for SaaS Manager for Amazon CloudFront][1] in
|
3739
|
+
# the *Amazon CloudFront Developer Guide*.
|
3740
|
+
#
|
3741
|
+
# </note>
|
3742
|
+
#
|
3743
|
+
# This field is deprecated. We recommend that you use the
|
3744
|
+
# `DefaultTTL`
|
3654
3745
|
# field in a cache policy instead of this field. For more information,
|
3655
|
-
# see [Creating cache policies][
|
3656
|
-
# policies][
|
3746
|
+
# see [Creating cache policies][2] or [Using the managed cache
|
3747
|
+
# policies][3] in the *Amazon CloudFront Developer Guide*.
|
3657
3748
|
#
|
3658
|
-
#
|
3749
|
+
# The default amount of time that you want objects to stay in
|
3659
3750
|
# CloudFront caches before CloudFront forwards another request to your
|
3660
3751
|
# origin to determine whether the object has been updated. The value
|
3661
3752
|
# that you specify applies only when your origin does not add HTTP
|
3662
3753
|
# headers such as `Cache-Control max-age`, `Cache-Control s-maxage`,
|
3663
3754
|
# and `Expires` to objects. For more information, see [Managing How
|
3664
|
-
# Long Content Stays in an Edge Cache (Expiration)][
|
3755
|
+
# Long Content Stays in an Edge Cache (Expiration)][4] in the *Amazon
|
3665
3756
|
# CloudFront Developer Guide*.
|
3666
3757
|
#
|
3667
3758
|
#
|
3668
3759
|
#
|
3669
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
3670
|
-
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
3671
|
-
# [3]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
3760
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas
|
3761
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy
|
3762
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html
|
3763
|
+
# [4]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html
|
3672
3764
|
# @return [Integer]
|
3673
3765
|
#
|
3674
3766
|
# @!attribute [rw] max_ttl
|
3675
|
-
# This field
|
3767
|
+
# <note markdown="1"> This field only supports standard distributions.
|
3768
|
+
# You can't specify
|
3769
|
+
# this field for multi-tenant distributions. For more information, see
|
3770
|
+
# [Unsupported features for SaaS Manager for Amazon CloudFront][1] in
|
3771
|
+
# the *Amazon CloudFront Developer Guide*.
|
3772
|
+
#
|
3773
|
+
# </note>
|
3774
|
+
#
|
3775
|
+
# This field is deprecated. We recommend that you use the `MaxTTL`
|
3676
3776
|
# field in a cache policy instead of this field. For more information,
|
3677
|
-
# see [Creating cache policies][
|
3678
|
-
# policies][
|
3777
|
+
# see [Creating cache policies][2] or [Using the managed cache
|
3778
|
+
# policies][3] in the *Amazon CloudFront Developer Guide*.
|
3679
3779
|
#
|
3680
|
-
#
|
3780
|
+
# The maximum amount of time that you want objects to stay in
|
3681
3781
|
# CloudFront caches before CloudFront forwards another request to your
|
3682
3782
|
# origin to determine whether the object has been updated. The value
|
3683
3783
|
# that you specify applies only when your origin adds HTTP headers
|
3684
3784
|
# such as `Cache-Control max-age`, `Cache-Control s-maxage`, and
|
3685
3785
|
# `Expires` to objects. For more information, see [Managing How Long
|
3686
|
-
# Content Stays in an Edge Cache (Expiration)][
|
3786
|
+
# Content Stays in an Edge Cache (Expiration)][4] in the *Amazon
|
3687
3787
|
# CloudFront Developer Guide*.
|
3688
3788
|
#
|
3689
3789
|
#
|
3690
3790
|
#
|
3691
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
3692
|
-
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
3693
|
-
# [3]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
3791
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas
|
3792
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy
|
3793
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html
|
3794
|
+
# [4]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html
|
3694
3795
|
# @return [Integer]
|
3695
3796
|
#
|
3696
3797
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DefaultCacheBehavior AWS API Documentation
|
@@ -4406,8 +4507,20 @@ module Aws::CloudFront
|
|
4406
4507
|
# @return [String]
|
4407
4508
|
#
|
4408
4509
|
# @!attribute [rw] aliases
|
4409
|
-
#
|
4510
|
+
# <note markdown="1"> This field only supports standard distributions.
|
4511
|
+
# You can't specify
|
4512
|
+
# this field for multi-tenant distributions. For more information, see
|
4513
|
+
# [Unsupported features for SaaS Manager for Amazon CloudFront][1] in
|
4514
|
+
# the *Amazon CloudFront Developer Guide*.
|
4515
|
+
#
|
4516
|
+
# </note>
|
4517
|
+
#
|
4518
|
+
# A complex type that contains information about CNAMEs (alternate
|
4410
4519
|
# domain names), if any, for this distribution.
|
4520
|
+
#
|
4521
|
+
#
|
4522
|
+
#
|
4523
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas
|
4411
4524
|
# @return [Types::Aliases]
|
4412
4525
|
#
|
4413
4526
|
# @!attribute [rw] default_root_object
|
@@ -4501,27 +4614,37 @@ module Aws::CloudFront
|
|
4501
4614
|
# @return [Types::LoggingConfig]
|
4502
4615
|
#
|
4503
4616
|
# @!attribute [rw] price_class
|
4504
|
-
#
|
4617
|
+
# <note markdown="1"> This field only supports standard distributions.
|
4618
|
+
# You can't specify
|
4619
|
+
# this field for multi-tenant distributions. For more information, see
|
4620
|
+
# [Unsupported features for SaaS Manager for Amazon CloudFront][1] in
|
4621
|
+
# the *Amazon CloudFront Developer Guide*.
|
4622
|
+
#
|
4623
|
+
# </note>
|
4624
|
+
#
|
4625
|
+
# The price class that corresponds with the maximum price that you
|
4505
4626
|
# want to pay for CloudFront service. If you specify `PriceClass_All`,
|
4506
4627
|
# CloudFront responds to requests for your objects from all CloudFront
|
4507
4628
|
# edge locations.
|
4508
4629
|
#
|
4509
|
-
#
|
4630
|
+
# If you specify a price class other than `PriceClass_All`,
|
4631
|
+
# CloudFront
|
4510
4632
|
# serves your objects from the CloudFront edge location that has the
|
4511
4633
|
# lowest latency among the edge locations in your price class. Viewers
|
4512
4634
|
# who are in or near regions that are excluded from your specified
|
4513
4635
|
# price class may encounter slower performance.
|
4514
4636
|
#
|
4515
|
-
#
|
4516
|
-
# Class for a CloudFront Distribution][
|
4637
|
+
# For more information about price classes, see [Choosing the Price
|
4638
|
+
# Class for a CloudFront Distribution][2] in the *Amazon CloudFront
|
4517
4639
|
# Developer Guide*. For information about CloudFront pricing,
|
4518
4640
|
# including how price classes (such as Price Class 100) map to
|
4519
|
-
# CloudFront regions, see [Amazon CloudFront Pricing][
|
4641
|
+
# CloudFront regions, see [Amazon CloudFront Pricing][3].
|
4520
4642
|
#
|
4521
4643
|
#
|
4522
4644
|
#
|
4523
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
4524
|
-
# [2]:
|
4645
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas
|
4646
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PriceClass.html
|
4647
|
+
# [3]: http://aws.amazon.com/cloudfront/pricing/
|
4525
4648
|
# @return [String]
|
4526
4649
|
#
|
4527
4650
|
# @!attribute [rw] enabled
|
@@ -4540,14 +4663,20 @@ module Aws::CloudFront
|
|
4540
4663
|
# @return [Types::Restrictions]
|
4541
4664
|
#
|
4542
4665
|
# @!attribute [rw] web_acl_id
|
4543
|
-
#
|
4666
|
+
# <note markdown="1"> Multi-tenant distributions only support WAF V2
|
4667
|
+
# web ACLs.
|
4668
|
+
#
|
4669
|
+
# </note>
|
4670
|
+
#
|
4671
|
+
# A unique identifier that specifies the WAF web ACL, if any, to
|
4544
4672
|
# associate with this distribution. To specify a web ACL created using
|
4545
4673
|
# the latest version of WAF, use the ACL ARN, for example
|
4546
4674
|
# `arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`.
|
4547
4675
|
# To specify a web ACL created using WAF Classic, use the ACL ID, for
|
4548
4676
|
# example `a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`.
|
4549
4677
|
#
|
4550
|
-
#
|
4678
|
+
# WAF is a web application firewall that lets you monitor the HTTP
|
4679
|
+
# and
|
4551
4680
|
# HTTPS requests that are forwarded to CloudFront, and lets you
|
4552
4681
|
# control access to your content. Based on conditions that you
|
4553
4682
|
# specify, such as the IP addresses that requests originate from or
|
@@ -4586,14 +4715,20 @@ module Aws::CloudFront
|
|
4586
4715
|
# @return [String]
|
4587
4716
|
#
|
4588
4717
|
# @!attribute [rw] is_ipv6_enabled
|
4589
|
-
#
|
4718
|
+
# <note markdown="1"> To use this field for a multi-tenant
|
4719
|
+
# distribution, use a connection
|
4720
|
+
# group instead. For more information, see [ConnectionGroup][1].
|
4721
|
+
#
|
4722
|
+
# </note>
|
4723
|
+
#
|
4724
|
+
# If you want CloudFront to respond to IPv6 DNS requests with an IPv6
|
4590
4725
|
# address for your distribution, specify `true`. If you specify
|
4591
4726
|
# `false`, CloudFront responds to IPv6 DNS requests with the DNS
|
4592
4727
|
# response code `NOERROR` and with no IP addresses. This allows
|
4593
4728
|
# viewers to submit a second request, for an IPv4 address for your
|
4594
4729
|
# distribution.
|
4595
4730
|
#
|
4596
|
-
#
|
4731
|
+
# In general, you should enable IPv6 if you have users on IPv6
|
4597
4732
|
# networks who want to access your content. However, if you're using
|
4598
4733
|
# signed URLs or signed cookies to restrict access to your content,
|
4599
4734
|
# and if you're using a custom policy that includes the `IpAddress`
|
@@ -4602,22 +4737,22 @@ module Aws::CloudFront
|
|
4602
4737
|
# by IP address and not restrict access to other content (or restrict
|
4603
4738
|
# access but not by IP address), you can create two distributions. For
|
4604
4739
|
# more information, see [Creating a Signed URL Using a Custom
|
4605
|
-
# Policy][
|
4740
|
+
# Policy][2] in the *Amazon CloudFront Developer Guide*.
|
4606
4741
|
#
|
4607
|
-
#
|
4742
|
+
# If you're using an Route 53 Amazon Web Services Integration alias
|
4608
4743
|
# resource record set to route traffic to your CloudFront
|
4609
4744
|
# distribution, you need to create a second alias resource record set
|
4610
4745
|
# when both of the following are true:
|
4611
4746
|
#
|
4612
|
-
#
|
4747
|
+
# * You enable IPv6 for the distribution
|
4613
4748
|
#
|
4614
4749
|
# * You're using alternate domain names in the URLs for your objects
|
4615
4750
|
#
|
4616
|
-
#
|
4617
|
-
# Web Distribution by Using Your Domain Name][
|
4751
|
+
# For more information, see [Routing Traffic to an Amazon CloudFront
|
4752
|
+
# Web Distribution by Using Your Domain Name][3] in the *Route 53
|
4618
4753
|
# Amazon Web Services Integration Developer Guide*.
|
4619
4754
|
#
|
4620
|
-
#
|
4755
|
+
# If you created a CNAME resource record set, either with Route 53
|
4621
4756
|
# Amazon Web Services Integration or with another DNS service, you
|
4622
4757
|
# don't need to make any changes. A CNAME record will route traffic
|
4623
4758
|
# to your distribution regardless of the IP address format of the
|
@@ -4625,32 +4760,81 @@ module Aws::CloudFront
|
|
4625
4760
|
#
|
4626
4761
|
#
|
4627
4762
|
#
|
4628
|
-
# [1]: https://docs.aws.amazon.com/
|
4629
|
-
# [2]: https://docs.aws.amazon.com/
|
4763
|
+
# [1]: https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ConnectionGroup.html
|
4764
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-custom-policy.html
|
4765
|
+
# [3]: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-to-cloudfront-distribution.html
|
4630
4766
|
# @return [Boolean]
|
4631
4767
|
#
|
4632
4768
|
# @!attribute [rw] continuous_deployment_policy_id
|
4633
|
-
#
|
4769
|
+
# <note markdown="1"> This field only supports standard distributions.
|
4770
|
+
# You can't specify
|
4771
|
+
# this field for multi-tenant distributions. For more information, see
|
4772
|
+
# [Unsupported features for SaaS Manager for Amazon CloudFront][1] in
|
4773
|
+
# the *Amazon CloudFront Developer Guide*.
|
4774
|
+
#
|
4775
|
+
# </note>
|
4776
|
+
#
|
4777
|
+
# The identifier of a continuous deployment policy. For more
|
4634
4778
|
# information, see `CreateContinuousDeploymentPolicy`.
|
4779
|
+
#
|
4780
|
+
#
|
4781
|
+
#
|
4782
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas
|
4635
4783
|
# @return [String]
|
4636
4784
|
#
|
4637
4785
|
# @!attribute [rw] staging
|
4638
|
-
#
|
4786
|
+
# <note markdown="1"> This field only supports standard distributions.
|
4787
|
+
# You can't specify
|
4788
|
+
# this field for multi-tenant distributions. For more information, see
|
4789
|
+
# [Unsupported features for SaaS Manager for Amazon CloudFront][1] in
|
4790
|
+
# the *Amazon CloudFront Developer Guide*.
|
4791
|
+
#
|
4792
|
+
# </note>
|
4793
|
+
#
|
4794
|
+
# A Boolean that indicates whether this is a staging distribution.
|
4639
4795
|
# When this value is `true`, this is a staging distribution. When this
|
4640
4796
|
# value is `false`, this is not a staging distribution.
|
4797
|
+
#
|
4798
|
+
#
|
4799
|
+
#
|
4800
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas
|
4641
4801
|
# @return [Boolean]
|
4642
4802
|
#
|
4643
4803
|
# @!attribute [rw] anycast_ip_list_id
|
4644
|
-
#
|
4804
|
+
# <note markdown="1"> To use this field for a multi-tenant
|
4805
|
+
# distribution, use a connection
|
4806
|
+
# group instead. For more information, see [ConnectionGroup][1].
|
4807
|
+
#
|
4808
|
+
# </note>
|
4809
|
+
#
|
4810
|
+
# ID of the Anycast static IP list that is associated with the
|
4645
4811
|
# distribution.
|
4812
|
+
#
|
4813
|
+
#
|
4814
|
+
#
|
4815
|
+
# [1]: https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ConnectionGroup.html
|
4646
4816
|
# @return [String]
|
4647
4817
|
#
|
4648
4818
|
# @!attribute [rw] tenant_config
|
4649
|
-
#
|
4819
|
+
# <note markdown="1"> This field only supports multi-tenant
|
4820
|
+
# distributions. You can't
|
4821
|
+
# specify this field for standard distributions. For more information,
|
4822
|
+
# see [Unsupported features for SaaS Manager for Amazon CloudFront][1]
|
4823
|
+
# in the *Amazon CloudFront Developer Guide*.
|
4824
|
+
#
|
4825
|
+
# </note>
|
4826
|
+
#
|
4827
|
+
# A distribution tenant configuration.
|
4828
|
+
#
|
4829
|
+
#
|
4830
|
+
#
|
4831
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas
|
4650
4832
|
# @return [Types::TenantConfig]
|
4651
4833
|
#
|
4652
4834
|
# @!attribute [rw] connection_mode
|
4653
|
-
#
|
4835
|
+
# This field specifies whether the connection mode is through a
|
4836
|
+
# standard distribution (direct) or a multi-tenant distribution with
|
4837
|
+
# distribution tenants(tenant-only).
|
4654
4838
|
# @return [String]
|
4655
4839
|
#
|
4656
4840
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DistributionConfig AWS API Documentation
|
@@ -4893,8 +5077,20 @@ module Aws::CloudFront
|
|
4893
5077
|
# @return [String]
|
4894
5078
|
#
|
4895
5079
|
# @!attribute [rw] price_class
|
4896
|
-
#
|
5080
|
+
# <note markdown="1"> This field only supports standard distributions.
|
5081
|
+
# You can't specify
|
5082
|
+
# this field for multi-tenant distributions. For more information, see
|
5083
|
+
# [Unsupported features for SaaS Manager for Amazon CloudFront][1] in
|
5084
|
+
# the *Amazon CloudFront Developer Guide*.
|
5085
|
+
#
|
5086
|
+
# </note>
|
5087
|
+
#
|
5088
|
+
# A complex type that contains information about price class for this
|
4897
5089
|
# streaming distribution.
|
5090
|
+
#
|
5091
|
+
#
|
5092
|
+
#
|
5093
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas
|
4898
5094
|
# @return [String]
|
4899
5095
|
#
|
4900
5096
|
# @!attribute [rw] enabled
|
@@ -4951,7 +5147,9 @@ module Aws::CloudFront
|
|
4951
5147
|
# @return [Boolean]
|
4952
5148
|
#
|
4953
5149
|
# @!attribute [rw] connection_mode
|
4954
|
-
#
|
5150
|
+
# This field specifies whether the connection mode is through a
|
5151
|
+
# standard distribution (direct) or a multi-tenant distribution with
|
5152
|
+
# distribution tenants(tenant-only).
|
4955
5153
|
# @return [String]
|
4956
5154
|
#
|
4957
5155
|
# @!attribute [rw] anycast_ip_list_id
|
@@ -4986,7 +5184,7 @@ module Aws::CloudFront
|
|
4986
5184
|
:staging,
|
4987
5185
|
:connection_mode,
|
4988
5186
|
:anycast_ip_list_id)
|
4989
|
-
SENSITIVE = []
|
5187
|
+
SENSITIVE = [:comment]
|
4990
5188
|
include Aws::Structure
|
4991
5189
|
end
|
4992
5190
|
|
@@ -5750,25 +5948,34 @@ module Aws::CloudFront
|
|
5750
5948
|
include Aws::Structure
|
5751
5949
|
end
|
5752
5950
|
|
5753
|
-
# This field
|
5951
|
+
# <note markdown="1"> This field only supports standard distributions.
|
5952
|
+
# You can't specify
|
5953
|
+
# this field for multi-tenant distributions. For more information, see
|
5954
|
+
# [Unsupported features for SaaS Manager for Amazon CloudFront][1] in
|
5955
|
+
# the *Amazon CloudFront Developer Guide*.
|
5956
|
+
#
|
5957
|
+
# </note>
|
5958
|
+
#
|
5959
|
+
# This field is deprecated. We recommend that you use a cache policy or
|
5754
5960
|
# an origin request policy instead of this field.
|
5755
5961
|
#
|
5756
|
-
#
|
5757
|
-
# For more information, see [Creating cache policies][
|
5962
|
+
# If you want to include values in the cache key, use a cache policy.
|
5963
|
+
# For more information, see [Creating cache policies][2] in the *Amazon
|
5758
5964
|
# CloudFront Developer Guide*.
|
5759
5965
|
#
|
5760
|
-
#
|
5966
|
+
# If you want to send values to the origin but not include them in the
|
5761
5967
|
# cache key, use an origin request policy. For more information, see
|
5762
|
-
# [Creating origin request policies][
|
5968
|
+
# [Creating origin request policies][3] in the *Amazon CloudFront
|
5763
5969
|
# Developer Guide*.
|
5764
5970
|
#
|
5765
|
-
#
|
5971
|
+
# A complex type that specifies how CloudFront handles query strings,
|
5766
5972
|
# cookies, and HTTP headers.
|
5767
5973
|
#
|
5768
5974
|
#
|
5769
5975
|
#
|
5770
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
5771
|
-
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-
|
5976
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas
|
5977
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy
|
5978
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy
|
5772
5979
|
#
|
5773
5980
|
# @!attribute [rw] query_string
|
5774
5981
|
# This field is deprecated. We recommend that you use a cache policy
|
@@ -8507,8 +8714,8 @@ module Aws::CloudFront
|
|
8507
8714
|
end
|
8508
8715
|
|
8509
8716
|
# @!attribute [rw] distribution_id
|
8510
|
-
# The ID of a distribution in your account that has an
|
8511
|
-
#
|
8717
|
+
# The ID of a standard distribution in your account that has an
|
8718
|
+
# attached TLS certificate that includes the provided alias.
|
8512
8719
|
# @return [String]
|
8513
8720
|
#
|
8514
8721
|
# @!attribute [rw] alias
|
@@ -8802,7 +9009,9 @@ module Aws::CloudFront
|
|
8802
9009
|
# @return [Integer]
|
8803
9010
|
#
|
8804
9011
|
# @!attribute [rw] connection_mode
|
8805
|
-
#
|
9012
|
+
# This field specifies whether the connection mode is through a
|
9013
|
+
# standard distribution (direct) or a multi-tenant distribution with
|
9014
|
+
# distribution tenants(tenant-only).
|
8806
9015
|
# @return [String]
|
8807
9016
|
#
|
8808
9017
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByConnectionModeRequest AWS API Documentation
|
@@ -9125,9 +9334,9 @@ module Aws::CloudFront
|
|
9125
9334
|
# @return [String]
|
9126
9335
|
#
|
9127
9336
|
# @!attribute [rw] domain_control_validation_resource
|
9128
|
-
# The distribution resource identifier. This can be the
|
9129
|
-
# or distribution tenant that has a valid certificate,
|
9130
|
-
# the domain that you specify.
|
9337
|
+
# The distribution resource identifier. This can be the standard
|
9338
|
+
# distribution or distribution tenant that has a valid certificate,
|
9339
|
+
# which covers the domain that you specify.
|
9131
9340
|
# @return [Types::DistributionResourceId]
|
9132
9341
|
#
|
9133
9342
|
# @!attribute [rw] max_items
|
@@ -13328,7 +13537,7 @@ module Aws::CloudFront
|
|
13328
13537
|
:comment,
|
13329
13538
|
:default_value,
|
13330
13539
|
:required)
|
13331
|
-
SENSITIVE = []
|
13540
|
+
SENSITIVE = [:comment]
|
13332
13541
|
include Aws::Structure
|
13333
13542
|
end
|
13334
13543
|
|
@@ -13406,7 +13615,19 @@ module Aws::CloudFront
|
|
13406
13615
|
include Aws::Structure
|
13407
13616
|
end
|
13408
13617
|
|
13409
|
-
#
|
13618
|
+
# <note markdown="1"> This field only supports multi-tenant
|
13619
|
+
# distributions. You can't
|
13620
|
+
# specify this field for standard distributions. For more information,
|
13621
|
+
# see [Unsupported features for SaaS Manager for Amazon CloudFront][1]
|
13622
|
+
# in the *Amazon CloudFront Developer Guide*.
|
13623
|
+
#
|
13624
|
+
# </note>
|
13625
|
+
#
|
13626
|
+
# The configuration for a distribution tenant.
|
13627
|
+
#
|
13628
|
+
#
|
13629
|
+
#
|
13630
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas
|
13410
13631
|
#
|
13411
13632
|
# @!attribute [rw] parameter_definitions
|
13412
13633
|
# The parameters that you specify for a distribution tenant.
|
@@ -14895,12 +15116,13 @@ module Aws::CloudFront
|
|
14895
15116
|
# @return [String]
|
14896
15117
|
#
|
14897
15118
|
# @!attribute [rw] target_resource
|
14898
|
-
# The target distribution
|
14899
|
-
# either `DistributionId` or
|
15119
|
+
# The target standard distribution or distribution tenant resource for
|
15120
|
+
# the domain. You can specify either `DistributionId` or
|
15121
|
+
# `DistributionTenantId`, but not both.
|
14900
15122
|
# @return [Types::DistributionResourceId]
|
14901
15123
|
#
|
14902
15124
|
# @!attribute [rw] if_match
|
14903
|
-
# The value of the `ETag` identifier for the distribution or
|
15125
|
+
# The value of the `ETag` identifier for the standard distribution or
|
14904
15126
|
# distribution tenant that will be associated with the domain.
|
14905
15127
|
# @return [String]
|
14906
15128
|
#
|
@@ -14923,8 +15145,8 @@ module Aws::CloudFront
|
|
14923
15145
|
# @return [String]
|
14924
15146
|
#
|
14925
15147
|
# @!attribute [rw] etag
|
14926
|
-
# The current version of the target distribution or
|
14927
|
-
# tenant that was associated with the domain.
|
15148
|
+
# The current version of the target standard distribution or
|
15149
|
+
# distribution tenant that was associated with the domain.
|
14928
15150
|
# @return [String]
|
14929
15151
|
#
|
14930
15152
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateDomainAssociationResult AWS API Documentation
|
@@ -15589,16 +15811,25 @@ module Aws::CloudFront
|
|
15589
15811
|
# @return [Boolean]
|
15590
15812
|
#
|
15591
15813
|
# @!attribute [rw] iam_certificate_id
|
15592
|
-
#
|
15814
|
+
# <note markdown="1"> This field only supports standard distributions.
|
15815
|
+
# You can't specify
|
15816
|
+
# this field for multi-tenant distributions. For more information, see
|
15817
|
+
# [Unsupported features for SaaS Manager for Amazon CloudFront][1] in
|
15818
|
+
# the *Amazon CloudFront Developer Guide*.
|
15819
|
+
#
|
15820
|
+
# </note>
|
15821
|
+
#
|
15822
|
+
# If the distribution uses `Aliases` (alternate domain names or
|
15593
15823
|
# CNAMEs) and the SSL/TLS certificate is stored in [Identity and
|
15594
|
-
# Access Management (IAM)][
|
15824
|
+
# Access Management (IAM)][2], provide the ID of the IAM certificate.
|
15595
15825
|
#
|
15596
|
-
#
|
15826
|
+
# If you specify an IAM certificate ID, you must also specify values
|
15597
15827
|
# for `MinimumProtocolVersion` and `SSLSupportMethod`.
|
15598
15828
|
#
|
15599
15829
|
#
|
15600
15830
|
#
|
15601
|
-
# [1]: https://docs.aws.amazon.com/
|
15831
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas
|
15832
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html
|
15602
15833
|
# @return [String]
|
15603
15834
|
#
|
15604
15835
|
# @!attribute [rw] acm_certificate_arn
|
@@ -15763,7 +15994,7 @@ module Aws::CloudFront
|
|
15763
15994
|
# @!attribute [rw] origin_read_timeout
|
15764
15995
|
# Specifies how long, in seconds, CloudFront waits for a response from
|
15765
15996
|
# the origin. This is also known as the *origin response timeout*. The
|
15766
|
-
# minimum timeout is 1 second, the maximum is
|
15997
|
+
# minimum timeout is 1 second, the maximum is 120 seconds, and the
|
15767
15998
|
# default (if you don't specify otherwise) is 30 seconds.
|
15768
15999
|
#
|
15769
16000
|
# For more information, see [Response timeout (custom origins
|
@@ -15771,12 +16002,12 @@ module Aws::CloudFront
|
|
15771
16002
|
#
|
15772
16003
|
#
|
15773
16004
|
#
|
15774
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
16005
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginResponseTimeout
|
15775
16006
|
# @return [Integer]
|
15776
16007
|
#
|
15777
16008
|
# @!attribute [rw] origin_keepalive_timeout
|
15778
16009
|
# Specifies how long, in seconds, CloudFront persists its connection
|
15779
|
-
# to the origin. The minimum timeout is 1 second, the maximum is
|
16010
|
+
# to the origin. The minimum timeout is 1 second, the maximum is 120
|
15780
16011
|
# seconds, and the default (if you don't specify otherwise) is 5
|
15781
16012
|
# seconds.
|
15782
16013
|
#
|
@@ -15785,7 +16016,7 @@ module Aws::CloudFront
|
|
15785
16016
|
#
|
15786
16017
|
#
|
15787
16018
|
#
|
15788
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
16019
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginKeepaliveTimeout
|
15789
16020
|
# @return [Integer]
|
15790
16021
|
#
|
15791
16022
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/VpcOriginConfig AWS API Documentation
|