Class CfnRule.HttpParametersProperty
These are custom parameter to be used when the target is an API Gateway APIs or EventBridge ApiDestinations.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class HttpParametersProperty : Object, CfnRule.IHttpParametersProperty
Syntax (vb)
Public Class HttpParametersProperty
Inherits Object
Implements CfnRule.IHttpParametersProperty
Remarks
In the latter case, these are merged with any InvocationParameters specified on the Connection, with any values from the Connection taking precedence.
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.Events;
var httpParametersProperty = new HttpParametersProperty {
HeaderParameters = new Dictionary<string, string> {
{ "headerParametersKey", "headerParameters" }
},
PathParameterValues = new [] { "pathParameterValues" },
QueryStringParameters = new Dictionary<string, string> {
{ "queryStringParametersKey", "queryStringParameters" }
}
};
Synopsis
Constructors
HttpParametersProperty() |
Properties
HeaderParameters | The headers that need to be sent as part of request invoking the API Gateway API or EventBridge ApiDestination. |
PathParameterValues | The path parameter values to be used to populate API Gateway API or EventBridge ApiDestination path wildcards ("*"). |
QueryStringParameters | The query string keys/values that need to be sent as part of request invoking the API Gateway API or EventBridge ApiDestination. |
Constructors
HttpParametersProperty()
public HttpParametersProperty()
Properties
HeaderParameters
The headers that need to be sent as part of request invoking the API Gateway API or EventBridge ApiDestination.
public object HeaderParameters { get; set; }
Property Value
System.Object
Remarks
PathParameterValues
The path parameter values to be used to populate API Gateway API or EventBridge ApiDestination path wildcards ("*").
public string[] PathParameterValues { get; set; }
Property Value
System.String[]
Remarks
QueryStringParameters
The query string keys/values that need to be sent as part of request invoking the API Gateway API or EventBridge ApiDestination.
public object QueryStringParameters { get; set; }
Property Value
System.Object