HttpRequest

class aws_cdk.integ_tests_alpha.HttpRequest(*, parameters)

Bases: object

(experimental) Request to the HttpCall resource.

Parameters:

parameters (Union[HttpRequestParameters, Dict[str, Any]]) – (experimental) Parameters from the custom resource.

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 = integ_tests_alpha.HttpRequest(
    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

parameters

(experimental) Parameters from the custom resource.

Stability:

experimental