interface MethodReference
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.APIGateway.MethodReference |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsapigateway#MethodReference |
![]() | software.amazon.awscdk.services.apigateway.MethodReference |
![]() | aws_cdk.aws_apigateway.MethodReference |
![]() | aws-cdk-lib » aws_apigateway » MethodReference |
A reference to a Method resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigateway as apigateway } from 'aws-cdk-lib';
const methodReference: apigateway.MethodReference = {
httpMethod: 'httpMethod',
resourceId: 'resourceId',
restApiId: 'restApiId',
};
Properties
Name | Type | Description |
---|---|---|
http | string | The HttpMethod of the Method resource. |
resource | string | The ResourceId of the Method resource. |
rest | string | The RestApiId of the Method resource. |
httpMethod
Type:
string
The HttpMethod of the Method resource.
resourceId
Type:
string
The ResourceId of the Method resource.
restApiId
Type:
string
The RestApiId of the Method resource.