1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
1
Please use this link https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-iam.html
Please create a role with the following json!
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "CloudWatchEventsBuiltInTargetExecutionAccess",
"Effect": "Allow",
"Action": [
"ec2:RebootInstances",
"ec2:StopInstances",
"ec2:TerminateInstances"
],
"Resource": [
"arn:aws:ec2:ap-south-1:AWS_ACCOUNT_ID:instance/YOUR_INSTANCE_ID"
]
}
]
}
Please use this as a trust relationship
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "events.amazonaws.com"
},
"Action": "sts:AssumeRole"
}
]
}
관련 콘텐츠
- 질문됨 3달 전