MethodReference
- class aws_cdk.aws_apigateway.MethodReference(*, http_method, resource_id, rest_api_id)
- Bases: - object- A reference to a Method resource. - Parameters:
- http_method ( - str) – The HttpMethod of the Method resource.
- resource_id ( - str) – The ResourceId of the Method resource.
- rest_api_id ( - str) – The RestApiId of the Method resource.
 
- ExampleMetadata:
- fixture=_generated 
 - Example: - # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_apigateway as apigateway method_reference = apigateway.MethodReference( http_method="httpMethod", resource_id="resourceId", rest_api_id="restApiId" ) - Attributes - http_method
- The HttpMethod of the Method resource. 
 - resource_id
- The ResourceId of the Method resource. 
 - rest_api_id
- The RestApiId of the Method resource.