libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudFront.Types.DistributionConfig

Description

 
Synopsis

Documentation

data DistributionConfig Source #

A distribution configuration.

See: newDistributionConfig smart constructor.

Constructors

DistributionConfig' 

Fields

  • httpVersion :: Maybe HttpVersion

    (Optional) Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP/2 automatically use an earlier HTTP version.

    For viewers and CloudFront to use HTTP/2, viewers must support TLS 1.2 or later, and must support Server Name Identification (SNI).

    In general, configuring CloudFront to communicate with viewers using HTTP/2 reduces latency. You can improve performance by optimizing for HTTP/2. For more information, do an Internet search for "http/2 optimization."

  • originGroups :: Maybe OriginGroups

    A complex type that contains information about origin groups for this distribution.

  • aliases :: Maybe Aliases

    A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

  • defaultRootObject :: Maybe Text

    The object that you want CloudFront to request from your origin (for example, index.html) when a viewer requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/product-description.html). Specifying a default root object avoids exposing the contents of your distribution.

    Specify only the object name, for example, index.html. Don't add a / before the object name.

    If you don't want to specify a default root object when you create a distribution, include an empty DefaultRootObject element.

    To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element.

    To replace the default root object, update the distribution configuration and specify the new object.

    For more information about the default root object, see Creating a Default Root Object in the Amazon CloudFront Developer Guide.

  • priceClass :: Maybe PriceClass

    The price class that corresponds with the maximum price that you want to pay for CloudFront service. If you specify PriceClass_All, CloudFront responds to requests for your objects from all CloudFront edge locations.

    If you specify a price class other than PriceClass_All, CloudFront serves your objects from the CloudFront edge location that has the lowest latency among the edge locations in your price class. Viewers who are in or near regions that are excluded from your specified price class may encounter slower performance.

    For more information about price classes, see Choosing the Price Class for a CloudFront Distribution in the Amazon CloudFront Developer Guide. For information about CloudFront pricing, including how price classes (such as Price Class 100) map to CloudFront regions, see Amazon CloudFront Pricing.

  • customErrorResponses :: Maybe CustomErrorResponses

    A complex type that controls the following:

    • Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.
    • How long CloudFront caches HTTP status codes in the 4xx and 5xx range.

    For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide.

  • webACLId :: Maybe Text

    A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution. To specify a web ACL created using the latest version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a.

    WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about WAF, see the WAF Developer Guide.

  • viewerCertificate :: Maybe ViewerCertificate

    A complex type that determines the distribution’s SSL/TLS configuration for communicating with viewers.

  • restrictions :: Maybe Restrictions

    A complex type that identifies ways in which you want to restrict distribution of your content.

  • logging :: Maybe LoggingConfig

    A complex type that controls whether access logs are written for the distribution.

    For more information about logging, see Access Logs in the Amazon CloudFront Developer Guide.

  • cacheBehaviors :: Maybe CacheBehaviors

    A complex type that contains zero or more CacheBehavior elements.

  • isIPV6Enabled :: Maybe Bool

    If you want CloudFront to respond to IPv6 DNS requests with an IPv6 address for your distribution, specify true. If you specify false, CloudFront responds to IPv6 DNS requests with the DNS response code NOERROR and with no IP addresses. This allows viewers to submit a second request, for an IPv4 address for your distribution.

    In general, you should enable IPv6 if you have users on IPv6 networks who want to access your content. However, if you're using signed URLs or signed cookies to restrict access to your content, and if you're using a custom policy that includes the IpAddress parameter to restrict the IP addresses that can access your content, don't enable IPv6. If you want to restrict access to some content by IP address and not restrict access to other content (or restrict access but not by IP address), you can create two distributions. For more information, see Creating a Signed URL Using a Custom Policy in the Amazon CloudFront Developer Guide.

    If you're using an Route 53 Amazon Web Services Integration alias resource record set to route traffic to your CloudFront distribution, you need to create a second alias resource record set when both of the following are true:

    • You enable IPv6 for the distribution
    • You're using alternate domain names in the URLs for your objects

    For more information, see Routing Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name in the Route 53 Amazon Web Services Integration Developer Guide.

    If you created a CNAME resource record set, either with Route 53 Amazon Web Services Integration or with another DNS service, you don't need to make any changes. A CNAME record will route traffic to your distribution regardless of the IP address format of the viewer request.

  • callerReference :: Text

    A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

    If the value of CallerReference is new (regardless of the content of the DistributionConfig object), CloudFront creates a new distribution.

    If CallerReference is a value that you already sent in a previous request to create a distribution, CloudFront returns a DistributionAlreadyExists error.

  • origins :: Origins

    A complex type that contains information about origins for this distribution.

  • defaultCacheBehavior :: DefaultCacheBehavior

    A complex type that describes the default cache behavior if you don't specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.

  • comment :: Sensitive Text

    An optional comment to describe the distribution. The comment cannot be longer than 128 characters.

  • enabled :: Bool

    From this field, you can enable or disable the selected distribution.

Instances

Instances details
Eq DistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfig

Show DistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfig

Generic DistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfig

Associated Types

type Rep DistributionConfig :: Type -> Type #

NFData DistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfig

Methods

rnf :: DistributionConfig -> () #

Hashable DistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfig

FromXML DistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfig

ToXML DistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfig

type Rep DistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.DistributionConfig

type Rep DistributionConfig = D1 ('MetaData "DistributionConfig" "Amazonka.CloudFront.Types.DistributionConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "DistributionConfig'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "httpVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HttpVersion)) :*: S1 ('MetaSel ('Just "originGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OriginGroups))) :*: (S1 ('MetaSel ('Just "aliases") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Aliases)) :*: S1 ('MetaSel ('Just "defaultRootObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "priceClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PriceClass)) :*: S1 ('MetaSel ('Just "customErrorResponses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomErrorResponses))) :*: (S1 ('MetaSel ('Just "webACLId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "viewerCertificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ViewerCertificate))))) :*: (((S1 ('MetaSel ('Just "restrictions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Restrictions)) :*: S1 ('MetaSel ('Just "logging") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LoggingConfig))) :*: (S1 ('MetaSel ('Just "cacheBehaviors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CacheBehaviors)) :*: S1 ('MetaSel ('Just "isIPV6Enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "callerReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "origins") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Origins)) :*: (S1 ('MetaSel ('Just "defaultCacheBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DefaultCacheBehavior) :*: (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))))))

newDistributionConfig Source #

Create a value of DistributionConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpVersion:DistributionConfig', distributionConfig_httpVersion - (Optional) Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP/2 automatically use an earlier HTTP version.

For viewers and CloudFront to use HTTP/2, viewers must support TLS 1.2 or later, and must support Server Name Identification (SNI).

In general, configuring CloudFront to communicate with viewers using HTTP/2 reduces latency. You can improve performance by optimizing for HTTP/2. For more information, do an Internet search for "http/2 optimization."

$sel:originGroups:DistributionConfig', distributionConfig_originGroups - A complex type that contains information about origin groups for this distribution.

$sel:aliases:DistributionConfig', distributionConfig_aliases - A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

$sel:defaultRootObject:DistributionConfig', distributionConfig_defaultRootObject - The object that you want CloudFront to request from your origin (for example, index.html) when a viewer requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/product-description.html). Specifying a default root object avoids exposing the contents of your distribution.

Specify only the object name, for example, index.html. Don't add a / before the object name.

If you don't want to specify a default root object when you create a distribution, include an empty DefaultRootObject element.

To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element.

To replace the default root object, update the distribution configuration and specify the new object.

For more information about the default root object, see Creating a Default Root Object in the Amazon CloudFront Developer Guide.

$sel:priceClass:DistributionConfig', distributionConfig_priceClass - The price class that corresponds with the maximum price that you want to pay for CloudFront service. If you specify PriceClass_All, CloudFront responds to requests for your objects from all CloudFront edge locations.

If you specify a price class other than PriceClass_All, CloudFront serves your objects from the CloudFront edge location that has the lowest latency among the edge locations in your price class. Viewers who are in or near regions that are excluded from your specified price class may encounter slower performance.

For more information about price classes, see Choosing the Price Class for a CloudFront Distribution in the Amazon CloudFront Developer Guide. For information about CloudFront pricing, including how price classes (such as Price Class 100) map to CloudFront regions, see Amazon CloudFront Pricing.

$sel:customErrorResponses:DistributionConfig', distributionConfig_customErrorResponses - A complex type that controls the following:

  • Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.
  • How long CloudFront caches HTTP status codes in the 4xx and 5xx range.

