Show / Hide Table of Contents

Class CfnStage.CanarySettingProperty

Configuration settings of a canary deployment.

Inheritance
System.Object
CfnStage.CanarySettingProperty
Implements
CfnStage.ICanarySettingProperty
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.AWS.APIGateway.dll
Syntax (csharp)
public class CanarySettingProperty : Object, CfnStage.ICanarySettingProperty
Syntax (vb)
Public Class CanarySettingProperty
    Inherits Object
    Implements CfnStage.ICanarySettingProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-canarysetting.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APIGateway;

var canarySettingProperty = new CanarySettingProperty {
    DeploymentId = "deploymentId",
    PercentTraffic = 123,
    StageVariableOverrides = new Dictionary<string, string> {
        { "stageVariableOverridesKey", "stageVariableOverrides" }
    },
    UseStageCache = false
};

Synopsis

Constructors

CanarySettingProperty()

Properties

DeploymentId

The ID of the canary deployment.

PercentTraffic

The percent (0-100) of traffic diverted to a canary deployment.

StageVariableOverrides

Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary.

UseStageCache

A Boolean flag to indicate whether the canary deployment uses the stage cache or not.

Constructors

CanarySettingProperty()

public CanarySettingProperty()

Properties

DeploymentId

The ID of the canary deployment.

public string DeploymentId { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-canarysetting.html#cfn-apigateway-stage-canarysetting-deploymentid

PercentTraffic

The percent (0-100) of traffic diverted to a canary deployment.

public Nullable<double> PercentTraffic { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-canarysetting.html#cfn-apigateway-stage-canarysetting-percenttraffic

StageVariableOverrides

Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary.

public object StageVariableOverrides { get; set; }
Property Value

System.Object

Remarks

These stage variables are represented as a string-to-string map between stage variable names and their values.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-canarysetting.html#cfn-apigateway-stage-canarysetting-stagevariableoverrides

UseStageCache

A Boolean flag to indicate whether the canary deployment uses the stage cache or not.

public object UseStageCache { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-canarysetting.html#cfn-apigateway-stage-canarysetting-usestagecache

Implements

CfnStage.ICanarySettingProperty
Back to top Generated by DocFX