@aws-cdk_integ-tests-alpha.HttpCallProps

interface HttpCallProps ๐Ÿ”น

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

Options for creating an HttpApiCall provider.

Example

declare const stack: Stack;

new HttpApiCall(stack, 'MyAsssertion', {
  url: 'https://example-api.com/abc',
});

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.