interface HttpRequestConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaTailor.CfnFunction.HttpRequestConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmediatailor#CfnFunction_HttpRequestConfigurationProperty |
Java | software.amazon.awscdk.services.mediatailor.CfnFunction.HttpRequestConfigurationProperty |
Python | aws_cdk.aws_mediatailor.CfnFunction.HttpRequestConfigurationProperty |
TypeScript | aws-cdk-lib » aws_mediatailor » CfnFunction » HttpRequestConfigurationProperty |
Configuration for HTTP request functions.
Example
// 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
| Name | Type | Description |
|---|---|---|
| method | string | |
| request | number | The timeout in milliseconds for the HTTP request. |
| runtime | string | |
| url | string | The URL endpoint for the HTTP request. |
| body? | string | The body of the HTTP request. |
| headers? | IResolvable | { [string]: string } | |
| output? | IResolvable | { [string]: string } |
methodType
Type:
string
requestTimeoutMilliseconds
Type:
number
The timeout in milliseconds for the HTTP request.
Maximum value is 2000.
runtime
Type:
string
url
Type:
string
The URL endpoint for the HTTP request.
body?
Type:
string
(optional)
The body of the HTTP request.
headers?
Type:
IResolvable | { [string]: string }
(optional)
output?
Type:
IResolvable | { [string]: string }
(optional)

.NET
Go
Java
Python
TypeScript