A configuration that shifts traffic from one version of a Lambda function or Amazon ECS task set to another in two increments. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.
TimeBasedCanary is a JSON Structure definition published by Amazon CodeDeploy, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codedeploy/refs/heads/main/json-structure/amazon-codedeploy-time-based-canary-structure.json",
"name": "TimeBasedCanary",
"description": "A configuration that shifts traffic from one version of a Lambda function or Amazon ECS task set to another in two increments. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.",
"type": "object",
"properties": {
"canaryPercentage": {
"allOf": [
{
"$ref": "#/components/schemas/Percentage"
},
{
"description": "The percentage of traffic to shift in the first increment of a <code>TimeBasedCanary</code> deployment."
}
]
},
"canaryInterval": {
"allOf": [
{
"$ref": "#/components/schemas/WaitTimeInMins"
},
{
"description": "The number of minutes between the first and second traffic shifts of a <code>TimeBasedCanary</code> deployment."
}
]
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.