interface DeploymentCanarySettingsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.APIGateway.CfnDeployment.DeploymentCanarySettingsProperty |
Java | software.amazon.awscdk.services.apigateway.CfnDeployment.DeploymentCanarySettingsProperty |
Python | aws_cdk.aws_apigateway.CfnDeployment.DeploymentCanarySettingsProperty |
TypeScript | @aws-cdk/aws-apigateway » CfnDeployment » DeploymentCanarySettingsProperty |
The DeploymentCanarySettings property type specifies settings for the canary deployment.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as apigateway from '@aws-cdk/aws-apigateway';
const deploymentCanarySettingsProperty: apigateway.CfnDeployment.DeploymentCanarySettingsProperty = {
percentTraffic: 123,
stageVariableOverrides: {
stageVariableOverridesKey: 'stageVariableOverrides',
},
useStageCache: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| percent | number | The percentage (0.0-100.0) of traffic routed to the canary deployment. |
| stage | IResolvable | { [string]: string } | A stage variable overrides used for the canary release deployment. |
| use | boolean | IResolvable | A Boolean flag to indicate whether the canary release deployment uses the stage cache or not. |
percentTraffic?
Type:
number
(optional)
The percentage (0.0-100.0) of traffic routed to the canary deployment.
stageVariableOverrides?
Type:
IResolvable | { [string]: string }
(optional)
A stage variable overrides used for the canary release deployment.
They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.
useStageCache?
Type:
boolean | IResolvable
(optional)
A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.

.NET
Java
Python
TypeScript