aws_api_gateway_method_response

    0

    0

    lucycodes42

    Terraform snippets

    The code defines a resource called MyDemoResource and sets the id to be theRest_API_Gateway_Rest_API.id value. It also specifies the http_method, which is set to be MyDemoMethod.http_method. Finally, the status_code is set to be 200.

    Shortcut: tf_aws_api_gateway_method_response

    resource "aws_api_gateway_method_response" "${200}" {
       rest_api_id = "\${aws_api_gateway_rest_api.MyDemoAPI.id}"
       resource_id = "\${aws_api_gateway_resource.MyDemoResource.id}"
       http_method = "\${aws_api_gateway_method.MyDemoMethod.http_method}"
       status_code = "\${200}"
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.