@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:58.266Z") public interface ProxyResourceOptions extends 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 java.lang.Boolean |
getAnyMethod()
Adds an "ANY" method to this resource.
|
getDefaultCorsPreflightOptions, getDefaultIntegration, getDefaultMethodOptions
default java.lang.Boolean getAnyMethod()
If set to false
, you will have to explicitly
add methods to this resource after it's created.
Default: true
static ProxyResourceOptions.Builder builder()
builder
in interface ResourceOptions
ProxyResourceOptions.Builder
of ProxyResourceOptions