Amazon web services API网关中的缓存配置
我的代码中有以下配置,但它没有在API网关中启用缓存。这里少了什么吗Amazon web services API网关中的缓存配置,amazon-web-services,caching,aws-api-gateway,Amazon Web Services,Caching,Aws Api Gateway,我的代码中有以下配置,但它没有在API网关中启用缓存。这里少了什么吗 custom: dev: Type: AWS::ApiGateway::Stage Properties: StageName: prod RestApiId: 'REST_ID' CacheClusterEnabled: true CacheClusterSize: '0.5' MethodSettings: - Resour
custom:
dev:
Type: AWS::ApiGateway::Stage
Properties:
StageName: prod
RestApiId: 'REST_ID'
CacheClusterEnabled: true
CacheClusterSize: '0.5'
MethodSettings:
- ResourcePath: '/*'
CacheTtlInSeconds: 300
您可以尝试设置
方法设置@Marcin谢谢。是的,但它不起作用