Interface CfnRule.IHttpParametersProperty
These are custom parameter to be used when the target is an API Gateway APIs or EventBridge ApiDestinations.
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IHttpParametersProperty
Syntax (vb)
Public Interface 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
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. |
Properties
HeaderParameters
The headers that need to be sent as part of request invoking the API Gateway API or EventBridge ApiDestination.
virtual object HeaderParameters { get; }
Property Value
System.Object
Remarks
PathParameterValues
The path parameter values to be used to populate API Gateway API or EventBridge ApiDestination path wildcards ("*").
virtual string[] PathParameterValues { get; }
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.
virtual object QueryStringParameters { get; }
Property Value
System.Object