aws_api_gateway_resource

    0

    0

    lucycodes42

    Terraform snippets

    The aws_api_gateway_resource resource code defines a resource that contains the information needed to connect to the Amazon API Gateway. The rest_api_id value identifies the API endpoint that the application uses to access the Amazon API Gateway. The parent_id value defines the API Gateway REST API resource. The path_part value defines the portion of the API endpoint that the application uses.

    Shortcut: tf_aws_api_gateway_resource

    resource "aws_api_gateway_resource" "${MyDemoResource}" {
       rest_api_id = "\${aws_api_gateway_rest_api.MyDemoAPI.id}"
       parent_id = "\${aws_api_gateway_rest_api.MyDemoAPI.root_resource_id}"
       path_part = "\${mydemoresource}"
    }
    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.