interface AliasRoutingConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lambda.CfnAlias.AliasRoutingConfigurationProperty |
Java | software.amazon.awscdk.services.lambda.CfnAlias.AliasRoutingConfigurationProperty |
Python | aws_cdk.aws_lambda.CfnAlias.AliasRoutingConfigurationProperty |
TypeScript | @aws-cdk/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 * as lambda from '@aws-cdk/aws-lambda';
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[]
The second version, and the percentage of traffic that's routed to it.

.NET
Java
Python
TypeScript