-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsapigatewayv2_CfnStage_RouteSettingsProperty.go
35 lines (32 loc) · 1.62 KB
/
awsapigatewayv2_CfnStage_RouteSettingsProperty.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
package awsapigatewayv2
// Represents a collection of route settings.
//
// 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"
//
// routeSettingsProperty := &routeSettingsProperty{
// dataTraceEnabled: jsii.Boolean(false),
// detailedMetricsEnabled: jsii.Boolean(false),
// loggingLevel: jsii.String("loggingLevel"),
// throttlingBurstLimit: jsii.Number(123),
// throttlingRateLimit: jsii.Number(123),
// }
//
type CfnStage_RouteSettingsProperty struct {
// Specifies whether ( `true` ) or not ( `false` ) data trace logging is enabled for this route.
//
// This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
DataTraceEnabled interface{} `field:"optional" json:"dataTraceEnabled" yaml:"dataTraceEnabled"`
// Specifies whether detailed metrics are enabled.
DetailedMetricsEnabled interface{} `field:"optional" json:"detailedMetricsEnabled" yaml:"detailedMetricsEnabled"`
// Specifies the logging level for this route: `INFO` , `ERROR` , or `OFF` .
//
// This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
LoggingLevel *string `field:"optional" json:"loggingLevel" yaml:"loggingLevel"`
// Specifies the throttling burst limit.
ThrottlingBurstLimit *float64 `field:"optional" json:"throttlingBurstLimit" yaml:"throttlingBurstLimit"`
// Specifies the throttling rate limit.
ThrottlingRateLimit *float64 `field:"optional" json:"throttlingRateLimit" yaml:"throttlingRateLimit"`
}