interface AliasRoutingConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lambda.Mixins.CfnAliasPropsMixin.AliasRoutingConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslambda/mixins#CfnAliasPropsMixin_AliasRoutingConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.lambda.mixins.CfnAliasPropsMixin.AliasRoutingConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_lambda.mixins.CfnAliasPropsMixin.AliasRoutingConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lambda » mixins » CfnAliasPropsMixin » 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 { mixins as lambda_mixins } from '@aws-cdk/mixins-preview/aws-lambda';
const aliasRoutingConfigurationProperty: lambda_mixins.CfnAliasPropsMixin.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