@aws-cdk_integ-tests-alpha.HttpRequestParameters

interface HttpRequestParameters ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.IntegTests.Alpha.HttpRequestParameters
Gogithub.com/aws/aws-cdk-go/awscdkintegtestsalpha/v2#HttpRequestParameters
Javasoftware.amazon.awscdk.integtests.alpha.HttpRequestParameters
Pythonaws_cdk.integ_tests_alpha.HttpRequestParameters
TypeScript (source)@aws-cdk/integ-tests-alpha ยป HttpRequestParameters

Example

// 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

NameTypeDescription
url๐Ÿ”นstringThe url to fetch.
fetchOptions?๐Ÿ”นFetchOptionsOptions for fetch.

url๐Ÿ”น

Type: string

The url to fetch.


fetchOptions?๐Ÿ”น

Type: FetchOptions (optional)

Options for fetch.