guard-examples/security-policies/apigateway-restapi-tests.yaml [104:119]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Type: 'AWS::ApiGateway::RestApi'
        Properties:
          EndpointConfiguration: ["PRIVATE"]
          Policy:
            Statement:
              - Action: '*'
                Effect: Allow
                Resource: ['*', "aws:"]
                Condition:
                  Bool:
                    'aws:IsSecure': true
                  StringLike:
                    'aws:SourceVpc': 'vpc-123456789'
  expectations:
    rules:
      check_rest_api_is_private_and_has_access: PASS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



guard-examples/security-policies/apigateway-restapi-tests.yaml [123:138]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Type: 'AWS::ApiGateway::RestApi'
        Properties:
          EndpointConfiguration: ["PRIVATE"]
          Policy:
            Statement:
              - Action: '*'
                Effect: Allow
                Resource: ['*', "aws:"]
                Condition:
                  Bool:
                    'aws:IsSecure': true
                  StringLike:
                    'aws:SourceVpc': 'vpc-123456789'
  expectations:
    rules:
      check_rest_api_is_private_and_has_access: PASS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



