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_id ⇒ String

The deployment identifier for the canary deployment.

Returns:

  • (String)


1973
1974
1975
1976
1977
1978
1979
1980
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1973

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

#percent_traffic ⇒ Float

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

Returns:

  • (Float)


1973
1974
1975
1976
1977
1978
1979
1980
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1973

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

#stage_variable_overrides ⇒ Hash<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>)


1973
1974
1975
1976
1977
1978
1979
1980
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1973

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

#use_stage_cache ⇒ Boolean

Indicates whether the canary deployment uses the stage cache.

Returns:

  • (Boolean)


1973
1974
1975
1976
1977
1978
1979
1980
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1973

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