interface HttpRequestConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.MediaTailor.CfnFunctionPropsMixin.HttpRequestConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsmediatailor#CfnFunctionPropsMixin_HttpRequestConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.mediatailor.CfnFunctionPropsMixin.HttpRequestConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_mediatailor.CfnFunctionPropsMixin.HttpRequestConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_mediatailor » CfnFunctionPropsMixin » 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/cfn-property-mixins';
const httpRequestConfigurationProperty: mediatailor.CfnFunctionPropsMixin.HttpRequestConfigurationProperty = {
body: 'body',
headers: {
headersKey: 'headers',
},
methodType: 'methodType',
output: {
outputKey: 'output',
},
requestTimeoutMilliseconds: 123,
runtime: 'runtime',
url: 'url',
};
Properties
| Name | Type | Description |
|---|---|---|
| body? | string | The body of the HTTP request. |
| headers? | IResolvable | { [string]: string } | |
| method | string | |
| output? | IResolvable | { [string]: string } | |
| request | number | The timeout in milliseconds for the HTTP request. |
| runtime? | string | |
| url? | string | The URL endpoint for the HTTP request. |
body?
Type:
string
(optional)
The body of the HTTP request.
headers?
Type:
IResolvable | { [string]: string }
(optional)
methodType?
Type:
string
(optional)
output?
Type:
IResolvable | { [string]: string }
(optional)
requestTimeoutMilliseconds?
Type:
number
(optional)
The timeout in milliseconds for the HTTP request.
Maximum value is 2000.
runtime?
Type:
string
(optional)
url?
Type:
string
(optional)
The URL endpoint for the HTTP request.

.NET
Go
Java
Python
TypeScript