cloudtools / awacs

Python library for AWS Access Policy Language creation
BSD 2-Clause "Simplified" License
395 stars 102 forks source link

How to create a composite principal? #271

Open dreambeyondorange opened 3 months ago

dreambeyondorange commented 3 months ago

Is there a way I can create a principal that looks like this?

{
            "Sid": "Statement1",
            "Effect": "Allow",
            "Principal": {
                "AWS": [
                    "xxxxxxxxx",
                    "xxxxxxxx"
                ],
                "Service": "xxx.amazonaws.com"
            },
            "Action": "sts:AssumeRole"
        }