aws-cdk-lib.aws_lambda.CfnAlias.AliasRoutingConfigurationProperty

interface AliasRoutingConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.Lambda.CfnAlias.AliasRoutingConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnAlias_AliasRoutingConfigurationProperty
Javasoftware.amazon.awscdk.services.lambda.CfnAlias.AliasRoutingConfigurationProperty
Pythonaws_cdk.aws_lambda.CfnAlias.AliasRoutingConfigurationProperty
TypeScript aws-cdk-lib » aws_lambda » CfnAlias » AliasRoutingConfigurationProperty

The traffic-shifting configuration of a Lambda function alias.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const aliasRoutingConfigurationProperty: lambda.CfnAlias.AliasRoutingConfigurationProperty = {
  additionalVersionWeights: [{
    functionVersion: 'functionVersion',
    functionWeight: 123,
  }],
};

Properties

NameTypeDescription
additionalVersionWeightsIResolvable | IResolvable | VersionWeightProperty[]The second version, and the percentage of traffic that's routed to it.

additionalVersionWeights

Type: IResolvable | IResolvable | VersionWeightProperty[]

The second version, and the percentage of traffic that's routed to it.