GrantInvokeOptions
- class aws_cdk.aws_apigatewayv2.GrantInvokeOptions(*, http_methods=None)
Bases:
objectOptions for granting invoke access.
- Parameters:
http_methods (
Optional[Sequence[HttpMethod]]) – The HTTP methods to allow. Default: - the HttpMethod of the route- 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_apigatewayv2 as apigatewayv2 grant_invoke_options = apigatewayv2.GrantInvokeOptions( http_methods=[apigatewayv2.HttpMethod.ANY] )
Attributes
- http_methods
The HTTP methods to allow.
- Default:
the HttpMethod of the route