Interface ProxyResourceOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,ResourceOptions
- All Known Subinterfaces:
ProxyResourceProps
- All Known Implementing Classes:
ProxyResourceOptions.Jsii$Proxy
,ProxyResourceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-21T06:34:02.640Z")
@Stability(Stable)
public interface ProxyResourceOptions
extends software.amazon.jsii.JsiiSerializable, ResourceOptions
Example:
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());
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forProxyResourceOptions
static final class
An implementation forProxyResourceOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProxyResourceOptions.Builder
builder()
default Boolean
Adds an "ANY" method to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.apigateway.ResourceOptions
getDefaultCorsPreflightOptions, getDefaultIntegration, getDefaultMethodOptions
-
Method Details
-
getAnyMethod
Adds an "ANY" method to this resource.If set to
false
, you will have to explicitly add methods to this resource after it's created.Default: true
-
builder
- Returns:
- a
ProxyResourceOptions.Builder
ofProxyResourceOptions
-