Show / Hide Table of Contents

Interface CfnStagePropsMixin.ICanarySettingProperty

Configuration settings of a canary deployment.

Namespace: Amazon.CDK.Mixins.Preview.AWS.ApiGateway.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnStagePropsMixin.ICanarySettingProperty
Syntax (vb)
Public Interface CfnStagePropsMixin.ICanarySettingProperty
Remarks

See: 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.Mixins.Preview.AWS.ApiGateway.Mixins;

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

Synopsis

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.

Properties

DeploymentId

The ID of the canary deployment.

string? DeploymentId { get; }
Property Value

string

Remarks

See: 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.

double? PercentTraffic { get; }
Property Value

double?

Remarks

See: 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.

object? StageVariableOverrides { get; }
Property Value

object

Remarks

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

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

Type union: either Dictionary<string, string> or IResolvable

UseStageCache

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

object? UseStageCache { get; }
Property Value

object

Remarks

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

Type union: either bool or IResolvable

Back to top Generated by DocFX