interface AliasRoutingConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lambda.CfnAlias.AliasRoutingConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnAlias_AliasRoutingConfigurationProperty |
Java | software.amazon.awscdk.services.lambda.CfnAlias.AliasRoutingConfigurationProperty |
Python | aws_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
| Name | Type | Description |
|---|---|---|
| additional | IResolvable | (IResolvable | Version)[] | The second version, and the percentage of traffic that's routed to it. |
additionalVersionWeights?
Type:
IResolvable | (IResolvable | Version)[]
(optional)
The second version, and the percentage of traffic that's routed to it.

.NET
Go
Java
Python
TypeScript