Skip to content

TimeBasedCanary

Source code in docs_src/capo_codedeploy/types/time_based_canary.py
class TimeBasedCanary(TypedDict, closed=True):
    canary_percentage: "capo_codedeploy.types.percentage.Percentage"
    """<p>The percentage of traffic to shift in the first increment of a <code>TimeBasedCanary</code> deployment.</p>"""
    canary_interval: "capo_codedeploy.types.wait_time_in_mins.WaitTimeInMins"
    """<p>The number of minutes between the first and second traffic shifts of a <code>TimeBasedCanary</code> deployment.</p>"""

canary_interval instance-attribute

canary_interval: WaitTimeInMins

The number of minutes between the first and second traffic shifts of a TimeBasedCanary deployment.

canary_percentage instance-attribute

canary_percentage: Percentage

The percentage of traffic to shift in the first increment of a TimeBasedCanary deployment.