-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnFunction_HttpApiEventProperty.go
55 lines (52 loc) · 2.83 KB
/
CfnFunction_HttpApiEventProperty.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package awssam
// 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"
//
// httpApiEventProperty := &HttpApiEventProperty{
// ApiId: jsii.String("apiId"),
// Auth: &HttpApiFunctionAuthProperty{
// AuthorizationScopes: []*string{
// jsii.String("authorizationScopes"),
// },
// Authorizer: jsii.String("authorizer"),
// },
// Method: jsii.String("method"),
// Path: jsii.String("path"),
// PayloadFormatVersion: jsii.String("payloadFormatVersion"),
// RouteSettings: &RouteSettingsProperty{
// DataTraceEnabled: jsii.Boolean(false),
// DetailedMetricsEnabled: jsii.Boolean(false),
// LoggingLevel: jsii.String("loggingLevel"),
// ThrottlingBurstLimit: jsii.Number(123),
// ThrottlingRateLimit: jsii.Number(123),
// },
// TimeoutInMillis: jsii.Number(123),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-httpapievent.html
//
type CfnFunction_HttpApiEventProperty struct {
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-httpapievent.html#cfn-serverless-function-httpapievent-apiid
//
ApiId *string `field:"optional" json:"apiId" yaml:"apiId"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-httpapievent.html#cfn-serverless-function-httpapievent-auth
//
Auth interface{} `field:"optional" json:"auth" yaml:"auth"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-httpapievent.html#cfn-serverless-function-httpapievent-method
//
Method *string `field:"optional" json:"method" yaml:"method"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-httpapievent.html#cfn-serverless-function-httpapievent-path
//
Path *string `field:"optional" json:"path" yaml:"path"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-httpapievent.html#cfn-serverless-function-httpapievent-payloadformatversion
//
PayloadFormatVersion *string `field:"optional" json:"payloadFormatVersion" yaml:"payloadFormatVersion"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-httpapievent.html#cfn-serverless-function-httpapievent-routesettings
//
RouteSettings interface{} `field:"optional" json:"routeSettings" yaml:"routeSettings"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-httpapievent.html#cfn-serverless-function-httpapievent-timeoutinmillis
//
TimeoutInMillis *float64 `field:"optional" json:"timeoutInMillis" yaml:"timeoutInMillis"`
}