/
awsevents_CfnRule_HttpParametersProperty.go
33 lines (30 loc) · 1.6 KB
/
awsevents_CfnRule_HttpParametersProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package awsevents
// These are custom parameter to be used when the target is an API Gateway REST 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 "github.com/aws/aws-cdk-go/awscdk"
//
// httpParametersProperty := &httpParametersProperty{
// headerParameters: map[string]*string{
// "headerParametersKey": jsii.String("headerParameters"),
// },
// pathParameterValues: []*string{
// jsii.String("pathParameterValues"),
// },
// queryStringParameters: map[string]*string{
// "queryStringParametersKey": jsii.String("queryStringParameters"),
// },
// }
//
type CfnRule_HttpParametersProperty struct {
// The headers that need to be sent as part of request invoking the API Gateway REST API or EventBridge ApiDestination.
HeaderParameters interface{} `field:"optional" json:"headerParameters" yaml:"headerParameters"`
// The path parameter values to be used to populate API Gateway REST API or EventBridge ApiDestination path wildcards ("*").
PathParameterValues *[]*string `field:"optional" json:"pathParameterValues" yaml:"pathParameterValues"`
// The query string keys/values that need to be sent as part of request invoking the API Gateway REST API or EventBridge ApiDestination.
QueryStringParameters interface{} `field:"optional" json:"queryStringParameters" yaml:"queryStringParameters"`
}