For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide.

$sel:webACLId:DistributionConfig', distributionConfig_webACLId - A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution. To specify a web ACL created using the latest version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a.

WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about WAF, see the WAF Developer Guide.

$sel:viewerCertificate:DistributionConfig', distributionConfig_viewerCertificate - A complex type that determines the distribution’s SSL/TLS configuration for communicating with viewers.

$sel:restrictions:DistributionConfig', distributionConfig_restrictions - A complex type that identifies ways in which you want to restrict distribution of your content.

$sel:logging:DistributionConfig', distributionConfig_logging - A complex type that controls whether access logs are written for the distribution.

For more information about logging, see Access Logs in the Amazon CloudFront Developer Guide.

$sel:cacheBehaviors:DistributionConfig', distributionConfig_cacheBehaviors - A complex type that contains zero or more CacheBehavior elements.

$sel:isIPV6Enabled:DistributionConfig', distributionConfig_isIPV6Enabled - If you want CloudFront to respond to IPv6 DNS requests with an IPv6 address for your distribution, specify true. If you specify false, CloudFront responds to IPv6 DNS requests with the DNS response code NOERROR and with no IP addresses. This allows viewers to submit a second request, for an IPv4 address for your distribution.

In general, you should enable IPv6 if you have users on IPv6 networks who want to access your content. However, if you're using signed URLs or signed cookies to restrict access to your content, and if you're using a custom policy that includes the IpAddress parameter to restrict the IP addresses that can access your content, don't enable IPv6. If you want to restrict access to some content by IP address and not restrict access to other content (or restrict access but not by IP address), you can create two distributions. For more information, see Creating a Signed URL Using a Custom Policy in the Amazon CloudFront Developer Guide.

If you're using an Route 53 Amazon Web Services Integration alias resource record set to route traffic to your CloudFront distribution, you need to create a second alias resource record set when both of the following are true:

  • You enable IPv6 for the distribution
  • You're using alternate domain names in the URLs for your objects

For more information, see Routing Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name in the Route 53 Amazon Web Services Integration Developer Guide.

If you created a CNAME resource record set, either with Route 53 Amazon Web Services Integration or with another DNS service, you don't need to make any changes. A CNAME record will route traffic to your distribution regardless of the IP address format of the viewer request.

$sel:callerReference:DistributionConfig', distributionConfig_callerReference - A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

If the value of CallerReference is new (regardless of the content of the DistributionConfig object), CloudFront creates a new distribution.

If CallerReference is a value that you already sent in a previous request to create a distribution, CloudFront returns a DistributionAlreadyExists error.

$sel:origins:DistributionConfig', distributionConfig_origins - A complex type that contains information about origins for this distribution.

$sel:defaultCacheBehavior:DistributionConfig', distributionConfig_defaultCacheBehavior - A complex type that describes the default cache behavior if you don't specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.

$sel:comment:DistributionConfig', distributionConfig_comment - An optional comment to describe the distribution. The comment cannot be longer than 128 characters.

$sel:enabled:DistributionConfig', distributionConfig_enabled - From this field, you can enable or disable the selected distribution.

distributionConfig_httpVersion :: Lens' DistributionConfig (Maybe HttpVersion) Source #

(Optional) Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP/2 automatically use an earlier HTTP version.

For viewers and CloudFront to use HTTP/2, viewers must support TLS 1.2 or later, and must support Server Name Identification (SNI).

In general, configuring CloudFront to communicate with viewers using HTTP/2 reduces latency. You can improve performance by optimizing for HTTP/2. For more information, do an Internet search for "http/2 optimization."

distributionConfig_originGroups :: Lens' DistributionConfig (Maybe OriginGroups) Source #

A complex type that contains information about origin groups for this distribution.

distributionConfig_aliases :: Lens' DistributionConfig (Maybe Aliases) Source #

A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

distributionConfig_defaultRootObject :: Lens' DistributionConfig (Maybe Text) Source #

The object that you want CloudFront to request from your origin (for example, index.html) when a viewer requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/product-description.html). Specifying a default root object avoids exposing the contents of your distribution.

Specify only the object name, for example, index.html. Don't add a / before the object name.

If you don't want to specify a default root object when you create a distribution, include an empty DefaultRootObject element.

To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element.

To replace the default root object, update the distribution configuration and specify the new object.

For more information about the default root object, see Creating a Default Root Object in the Amazon CloudFront Developer Guide.

distributionConfig_priceClass :: Lens' DistributionConfig (Maybe PriceClass) Source #

The price class that corresponds with the maximum price that you want to pay for CloudFront service. If you specify PriceClass_All, CloudFront responds to requests for your objects from all CloudFront edge locations.

If you specify a price class other than PriceClass_All, CloudFront serves your objects from the CloudFront edge location that has the lowest latency among the edge locations in your price class. Viewers who are in or near regions that are excluded from your specified price class may encounter slower performance.

For more information about price classes, see Choosing the Price Class for a CloudFront Distribution in the Amazon CloudFront Developer Guide. For information about CloudFront pricing, including how price classes (such as Price Class 100) map to CloudFront regions, see Amazon CloudFront Pricing.

distributionConfig_customErrorResponses :: Lens' DistributionConfig (Maybe CustomErrorResponses) Source #

A complex type that controls the following:

  • Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.
  • How long CloudFront caches HTTP status codes in the 4xx and 5xx range.

For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide.

distributionConfig_webACLId :: Lens' DistributionConfig (Maybe Text) Source #

A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution. To specify a web ACL created using the latest version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a.

WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about WAF, see the WAF Developer Guide.

distributionConfig_viewerCertificate :: Lens' DistributionConfig (Maybe ViewerCertificate) Source #

A complex type that determines the distribution’s SSL/TLS configuration for communicating with viewers.

distributionConfig_restrictions :: Lens' DistributionConfig (Maybe Restrictions) Source #

A complex type that identifies ways in which you want to restrict distribution of your content.

distributionConfig_logging :: Lens' DistributionConfig (Maybe LoggingConfig) Source #

A complex type that controls whether access logs are written for the distribution.

For more information about logging, see Access Logs in the Amazon CloudFront Developer Guide.

distributionConfig_cacheBehaviors :: Lens' DistributionConfig (Maybe CacheBehaviors) Source #

A complex type that contains zero or more CacheBehavior elements.

distributionConfig_isIPV6Enabled :: Lens' DistributionConfig (Maybe Bool) Source #

If you want CloudFront to respond to IPv6 DNS requests with an IPv6 address for your distribution, specify true. If you specify false, CloudFront responds to IPv6 DNS requests with the DNS response code NOERROR and with no IP addresses. This allows viewers to submit a second request, for an IPv4 address for your distribution.

In general, you should enable IPv6 if you have users on IPv6 networks who want to access your content. However, if you're using signed URLs or signed cookies to restrict access to your content, and if you're using a custom policy that includes the IpAddress parameter to restrict the IP addresses that can access your content, don't enable IPv6. If you want to restrict access to some content by IP address and not restrict access to other content (or restrict access but not by IP address), you can create two distributions. For more information, see Creating a Signed URL Using a Custom Policy in the Amazon CloudFront Developer Guide.

If you're using an Route 53 Amazon Web Services Integration alias resource record set to route traffic to your CloudFront distribution, you need to create a second alias resource record set when both of the following are true:

  • You enable IPv6 for the distribution
  • You're using alternate domain names in the URLs for your objects

For more information, see Routing Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name in the Route 53 Amazon Web Services Integration Developer Guide.

If you created a CNAME resource record set, either with Route 53 Amazon Web Services Integration or with another DNS service, you don't need to make any changes. A CNAME record will route traffic to your distribution regardless of the IP address format of the viewer request.

distributionConfig_callerReference :: Lens' DistributionConfig Text Source #

A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

If the value of CallerReference is new (regardless of the content of the DistributionConfig object), CloudFront creates a new distribution.

If CallerReference is a value that you already sent in a previous request to create a distribution, CloudFront returns a DistributionAlreadyExists error.

distributionConfig_origins :: Lens' DistributionConfig Origins Source #

A complex type that contains information about origins for this distribution.

distributionConfig_defaultCacheBehavior :: Lens' DistributionConfig DefaultCacheBehavior Source #

A complex type that describes the default cache behavior if you don't specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.

distributionConfig_comment :: Lens' DistributionConfig Text Source #

An optional comment to describe the distribution. The comment cannot be longer than 128 characters.

distributionConfig_enabled :: Lens' DistributionConfig Bool Source #

From this field, you can enable or disable the selected distribution.