Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TrafficRoutingConfig

import type { TrafficRoutingConfig } from "https://aws-api.deno.dev/v0.3/services/codedeploy.ts?docs=full";

The configuration that specifies how traffic is shifted from one version of a Lambda function to another version during an AWS Lambda deployment, or from one Amazon ECS task set to another during an Amazon ECS deployment.

interface TrafficRoutingConfig {
timeBasedCanary?: TimeBasedCanary | null;
timeBasedLinear?: TimeBasedLinear | null;
type?: TrafficRoutingType | null;
}

§Properties

§
timeBasedCanary?: TimeBasedCanary | null
[src]

A configuration that shifts traffic from one version of a Lambda function or 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.

§
timeBasedLinear?: TimeBasedLinear | null
[src]

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.

§

The type of traffic shifting (TimeBasedCanary or TimeBasedLinear) used by a deployment configuration.