class Amazonite::ApiGateway::DeploymentCanarySettings

Overview

The input configuration for a canary deployment.

Included Modules

Defined in:

api_gateway/deployment_canary_settings.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(percent_traffic : Float64 | Nil = nil, stage_variable_overrides : Hash(String, String) | Nil = nil, use_stage_cache : Bool | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def percent_traffic : Float64 | Nil #

The percentage (0.0-100.0) of traffic routed to the canary deployment.


[View source]
def percent_traffic=(percent_traffic : Float64 | Nil) #

The percentage (0.0-100.0) of traffic routed to the canary deployment.


[View source]
def stage_variable_overrides : Hash(String, String) | Nil #

A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.


[View source]
def stage_variable_overrides=(stage_variable_overrides : Hash(String, String) | Nil) #

A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.


[View source]
def use_stage_cache : Bool | Nil #

A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.


[View source]
def use_stage_cache=(use_stage_cache : Bool | Nil) #

A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.


[View source]
def validate! : Nil #

[View source]