Interface IProxyResourceOptions
- Namespace
- Amazon.CDK.AWS.APIGateway
- Assembly
- Amazon.CDK.AWS.APIGateway.dll
public interface IProxyResourceOptions : IResourceOptions
- Inherited Members
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
});
Remarks
ExampleMetadata: infused
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