@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.199Z") @Stability(value=Stable) public interface ProxyResourceOptions extends software.amazon.jsii.JsiiSerializable, ResourceOptions
Resource resource;
Function handler;
ProxyResource proxy = resource.addProxy(ProxyResourceOptions.builder()
.defaultIntegration(new LambdaIntegration(handler))
// "false" will require explicitly adding methods on the `proxy` resource
.anyMethod(true)
.build());
| Modifier and Type | Interface and Description |
|---|---|
static class |
ProxyResourceOptions.Builder
A builder for
ProxyResourceOptions |
static class |
ProxyResourceOptions.Jsii$Proxy
An implementation for
ProxyResourceOptions |
| Modifier and Type | Method and Description |
|---|---|
static ProxyResourceOptions.Builder |
builder() |
default Boolean |
getAnyMethod()
Adds an "ANY" method to this resource.
|
getDefaultCorsPreflightOptions, getDefaultIntegration, getDefaultMethodOptions@Stability(value=Stable) @Nullable default Boolean getAnyMethod()
If set to false, you will have to explicitly
add methods to this resource after it's created.
Default: true
@Stability(value=Stable) static ProxyResourceOptions.Builder builder()
builder in interface ResourceOptionsProxyResourceOptions.Builder of ProxyResourceOptionsCopyright © 2022. All rights reserved.