Interface CfnFunction.AwsServiceRequestConfigurationProperty

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

@Stability(Stable) public static interface CfnFunction.AwsServiceRequestConfigurationProperty extends software.amazon.jsii.JsiiSerializable
The configuration for an AWS_SERVICE_REQUEST function.

Contains the target service, target Region, and request parameters that the function uses to call an AWS service API. For more information, see AWS_SERVICE_REQUEST (https://docs.aws.amazon.com/mediatailor/latest/ug/monetization-functions-types-aws-service-request.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.*;
 AwsServiceRequestConfigurationProperty awsServiceRequestConfigurationProperty = AwsServiceRequestConfigurationProperty.builder()
         .methodType("methodType")
         .requestTimeoutMilliseconds(123)
         .runtime("runtime")
         .targetRegion("targetRegion")
         .targetService("targetService")
         .url("url")
         // the properties below are optional
         .body("body")
         .headers(Map.of(
                 "headersKey", "headers"))
         .output(Map.of(
                 "outputKey", "output"))
         .build();
 

See Also: