interface HttpRequestParameters
Language | Type name |
---|---|
.NET | Amazon.CDK.IntegTests.Alpha.HttpRequestParameters |
Go | github.com/aws/aws-cdk-go/awscdkintegtestsalpha/v2#HttpRequestParameters |
Java | software.amazon.awscdk.integtests.alpha.HttpRequestParameters |
Python | aws_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
Name | Type | Description |
---|---|---|
url | string | The url to fetch. |
fetch | Fetch | Options for fetch. |
url
Type:
string
The url to fetch.
fetchOptions?
Type:
Fetch
(optional)
Options for fetch.