Skip to content
v2.273.0

Experimental

@aws-cdk/integ-tests-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

HttpRequestParameters Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as integ_tests_alpha from '@aws-cdk/integ-tests-alpha';
const httpRequestParameters: integ_tests_alpha.HttpRequestParameters = {
  url: 'url',

  // the properties below are optional
  fetchOptions: {
    body: 'body',
    headers: {
      headersKey: 'headers',
    },
    method: 'method',
    port: 123,
  },
};

Properties ​

fetchOptionsFetchOptionsfetch_optionsFetchOptionsfetchOptionsFetchOptionsFetchOptionsFetchOptionsFetchOptionsFetchOptions#
Options for fetch.
urlstringurlstrurlStringUrlstringUrl*stringrequired#
The url to fetch.