Class: Aws::SecurityHub::Types::AwsApiGatewayCanarySettings

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

Overview

Contains information about settings for canary deployment in the stage.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#deployment_idString

The deployment identifier for the canary deployment.

Returns:

  • (String)


1681
1682
1683
1684
1685
1686
1687
1688
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1681

class AwsApiGatewayCanarySettings < Struct.new(
  :percent_traffic,
  :deployment_id,
  :stage_variable_overrides,
  :use_stage_cache)
  SENSITIVE = []
  include Aws::Structure
end

#percent_trafficFloat

The percentage of traffic that is diverted to a canary deployment.

Returns:

  • (Float)


1681
1682
1683
1684
1685
1686
1687
1688
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1681

class AwsApiGatewayCanarySettings < Struct.new(
  :percent_traffic,
  :deployment_id,
  :stage_variable_overrides,
  :use_stage_cache)
  SENSITIVE = []
  include Aws::Structure
end

#stage_variable_overridesHash<String,String>

Stage variables that are overridden in the canary release deployment. The variables include new stage variables that are introduced in the canary.

Each variable is represented as a string-to-string map between the stage variable name and the variable value.

Returns:

  • (Hash<String,String>)


1681
1682
1683
1684
1685
1686
1687
1688
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1681

class AwsApiGatewayCanarySettings < Struct.new(
  :percent_traffic,
  :deployment_id,
  :stage_variable_overrides,
  :use_stage_cache)
  SENSITIVE = []
  include Aws::Structure
end

#use_stage_cacheBoolean

Indicates whether the canary deployment uses the stage cache.

Returns:

  • (Boolean)


1681
1682
1683
1684
1685
1686
1687
1688
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1681

class AwsApiGatewayCanarySettings < Struct.new(
  :percent_traffic,
  :deployment_id,
  :stage_variable_overrides,
  :use_stage_cache)
  SENSITIVE = []
  include Aws::Structure
end