interface GrantInvokeOptions
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Apigatewayv2.GrantInvokeOptions |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsapigatewayv2#GrantInvokeOptions |
![]() | software.amazon.awscdk.services.apigatewayv2.GrantInvokeOptions |
![]() | aws_cdk.aws_apigatewayv2.GrantInvokeOptions |
![]() | aws-cdk-lib » aws_apigatewayv2 » GrantInvokeOptions |
Options for granting invoke access.
Example
// 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
Name | Type | Description |
---|---|---|
http | Http [] | The HTTP methods to allow. |
httpMethods?
Type:
Http
[]
(optional, default: the HttpMethod of the route)
The HTTP methods to allow.