@serverless/domain
Advanced tools
Comparing version 6.0.0 to 6.0.1
{ | ||
"name": "@serverless/domain", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"main": "./serverless.js", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
76
utils.js
@@ -470,3 +470,2 @@ const aws = require('aws-sdk') | ||
}, | ||
DefaultRootObject: 'index.html', | ||
Origins: { | ||
@@ -478,2 +477,10 @@ Quantity: 1, | ||
DomainName: subdomain.url, | ||
CustomOriginConfig: { | ||
HTTPPort: 80, | ||
HTTPSPort: 443, | ||
OriginKeepaliveTimeout: 5, | ||
OriginProtocolPolicy: 'https-only', | ||
OriginReadTimeout: 30, | ||
OriginSSLProtocols: ['TLSv1'] | ||
}, | ||
OriginPath: '', | ||
@@ -500,65 +507,11 @@ CustomHeaders: { | ||
Forward: 'none' | ||
}, | ||
Headers: { | ||
Quantity: 0, | ||
Items: [] | ||
}, | ||
QueryStringCacheKeys: { | ||
Quantity: 0, | ||
Items: [] | ||
} | ||
}, | ||
TrustedSigners: { | ||
Enabled: false, | ||
Quantity: 0, | ||
Items: [] | ||
}, | ||
ViewerProtocolPolicy: 'redirect-to-https', | ||
MinTTL: 0, | ||
AllowedMethods: { | ||
Quantity: 2, | ||
Items: ['HEAD', 'GET'], | ||
CachedMethods: { | ||
Quantity: 2, | ||
Items: ['HEAD', 'GET'] | ||
} | ||
}, | ||
SmoothStreaming: false, | ||
DefaultTTL: 86400, | ||
MaxTTL: 31536000, | ||
Compress: false, | ||
LambdaFunctionAssociations: { | ||
Quantity: 0, | ||
Items: [] | ||
}, | ||
FieldLevelEncryptionId: '' | ||
Items: ['HEAD', 'GET', 'DELETE', 'OPTIONS', 'PATCH', 'POST', 'PUT'] | ||
} | ||
}, | ||
CacheBehaviors: { | ||
Quantity: 0, | ||
Items: [] | ||
}, | ||
CustomErrorResponses: { | ||
Quantity: 2, | ||
Items: [ | ||
{ | ||
ErrorCode: 404, | ||
ErrorCachingMinTTL: 300, | ||
ResponseCode: '200', | ||
ResponsePagePath: '/index.html' | ||
}, | ||
{ | ||
ErrorCode: 403, | ||
ErrorCachingMinTTL: 300, | ||
ResponseCode: '200', | ||
ResponsePagePath: '/index.html' | ||
} | ||
] | ||
}, | ||
Comment: '', | ||
Logging: { | ||
Enabled: false, | ||
IncludeCookies: false, | ||
Bucket: '', | ||
Prefix: '' | ||
}, | ||
Comment: `app-sync-${subdomain.apiId}`, | ||
PriceClass: 'PriceClass_All', | ||
@@ -573,9 +526,2 @@ Enabled: true, | ||
}, | ||
Restrictions: { | ||
GeoRestriction: { | ||
RestrictionType: 'none', | ||
Quantity: 0, | ||
Items: [] | ||
} | ||
}, | ||
WebACLId: '', | ||
@@ -582,0 +528,0 @@ HttpVersion: 'http2', |
55871
1252