Skip to content

Latest commit

 

History

History
executable file
·
19 lines (14 loc) · 721 Bytes

File metadata and controls

executable file
·
19 lines (14 loc) · 721 Bytes

To retrieve details about a function alias

The following get-alias example displays details for the alias named LIVE on the my-function Lambda function.

aws lambda get-alias \
    --function-name my-function \
    --name LIVE

Output:

{
    "FunctionVersion": "3",
    "Name": "LIVE",
    "AliasArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function:LIVE",
    "RevisionId": "594f41fb-b85f-4c20-95c7-6ca5f2a92c93",
    "Description": "alias for live version of function"
}

For more information, see Configuring AWS Lambda Function Aliases in the AWS Lambda Developer Guide.