A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codedeploy/refs/heads/main/json-schema/amazon-codedeploy-time-based-linear-schema.json",
"title": "TimeBasedLinear",
"description": "A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.",
"type": "object",
"properties": {
"linearPercentage": {
"allOf": [
{
"$ref": "#/components/schemas/Percentage"
},
{
"description": "The percentage of traffic that is shifted at the start of each increment of a <code>TimeBasedLinear</code> deployment."
}
]
},
"linearInterval": {
"allOf": [
{
"$ref": "#/components/schemas/WaitTimeInMins"
},
{
"description": "The number of minutes between each incremental traffic shift of a <code>TimeBasedLinear</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.