GrantInvokeOptions Struct
Options for granting invoke access.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigatewayv2 as apigatewayv2 } from 'aws-cdk-lib';
const grantInvokeOptions: apigatewayv2.GrantInvokeOptions = {
httpMethods: [apigatewayv2.HttpMethod.ANY],
};
Properties
httpMethodsHttpMethod[]http_methodstyping.List[HttpMethod]httpMethodsList<HttpMethod>HttpMethodsHttpMethod[]HttpMethods*[]HttpMethod= the HttpMethod of the route#The HTTP methods to allow.