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)


1675
1676
1677
1678
1679
1680
1681
1682
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1675

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)


1675
1676
1677
1678
1679
1680
1681
1682
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1675

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>)


1675
1676
1677
1678
1679
1680
1681
1682
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1675

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)


1675
1676
1677
1678
1679
1680
1681
1682
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1675

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