interface CfnAliasMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lambda.Mixins.CfnAliasMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslambda/mixins#CfnAliasMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.lambda.mixins.CfnAliasMixinProps |
Python | aws_cdk.mixins_preview.aws_lambda.mixins.CfnAliasMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_lambda » mixins » CfnAliasMixinProps |
Properties for CfnAliasPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-alias.html
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 cfnAliasMixinProps: lambda_mixins.CfnAliasMixinProps = {
description: 'description',
functionName: 'functionName',
functionVersion: 'functionVersion',
name: 'name',
provisionedConcurrencyConfig: {
provisionedConcurrentExecutions: 123,
},
routingConfig: {
additionalVersionWeights: [{
functionVersion: 'functionVersion',
functionWeight: 123,
}],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| description? | string | A description of the alias. |
| function | string | The name or ARN of the Lambda function. |
| function | string | The function version that the alias invokes. |
| name? | string | The name of the alias. |
| provisioned | IResolvable | Provisioned | Specifies a provisioned concurrency configuration for a function's alias. |
| routing | IResolvable | Alias | The routing configuration of the alias. |
description?
Type:
string
(optional)
A description of the alias.
functionName?
Type:
string
(optional)
The name or ARN of the Lambda function.
Name formats - Function name - MyFunction .
- Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction. - Partial ARN -
123456789012:function:MyFunction.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
functionVersion?
Type:
string
(optional)
The function version that the alias invokes.
name?
Type:
string
(optional)
The name of the alias.
provisionedConcurrencyConfig?
Type:
IResolvable | Provisioned
(optional)
Specifies a provisioned concurrency configuration for a function's alias.
routingConfig?
Type:
IResolvable | Alias
(optional)
The routing configuration of the alias.

.NET
Go
Java
Python
TypeScript