Show / Hide Table of Contents

Interface IProxyResourceOptions

Inherited Members
IResourceOptions.DefaultCorsPreflightOptions
IResourceOptions.DefaultIntegration
IResourceOptions.DefaultMethodOptions
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IProxyResourceOptions : IResourceOptions
Syntax (vb)
Public Interface IProxyResourceOptions Inherits IResourceOptions
Remarks

ExampleMetadata: infused

Examples
Resource resource;
            Function handler;

            var proxy = resource.AddProxy(new ProxyResourceOptions {
                DefaultIntegration = new LambdaIntegration(handler),

                // "false" will require explicitly adding methods on the `proxy` resource
                AnyMethod = true
            });

Synopsis

Properties

AnyMethod

Adds an "ANY" method to this resource.

Properties

AnyMethod

Adds an "ANY" method to this resource.

bool? AnyMethod { get; }
Property Value

bool?

Remarks

If set to false, you will have to explicitly add methods to this resource after it's created.

Default: true

Back to top Generated by DocFX