class Amazonite::ApiGateway::CanarySettings

Overview

Configuration settings of a canary deployment.

Included Modules

Defined in:

api_gateway/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, deployment_id : String | 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 deployment_id : String | Nil #

The ID of the canary deployment.


[View source]
def deployment_id=(deployment_id : String | Nil) #

The ID of the canary deployment.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def percent_traffic : Float64 | Nil #

The percent (0-100) of traffic diverted to a canary deployment.


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

The percent (0-100) of traffic diverted to a canary deployment.


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

Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. 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) #

Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. 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 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 deployment uses the stage cache or not.


[View source]
def validate! : Nil #

[View source]