Interface CfnFunction.VastRequestConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnFunction.VastRequestConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnFunction

@Stability(Stable) public static interface CfnFunction.VastRequestConfigurationProperty extends software.amazon.jsii.JsiiSerializable
The configuration for a VAST_REQUEST function.

Specifies the HTTP method, URL, headers, body, timeout, and output expressions for a request to a VAST endpoint. MediaTailor parses the response as VAST and resolves wrapper redirects, then makes the parsed ads available to the function's output expressions. For more information, see Function types and composition (https://docs.aws.amazon.com/mediatailor/latest/ug/monetization-functions-types.html) in the MediaTailor User Guide.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.mediatailor.*;
 VastRequestConfigurationProperty vastRequestConfigurationProperty = VastRequestConfigurationProperty.builder()
         .methodType("methodType")
         .requestTimeoutMilliseconds(123)
         .runtime("runtime")
         .url("url")
         // the properties below are optional
         .body("body")
         .headers(Map.of(
                 "headersKey", "headers"))
         .output(Map.of(
                 "outputKey", "output"))
         .build();
 

See Also: