/
CfnRule_HttpParametersProperty.go
41 lines (38 loc) · 2.2 KB
/
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
33
34
35
36
37
38
39
40
package awsevents
// 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 "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"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-httpparameters.html
//
type CfnRule_HttpParametersProperty struct {
// The headers that need to be sent as part of request invoking the API Gateway API or EventBridge ApiDestination.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-httpparameters.html#cfn-events-rule-httpparameters-headerparameters
//
HeaderParameters interface{} `field:"optional" json:"headerParameters" yaml:"headerParameters"`
// The path parameter values to be used to populate API Gateway API or EventBridge ApiDestination path wildcards ("*").
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-httpparameters.html#cfn-events-rule-httpparameters-pathparametervalues
//
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 API or EventBridge ApiDestination.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-httpparameters.html#cfn-events-rule-httpparameters-querystringparameters
//
QueryStringParameters interface{} `field:"optional" json:"queryStringParameters" yaml:"queryStringParameters"`
}