@aws-cdk_aws-apigatewayv2-alpha.GrantInvokeOptions
interface GrantInvokeOptions
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Apigatewayv2.Alpha.GrantInvokeOptions |
![]() | github.com/aws/aws-cdk-go/awscdkapigatewayv2alpha/v2#GrantInvokeOptions |
![]() | software.amazon.awscdk.services.apigatewayv2.alpha.GrantInvokeOptions |
![]() | aws_cdk.aws_apigatewayv2_alpha.GrantInvokeOptions |
![]() | @aws-cdk/aws-apigatewayv2-alpha » 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 * as apigatewayv2_alpha from '@aws-cdk/aws-apigatewayv2-alpha';
const grantInvokeOptions: apigatewayv2_alpha.GrantInvokeOptions = {
httpMethods: [apigatewayv2_alpha.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.