HttpRequestConfigurationProperty Struct
Configuration for HTTP request functions.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediatailor as mediatailor } from 'aws-cdk-lib';
const httpRequestConfigurationProperty: mediatailor.CfnFunction.HttpRequestConfigurationProperty = {
methodType: 'methodType',
requestTimeoutMilliseconds: 123,
runtime: 'runtime',
url: 'url',
// the properties below are optional
body: 'body',
headers: {
headersKey: 'headers',
},
output: {
outputKey: 'output',
},
};
Properties
The body of the HTTP request.
headersIResolvable | { [key: string]: string }headerstyping.Union[IResolvable, typing.Mapping[str, str]]headersIResolvableHeadersIResolvableHeadersinterface{}#outputIResolvable | { [key: string]: string }outputtyping.Union[IResolvable, typing.Mapping[str, str]]outputIResolvableOutputIResolvableOutputinterface{}#requestTimeoutMillisecondsnumberrequest_timeout_millisecondsint | floatrequestTimeoutMillisecondsNumberRequestTimeoutMillisecondsdoubleRequestTimeoutMilliseconds*float64required#The timeout in milliseconds for the HTTP request.
Maximum value is 2000.
The expression language used to evaluate expressions in the function configuration.
Set this to JSONATA.
The URL endpoint for the HTTP request.