title: AWS Cloudformation error creating CachePolicy component
body: <p>I would like to create the cache policy for cloudfront but the CachePolicy component fails me without specifying the cause.</p>
  <p>I can't understand, do you have any idea why this happens?</p>
  <p><strong>Cloudformation</strong></p>
  <pre><code>CDNCachePolicy:
    Type: AWS::CloudFront::CachePolicy
    Properties: 
      CachePolicyConfig: 
        DefaultTTL: 60
        MaxTTL: 60
        MinTTL: 180
        Name: &quot;StandardCachePolicy&quot;
        ParametersInCacheKeyAndForwardedToOrigin:
          CookiesConfig:
            CookieBehavior: all
          EnableAcceptEncodingBrotli: false
          EnableAcceptEncodingGzip: true
          HeadersConfig:
            HeaderBehavior: none
          QueryStringsConfig:
            QueryStringBehavior: all
  </code></pre>
  <p><strong>Error</strong></p>
  <pre><code>Resource handler returned message: &quot;Invalid request provided: AWS::CloudFront::CachePolicy&quot; (RequestToken: 958e950c-b658-3946-deb0-ca86d444a5e4, HandlerErrorCode: InvalidRequest)
  </code></pre>