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.
No condition keys are documented for this action.
To use m2:CreateEnvironment you may also need to grant:
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": "*"
}
]
}