full-dress-10026
09/25/2018, 5:48 PMlet awsAccountId = aws.getCallerIdentity().then((value => {
return value.accountId;
}));
white-balloon-205
async function getAccountId() {
let identity = await aws.getCallerIdentity();
return identity.accountId;
}
let awsAccountId = getAccountId();