m2:UpdateEnvironment is a Write access-level action in the m2 service. Grants permission to update a runtime environment
ARNs that m2:UpdateEnvironment can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants m2:UpdateEnvironment.
Filters access by a tag key and value pair of a resource
A minimal policy that allows m2:UpdateEnvironment. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowM2UpdateEnvironment",
"Effect": "Allow",
"Action": "m2:UpdateEnvironment",
"Resource": "*"
}
]
}