# AliasRoutingConfigurationProperty

The [traffic-shifting](https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) configuration of a Lambda function alias.

- Source: Generated code
- Type last changed: v2.154.0 · 22 Aug 2024

## Example

```ts
// 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

- `additionalVersionWeights`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAlias.VersionWeightProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.CfnAlias.VersionWeightProperty.html)[] — The second version, and the percentage of traffic that's routed to it.
