HttpCallProps

class aws_cdk.integ_tests_alpha.HttpCallProps(*, url, fetch_options=None)

Bases: HttpRequestParameters

(experimental) Options for creating an HttpApiCall provider.

Parameters:
  • url (str) – (experimental) The url to fetch.

  • fetch_options (Union[FetchOptions, Dict[str, Any], None]) – (experimental) Options for fetch.

Stability:

experimental

ExampleMetadata:

infused

Example:

# stack: Stack


HttpApiCall(stack, "MyAsssertion",
    url="https://example-api.com/abc"
)

Attributes

fetch_options

(experimental) Options for fetch.

Stability:

experimental

url

(experimental) The url to fetch.

Stability:

experimental