github.com/jpreese/tflint@v0.19.2-0.20200908152133-b01686250fb6/rules/awsrules/models/mappings/apigateway.hcl (about)

     1  import = "aws-sdk-go/models/apis/apigateway/2015-07-09/api-2.json"
     2  
     3  mapping "aws_api_gateway_gateway_response" {
     4    status_code = StatusCode
     5  }
     6  
     7  mapping "aws_api_gateway_integration_response" {
     8    status_code = StatusCode
     9    content_handling = ContentHandlingStrategy
    10  }
    11  
    12  mapping "aws_api_gateway_method_response" {
    13    status_code = StatusCode
    14  }
    15  
    16  mapping "aws_api_gateway_authorizer" {
    17    type = AuthorizerType
    18  }
    19  
    20  mapping "aws_api_gateway_gateway_response" {
    21    response_type = GatewayResponseType
    22  }
    23  
    24  mapping "aws_api_gateway_integration" {
    25    type = IntegrationType
    26  }
    27  
    28  mapping "aws_api_gateway_integration" {
    29    connection_type  = ConnectionType
    30    content_handling = ContentHandlingStrategy
    31  }
    32  
    33  mapping "aws_api_gateway_rest_api" {
    34    api_key_source = ApiKeySourceType
    35  }
    36  
    37  mapping "aws_api_gateway_stage" {
    38    cache_cluster_size = CacheClusterSize
    39  }
    40  
    41  test "aws_api_gateway_gateway_response" "status_code" {
    42    ok = "200"
    43    ng = "004"
    44  }
    45  
    46  test "aws_api_gateway_authorizer" "type" {
    47    ok = "TOKEN"
    48    ng = "RESPONSE"
    49  }
    50  
    51  test "aws_api_gateway_gateway_response" "response_type" {
    52    ok = "UNAUTHORIZED"
    53    ng = "4XX"
    54  }
    55  
    56  test "aws_api_gateway_integration" "type" {
    57    ok = "HTTP"
    58    ng = "AWS_HTTP"
    59  }
    60  
    61  test "aws_api_gateway_integration" "connection_type" {
    62    ok = "INTERNET"
    63    ng = "INTRANET"
    64  }
    65  
    66  test "aws_api_gateway_integration" "content_handling" {
    67    ok = "CONVERT_TO_BINARY"
    68    ng = "CONVERT_TO_FILE"
    69  }
    70  
    71  test "aws_api_gateway_rest_api" "api_key_source" {
    72    ok = "AUTHORIZER"
    73    ng = "BODY"
    74  }
    75  
    76  test "aws_api_gateway_stage" "cache_cluster_size" {
    77    ok = "6.1"
    78    ng = "6.2"
    79  }