Interface GrantInvokeOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
GrantInvokeOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:31.700Z")
@Stability(Stable)
public interface GrantInvokeOptions
extends software.amazon.jsii.JsiiSerializable
Options for granting invoke access.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apigatewayv2.*;
GrantInvokeOptions grantInvokeOptions = GrantInvokeOptions.builder()
.httpMethods(List.of(HttpMethod.ANY))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forGrantInvokeOptionsstatic final classAn implementation forGrantInvokeOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic GrantInvokeOptions.Builderbuilder()default List<HttpMethod> The HTTP methods to allow.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHttpMethods
The HTTP methods to allow.Default: - the HttpMethod of the route
-
builder
- Returns:
- a
GrantInvokeOptions.BuilderofGrantInvokeOptions
-