HttpRequestParameters

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

Bases: object

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

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

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.integ_tests_alpha as integ_tests_alpha

http_request_parameters = integ_tests_alpha.HttpRequestParameters(
    url="url",

    # the properties below are optional
    fetch_options=integ_tests_alpha.FetchOptions(
        body="body",
        headers={
            "headers_key": "headers"
        },
        method="method",
        port=123
    )
)

Attributes

fetch_options

(experimental) Options for fetch.

Stability:

experimental

url

(experimental) The url to fetch.

Stability:

experimental