Interface GrantInvokeOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
GrantInvokeOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:43.246Z")
@Stability(Experimental)
public interface GrantInvokeOptions
extends software.amazon.jsii.JsiiSerializable
(experimental) 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>(experimental) The HTTP methods to allow.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHttpMethods
(experimental) The HTTP methods to allow.Default: - the HttpMethod of the route
-
builder
- Returns:
- a
GrantInvokeOptions.BuilderofGrantInvokeOptions
-