|
|
@ -76,6 +76,15 @@ custom: |
|
|
|
'integration.request.path.myPath': 'method.request.path.myPath' |
|
|
|
'integration.request.path.object': 'method.request.path.myPath' |
|
|
|
'integration.request.header.cache-control': "'public, max-age=86400, immutable'" |
|
|
|
- s3: |
|
|
|
path: / |
|
|
|
method: get |
|
|
|
action: GetObject |
|
|
|
bucket: ${self:custom.webuiBucket} |
|
|
|
roleArn: ${self:provider.role} |
|
|
|
key: index.html |
|
|
|
requestParameters: |
|
|
|
'integration.request.header.cache-control': "'public, max-age=86400, immutable'" |
|
|
|
- s3: |
|
|
|
path: /{myPath+} |
|
|
|
method: get |
|
|
|