Show / Hide Table of Contents

Class GrantInvokeOptions

Options for granting invoke access.

Inheritance
object
GrantInvokeOptions
Implements
IGrantInvokeOptions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

HttpMethod[]

Remarks

Default: - the HttpMethod of the route

Implements

IGrantInvokeOptions
Back to top Generated by DocFX