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}"
      }

      Terraform language logo
      aws_api_gateway_resource

      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

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.