mgn:GetAgentRuntimeConfigurationForMgn

Read

mgn:GetAgentRuntimeConfigurationForMgn is a Read access-level action in the mgn service. Grants permission to get agent runtime configuration

Resource types

ARNs that mgn:GetAgentRuntimeConfigurationForMgn can be scoped to in an IAM policy.

arn:${Partition}:mgn:${Region}:${Account}:source-server/${SourceServerID}
SourceServerResource

Condition keys

Keys you can use in the Condition block of a policy that grants mgn:GetAgentRuntimeConfigurationForMgn.

aws:ResourceTag/${TagKey} String

Filters access by tag key-value pairs attached to the resource

Example IAM policy

A minimal policy that allows mgn:GetAgentRuntimeConfigurationForMgn. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowMgnGetAgentRuntimeConfigurationForMgn",
      "Effect": "Allow",
      "Action": "mgn:GetAgentRuntimeConfigurationForMgn",
      "Resource": "*"
    }
  ]
}

Related actions in mgn

View all mgn actions →