interface RevisionWeightProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lambda.CfnWebFunctionEndpointPropsMixin.RevisionWeightProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslambda#CfnWebFunctionEndpointPropsMixin_RevisionWeightProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnWebFunctionEndpointPropsMixin.RevisionWeightProperty |
Python | aws_cdk.cfn_property_mixins.aws_lambda.CfnWebFunctionEndpointPropsMixin.RevisionWeightProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lambda » CfnWebFunctionEndpointPropsMixin » RevisionWeightProperty |
A revision routing entry.
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 revisionWeightProperty: lambda.CfnWebFunctionEndpointPropsMixin.RevisionWeightProperty = {
revisionId: 'revisionId',
weight: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| revision | string | The revision identifier. |
| weight? | number | The traffic weight for this revision. |
revisionId?
Type:
string
(optional)
The revision identifier.
weight?
Type:
number
(optional)
The traffic weight for this revision.

.NET
Go
Java
Python
TypeScript