Interface HttpRequest
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HttpRequest.Jsii$Proxy
@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)",
date="2024-05-08T21:35:15.472Z")
@Stability(Experimental)
public interface HttpRequest
extends software.amazon.jsii.JsiiSerializable
(experimental) Request to the HttpCall resource.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.integtests.alpha.*; HttpRequest httpRequest = HttpRequest.builder() .parameters(HttpRequestParameters.builder() .url("url") // the properties below are optional .fetchOptions(FetchOptions.builder() .body("body") .headers(Map.of( "headersKey", "headers")) .method("method") .port(123) .build()) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forHttpRequest
static final class
An implementation forHttpRequest
-
Method Summary
Modifier and TypeMethodDescriptionstatic HttpRequest.Builder
builder()
(experimental) Parameters from the custom resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getParameters
(experimental) Parameters from the custom resource. -
builder
- Returns:
- a
HttpRequest.Builder
ofHttpRequest
-