To give an AWS Lambda function access to a DynamoDB table, you can use IAM roles and policies that grant the Lambda function permissions to perform actions on the DynamoDB table, such as read or write operations. You can specify these permissions in the AWS Management Console or via the AWS CLI.