github.com/aquasecurity/trivy-iac@v0.8.1-0.20240127024015-3d8e412cf0ab/avd_docs/aws/sam/AVD-AWS-0110/CloudFormation.md (about)

     1  
     2  Enable cache encryption
     3  
     4  ```yaml---
     5  AWSTemplateFormatVersion: 2010-09-09
     6  Description: Good Example of SAM API
     7  Resources:
     8    ApiGatewayApi:
     9      Type: AWS::Serverless::Api
    10      Properties:
    11        Name: Good SAM API example
    12        StageName: Prod
    13        TracingEnabled: false
    14        Domain:
    15          SecurityPolicy: TLS_1_2
    16        MethodSettings:
    17          CacheDataEncrypted: true
    18  
    19  ```
    20  
    21