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.116.0 (build 0eddcff)",
date="2025-10-29T11:15:31.536Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forProxyResourceOptionsstatic final classAn implementation forProxyResourceOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic ProxyResourceOptions.Builderbuilder()default BooleanAdds an "ANY" method to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods 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.BuilderofProxyResourceOptions
-