Show / Hide Table of Contents

Class CfnAlias.VersionWeightProperty

The traffic-shifting configuration of a Lambda function alias.

Inheritance
object
CfnAlias.VersionWeightProperty
Implements
CfnAlias.IVersionWeightProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAlias.VersionWeightProperty : CfnAlias.IVersionWeightProperty
Syntax (vb)
Public Class CfnAlias.VersionWeightProperty Implements CfnAlias.IVersionWeightProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-alias-versionweight.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.Lambda;

             var versionWeightProperty = new VersionWeightProperty {
                 FunctionVersion = "functionVersion",
                 FunctionWeight = 123
             };

Synopsis

Constructors

VersionWeightProperty()

The traffic-shifting configuration of a Lambda function alias.

Properties

FunctionVersion

The qualifier of the second version.

FunctionWeight

The percentage of traffic that the alias routes to the second version.

Constructors

VersionWeightProperty()

The traffic-shifting configuration of a Lambda function alias.

public VersionWeightProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-alias-versionweight.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.Lambda;

             var versionWeightProperty = new VersionWeightProperty {
                 FunctionVersion = "functionVersion",
                 FunctionWeight = 123
             };

Properties

FunctionVersion

The qualifier of the second version.

public string FunctionVersion { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-alias-versionweight.html#cfn-lambda-alias-versionweight-functionversion

FunctionWeight

The percentage of traffic that the alias routes to the second version.

public double FunctionWeight { get; set; }
Property Value

double

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-alias-versionweight.html#cfn-lambda-alias-versionweight-functionweight

Implements

CfnAlias.IVersionWeightProperty
Back to top Generated by DocFX