proton:CreateEnvironment

Write

proton:CreateEnvironment is a Write access-level action in the proton service. Grants permission to create an environment

Resource types

ARNs that proton:CreateEnvironment can be scoped to in an IAM policy.

arn:${Partition}:proton:${Region}:${Account}:environment/${Name} required
environment

Condition keys

Keys you can use in the Condition block of a policy that grants proton:CreateEnvironment.

aws:RequestTag/${TagKey} String

Filters access by tag key-value pairs in the request

aws:TagKeys ArrayOfString

Filters access by tag keys in the request

proton:EnvironmentTemplate String

Filters access by specified environment template related to resource

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowProtonCreateEnvironment",
      "Effect": "Allow",
      "Action": "proton:CreateEnvironment",
      "Resource": "*"
    }
  ]
}

Related actions in proton

View all proton actions →