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)


1268
1269
1270
1271
1272
1273
1274
1275
1276
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1268

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)


1268
1269
1270
1271
1272
1273
1274
1275
1276
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1268

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)


1268
1269
1270
1271
1272
1273
1274
1275
1276
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1268

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)


1268
1269
1270
1271
1272
1273
1274
1275
1276
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1268

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)


1268
1269
1270
1271
1272
1273
1274
1275
1276
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1268

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