Skip to content
v2.275.0

HttpRequestProperty Struct ​

The configuration for the request to the Ad Decision Server URL.

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 httpRequestProperty: mediatailor.CfnPlaybackConfiguration.HttpRequestProperty = {
  body: 'body',
  compressRequest: 'compressRequest',
  headers: {
    headersKey: 'headers',
  },
  httpMethod: 'httpMethod',
};

Properties ​

bodyoptionalstringbodyoptionalstrbodyoptionalStringBodyoptionalstringBodyoptional*string#
The body of the request to the Ad Decision Server URL.

The maximum length is 100,000 characters.

compressRequestoptionalstringcompress_requestoptionalstrcompressRequestoptionalStringCompressRequestoptionalstringCompressRequestoptional*string#
The compression type of the request sent to the Ad Decision Server URL.

Only the POST HTTP Method permits compression other than NONE.

headersoptionalIResolvable | { [key: string]: string }headersoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]headersoptionalIResolvableHeadersoptionalIResolvableHeadersoptionalinterface{}#
The headers in the request sent to the Ad Decision Server URL.

The max length is 10,000 characters.

httpMethodoptionalstringhttp_methodoptionalstrhttpMethodoptionalStringHttpMethodoptionalstringHttpMethodoptional*string#
Supported HTTP Methods for the request to the Ad Decision Server URL.