1

Iam creating a role and trying to attach an was managed policy for transit gateway full access. But I am not able to find any policy with transit gateway.

SUBHAS PATIL
  • 176
  • 1
  • 13

1 Answers1

0

There is no such AWS managed policy. So you can create your own customer managed policy. For example:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "FullTransitGatewayPermissions",
            "Effect": "Allow",
            "Action": [
                "ec2:*TransitGateway*"
            ],
            "Resource": "*"
        }
    ]
}

Depending on exactly what you need, you can add more permissions or be more selective.

Marcin
  • 215,873
  • 14
  • 235
  • 294