以下を実行する
# help 表示
curl -L https://raw.githubusercontent.com/tetu87kamura/setup/master/mac/setup.sh | sh -s "help"
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Action": [ | |
"autoscaling:Describe*", | |
"budgets:ViewBudget", | |
"cloudfront:GetDistributionConfig", | |
"cloudfront:ListDistributions", | |
"cloudtrail:DescribeTrails", |
{ | |
"Version": "2012-10-17", | |
"Id": "AWSConsole-AccessLogs-Policy-1513731370170", | |
"Statement": [ | |
{ | |
"Sid": "AWSConsoleStmt-1513731370170", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "arn:aws:iam::OWNERACOUNTID:root" | |
}, |
{ | |
"Version": "2012-10-17", | |
"Id": "default", | |
"Statement": [ | |
{ | |
"Sid": "DD_LOG_INTAKE-MYACOUNTID", | |
"Effect": "Allow", | |
"Principal": { | |
"Service": "s3.amazonaws.com" | |
}, |
{ | |
"roleName": "lambda_execute_datadog", | |
"policies": [ | |
{ | |
"document": { | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ |