github.com/pachyderm/pachyderm@v1.13.4/etc/deploy/cloudfront/distribution-secure.json.template (about)

     1  {
     2      "CallerReference": "XXCallerReferenceXX",
     3      "Aliases": {
     4          "Quantity": 0
     5      },
     6      "DefaultRootObject": "",
     7      "Origins": {
     8          "Quantity": 1,
     9          "Items": [
    10                  {
    11                      "DomainName": "XXBucketNameXX.s3.amazonaws.com",
    12                      "OriginPath": "",
    13                      "S3OriginConfig": {
    14                          "OriginAccessIdentity": "origin-access-identity/cloudfront/XXCLOUDFRONT_OAI_IDXX"
    15                      },
    16                      "CustomHeaders": {
    17                          "Quantity": 0
    18                      },
    19                      "Id": "S3-XXBucketNameXX"
    20                  }
    21          ]
    22      },
    23      "DefaultCacheBehavior": {
    24          "TrustedSigners": {
    25              "Quantity": 0,
    26              "Enabled": false
    27          },
    28          "AllowedMethods": {
    29              "Quantity": 2,
    30              "CachedMethods": {
    31                  "Quantity": 2,
    32                  "Items": [
    33                      "HEAD",
    34                      "GET"
    35                  ]
    36              },
    37              "Items": [
    38                  "HEAD",
    39                  "GET"
    40              ]
    41          },
    42          "DefaultTTL": 86400,
    43          "TargetOriginId": "S3-XXBucketNameXX",
    44          "SmoothStreaming": false,
    45          "MaxTTL": 31536000,
    46          "ForwardedValues": {
    47              "Cookies": {
    48                  "Forward": "none"
    49              },
    50              "Headers": {
    51                  "Quantity": 0
    52              },
    53              "QueryString": false
    54          },
    55          "Compress": false,
    56          "ViewerProtocolPolicy": "allow-all",
    57          "MinTTL": 0
    58      },
    59      "CacheBehaviors": {
    60          "Quantity": 0
    61      },
    62      "CustomErrorResponses": {
    63          "Quantity": 2,
    64          "Items": [
    65              {
    66                  "ErrorCode": 403,
    67                  "ResponsePagePath": "",
    68                  "ResponseCode": "",
    69                  "ErrorCachingMinTTL": 0
    70              },
    71              {
    72                  "ErrorCode": 404,
    73                  "ResponsePagePath": "",
    74                  "ResponseCode": "",
    75                  "ErrorCachingMinTTL": 0
    76              }
    77          ]
    78      },
    79      "Comment": "",
    80      "Logging": {
    81          "Enabled": false,
    82          "IncludeCookies": false,
    83          "Bucket": "",
    84          "Prefix": ""
    85      },
    86      "PriceClass": "PriceClass_100",
    87      "Enabled": true,
    88      "ViewerCertificate": {
    89          "CloudFrontDefaultCertificate": true,
    90          "CertificateSource": "cloudfront",
    91          "MinimumProtocolVersion": "SSLv3"
    92      },
    93      "Restrictions": {
    94          "GeoRestriction": {
    95              "RestrictionType": "none",
    96              "Quantity": 0
    97          }
    98      },
    99      "WebACLId": ""
   100  }