Class CfnPlaybackConfiguration.HttpRequestProperty
The configuration for the request to the Ad Decision Server URL.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.MediaTailor
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPlaybackConfiguration.HttpRequestProperty : CfnPlaybackConfiguration.IHttpRequestProperty
Syntax (vb)
Public Class CfnPlaybackConfiguration.HttpRequestProperty Implements CfnPlaybackConfiguration.IHttpRequestProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaTailor;
var httpRequestProperty = new HttpRequestProperty {
Body = "body",
CompressRequest = "compressRequest",
Headers = new Dictionary<string, string> {
{ "headersKey", "headers" }
},
HttpMethod = "httpMethod"
};
Synopsis
Constructors
| HttpRequestProperty() | The configuration for the request to the Ad Decision Server URL. |
Properties
| Body | The body of the request to the Ad Decision Server URL. |
| CompressRequest | The compression type of the request sent to the Ad Decision Server URL. |
| Headers | The headers in the request sent to the Ad Decision Server URL. |
| HttpMethod | Supported HTTP Methods for the request to the Ad Decision Server URL. |
Constructors
HttpRequestProperty()
The configuration for the request to the Ad Decision Server URL.
public HttpRequestProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaTailor;
var httpRequestProperty = new HttpRequestProperty {
Body = "body",
CompressRequest = "compressRequest",
Headers = new Dictionary<string, string> {
{ "headersKey", "headers" }
},
HttpMethod = "httpMethod"
};
Properties
Body
The body of the request to the Ad Decision Server URL.
public string? Body { get; set; }
Property Value
Remarks
The maximum length is 100,000 characters.
CompressRequest
The compression type of the request sent to the Ad Decision Server URL.
public string? CompressRequest { get; set; }
Property Value
Remarks
Only the POST HTTP Method permits compression other than NONE.
Headers
The headers in the request sent to the Ad Decision Server URL.
public object? Headers { get; set; }
Property Value
Remarks
The max length is 10,000 characters.
Type union: either Dictionary<string, string> or IResolvable
HttpMethod
Supported HTTP Methods for the request to the Ad Decision Server URL.
public string? HttpMethod { get; set; }