Class: Aws::SecurityHub::Types::AwsApiGatewayV2RouteSettings

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Note:

When making an API call, you may pass AwsApiGatewayV2RouteSettings data as a hash:

{
  detailed_metrics_enabled: false,
  logging_level: "NonEmptyString",
  data_trace_enabled: false,
  throttling_burst_limit: 1,
  throttling_rate_limit: 1.0,
}

Contains route settings for a stage.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#data_trace_enabledBoolean

Indicates whether data trace logging is enabled. Data trace logging affects the log entries that are pushed to CloudWatch Logs. Supported only for WebSocket APIs.

Returns:

  • (Boolean)


1208
1209
1210
1211
1212
1213
1214
1215
1216
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1208

class AwsApiGatewayV2RouteSettings < Struct.new(
  :detailed_metrics_enabled,
  :logging_level,
  :data_trace_enabled,
  :throttling_burst_limit,
  :throttling_rate_limit)
  SENSITIVE = []
  include Aws::Structure
end

#detailed_metrics_enabledBoolean

Indicates whether detailed metrics are enabled.

Returns:

  • (Boolean)


1208
1209
1210
1211
1212
1213
1214
1215
1216
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1208

class AwsApiGatewayV2RouteSettings < Struct.new(
  :detailed_metrics_enabled,
  :logging_level,
  :data_trace_enabled,
  :throttling_burst_limit,
  :throttling_rate_limit)
  SENSITIVE = []
  include Aws::Structure
end

#logging_levelString

The logging level. The logging level affects the log entries that are pushed to CloudWatch Logs. Supported only for WebSocket APIs.

If the logging level is ERROR, then the logs only include error-level entries.

If the logging level is INFO, then the logs include both ERROR events and extra informational events.

Valid values: OFF | ERROR | INFO

Returns:

  • (String)


1208
1209
1210
1211
1212
1213
1214
1215
1216
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1208

class AwsApiGatewayV2RouteSettings < Struct.new(
  :detailed_metrics_enabled,
  :logging_level,
  :data_trace_enabled,
  :throttling_burst_limit,
  :throttling_rate_limit)
  SENSITIVE = []
  include Aws::Structure
end

#throttling_burst_limitInteger

The throttling burst limit.

Returns:

  • (Integer)


1208
1209
1210
1211
1212
1213
1214
1215
1216
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1208

class AwsApiGatewayV2RouteSettings < Struct.new(
  :detailed_metrics_enabled,
  :logging_level,
  :data_trace_enabled,
  :throttling_burst_limit,
  :throttling_rate_limit)
  SENSITIVE = []
  include Aws::Structure
end

#throttling_rate_limitFloat

The throttling rate limit.

Returns:

  • (Float)


1208
1209
1210
1211
1212
1213
1214
1215
1216
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1208

class AwsApiGatewayV2RouteSettings < Struct.new(
  :detailed_metrics_enabled,
  :logging_level,
  :data_trace_enabled,
  :throttling_burst_limit,
  :throttling_rate_limit)
  SENSITIVE = []
  include Aws::Structure
end