mgn:TerminateTargetInstances is a Write access-level action in the mgn service. Grants permission to terminate target instances
ARNs that mgn:TerminateTargetInstances can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants mgn:TerminateTargetInstances.
Filters access by tag key-value pairs attached to the resource
To use mgn:TerminateTargetInstances you may also need to grant:
A minimal policy that allows mgn:TerminateTargetInstances. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowMgnTerminateTargetInstances",
"Effect": "Allow",
"Action": "mgn:TerminateTargetInstances",
"Resource": "*"
}
]
}