HttpCallProps

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

Bases: HttpRequestParameters, ProviderOptions

(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.

  • provider_log_level (Optional[ApplicationLogLevel]) – (experimental) The log level of the provider lambda function. Default: ApplicationLogLevel.FATAL

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

provider_log_level

(experimental) The log level of the provider lambda function.

Default:

ApplicationLogLevel.FATAL

Stability:

experimental

url

(experimental) The url to fetch.

Stability:

experimental