Class GrantInvokeOptions
Options for granting invoke access.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Apigatewayv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class GrantInvokeOptions : IGrantInvokeOptions
Syntax (vb)
Public Class GrantInvokeOptions Implements IGrantInvokeOptions
Remarks
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() | Options for granting invoke access. |
Properties
| HttpMethods | The HTTP methods to allow. |
Constructors
GrantInvokeOptions()
Options for granting invoke access.
public GrantInvokeOptions()
Remarks
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 }
};
Properties
HttpMethods
The HTTP methods to allow.
public HttpMethod[]? HttpMethods { get; set; }
Property Value
Remarks
Default: - the HttpMethod of the route