Class GrantInvokeOptions
(experimental) Options for granting invoke access.
Inheritance
System.Object
GrantInvokeOptions
Implements
Namespace: Amazon.CDK.AWS.APIGatewayv2
Assembly: Amazon.CDK.AWS.APIGatewayv2.dll
Syntax (csharp)
public class GrantInvokeOptions : Object, IGrantInvokeOptions
Syntax (vb)
Public Class GrantInvokeOptions
Inherits Object
Implements IGrantInvokeOptions
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APIGatewayv2;
var grantInvokeOptions = new GrantInvokeOptions {
HttpMethods = new [] { HttpMethod.ANY }
};
Synopsis
Constructors
GrantInvokeOptions() |
Properties
HttpMethods | (experimental) The HTTP methods to allow. |
Constructors
GrantInvokeOptions()
public GrantInvokeOptions()
Properties
HttpMethods
(experimental) The HTTP methods to allow.
public HttpMethod[] HttpMethods { get; set; }
Property Value
Remarks
Default: - the HttpMethod of the route
Stability: Experimental