Slide 16
Slide 16 text
© 2017, Amazon Web Services, Inc. or its affiliates. All rights reserved.
CloudWatch Logs へのログ記録
• console.log()
• console.error()
• console.warn()
• console.info()
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "lambda.amazonaws.com”
},
"Action": "sts:AssumeRole”
},
{
"Effect": "Allow",
"Principal": {
"Service": "edgelambda.amazonaws.com”
},
"Action": "sts:AssumeRole”
}
]
}
Lambda⽤ロールへの信頼関係を追加
http://docs.aws.amazon.com/ja_jp/AmazonCloudFront/latest/DeveloperGuide/logging.html