Interface CfnRule.HttpParametersProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRule.HttpParametersProperty.Jsii$Proxy
- Enclosing class:
CfnRule
@Stability(Stable)
public static interface CfnRule.HttpParametersProperty
extends software.amazon.jsii.JsiiSerializable
These are custom parameter to be used when the target is an API Gateway APIs or EventBridge ApiDestinations.
In the latter case, these are merged with any InvocationParameters specified on the Connection, with any values from the Connection taking precedence.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.events.*; HttpParametersProperty httpParametersProperty = HttpParametersProperty.builder() .headerParameters(Map.of( "headerParametersKey", "headerParameters")) .pathParameterValues(List.of("pathParameterValues")) .queryStringParameters(Map.of( "queryStringParametersKey", "queryStringParameters")) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnRule.HttpParametersProperty
static final class
An implementation forCfnRule.HttpParametersProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
The headers that need to be sent as part of request invoking the API Gateway API or EventBridge ApiDestination.The path parameter values to be used to populate API Gateway API or EventBridge ApiDestination path wildcards ("*").default Object
The query string keys/values that need to be sent as part of request invoking the API Gateway API or EventBridge ApiDestination.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHeaderParameters
The headers that need to be sent as part of request invoking the API Gateway API or EventBridge ApiDestination.- See Also:
-
getPathParameterValues
The path parameter values to be used to populate API Gateway API or EventBridge ApiDestination path wildcards ("*").- See Also:
-
getQueryStringParameters
The query string keys/values that need to be sent as part of request invoking the API Gateway API or EventBridge ApiDestination.- See Also:
-
builder
-