interface VersionAttributes
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Lambda.VersionAttributes |
Java | software.amazon.awscdk.services.lambda.VersionAttributes |
Python | aws_cdk.aws_lambda.VersionAttributes |
TypeScript (source) | @aws-cdk/aws-lambda » VersionAttributes |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as lambda from '@aws-cdk/aws-lambda';
declare const function_: lambda.Function;
const versionAttributes: lambda.VersionAttributes = {
lambda: function_,
version: 'version',
};
Properties
Name | Type | Description |
---|---|---|
lambda | IFunction | The lambda function. |
version | string | The version. |
lambda
Type:
IFunction
The lambda function.
version
Type:
string
The version.