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