mgn:RemoveTemplateAction

Write

mgn:RemoveTemplateAction is a Write access-level action in the mgn service. Grants permission to remove launch configuration template action document

Resource types

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

arn:${Partition}:mgn:${Region}:${Account}:launch-configuration-template/${LaunchConfigurationTemplateID}
LaunchConfigurationTemplateResource

Condition keys

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

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

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

Related actions in mgn

View all mgn actions →