1 Answer
- Newest
- Most votes
- Most comments
0
var ec2 = new aws.EC2();
to connect to another region you can use
var ec2 = new AWS.EC2({apiVersion: '2006-03-01', region: 'us-west-2'});
now you can use the aws-sdk in lambda.
answered 5 years ago
Relevant content
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated a year ago