m2:CreateEnvironment is a Write access-level action in the m2 service. Grants permission to Create an environment
This action does not support resource-level permissions; use "Resource": "*" in your policy.
Keys you can use in the Condition block of a policy that grants m2:CreateEnvironment.
Filters access by a tag key and value pair that is allowed in the request
Filters access by a list of tag keys that are allowed in the request
A minimal policy that allows m2:CreateEnvironment. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowM2CreateEnvironment",
"Effect": "Allow",
"Action": "m2:CreateEnvironment",
"Resource": "*"
}
]
}