Class HttpApiHelper
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
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.*; IHttpApiRef httpApiRef; HttpApiHelper httpApiHelper = HttpApiHelper.fromHttpApi(httpApiRef);
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpApiHelper(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedHttpApiHelper(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionGet the "execute-api" ARN.arnForExecuteApi(String method) Get the "execute-api" ARN.arnForExecuteApi(String method, String path) Get the "execute-api" ARN.arnForExecuteApi(String method, String path, String stage) Get the "execute-api" ARN.static HttpApiHelperfromHttpApi(IHttpApiRef httpApi) Return anHttpApiHelperfor the given HTTP API.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
HttpApiHelper
protected HttpApiHelper(software.amazon.jsii.JsiiObjectRef objRef) -
HttpApiHelper
protected HttpApiHelper(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
fromHttpApi
Return anHttpApiHelperfor the given HTTP API.- Parameters:
httpApi- This parameter is required.
-
arnForExecuteApi
@Stability(Stable) @NotNull public String arnForExecuteApi(@Nullable String method, @Nullable String path, @Nullable String stage) Get the "execute-api" ARN.When 'ANY' is passed to the method, an ARN with the method set to '*' is obtained.
Default: - The default behavior applies when no specific method, path, or stage is provided. In this case, the ARN will cover all methods, all resources, and all stages of this API. Specifically, if 'method' is not specified, it defaults to '*', representing all methods. If 'path' is not specified, it defaults to '/*', representing all paths. If 'stage' is not specified, it also defaults to '*', representing all stages.
- Parameters:
method-path-stage-
-
arnForExecuteApi
@Stability(Stable) @NotNull public String arnForExecuteApi(@Nullable String method, @Nullable String path) Get the "execute-api" ARN.When 'ANY' is passed to the method, an ARN with the method set to '*' is obtained.
Default: - The default behavior applies when no specific method, path, or stage is provided. In this case, the ARN will cover all methods, all resources, and all stages of this API. Specifically, if 'method' is not specified, it defaults to '*', representing all methods. If 'path' is not specified, it defaults to '/*', representing all paths. If 'stage' is not specified, it also defaults to '*', representing all stages.
- Parameters:
method-path-
-
arnForExecuteApi
Get the "execute-api" ARN.When 'ANY' is passed to the method, an ARN with the method set to '*' is obtained.
Default: - The default behavior applies when no specific method, path, or stage is provided. In this case, the ARN will cover all methods, all resources, and all stages of this API. Specifically, if 'method' is not specified, it defaults to '*', representing all methods. If 'path' is not specified, it defaults to '/*', representing all paths. If 'stage' is not specified, it also defaults to '*', representing all stages.
- Parameters:
method-
-
arnForExecuteApi
Get the "execute-api" ARN.When 'ANY' is passed to the method, an ARN with the method set to '*' is obtained.
Default: - The default behavior applies when no specific method, path, or stage is provided. In this case, the ARN will cover all methods, all resources, and all stages of this API. Specifically, if 'method' is not specified, it defaults to '*', representing all methods. If 'path' is not specified, it defaults to '/*', representing all paths. If 'stage' is not specified, it also defaults to '*', representing all stages.
-