ec2:AdvertiseByoipCidr is a Write access-level action in the ec2 service. Grants permission to advertise an IP address range that is provisioned for use in AWS through bring your own IP addresses (BYOIP)
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 ec2:AdvertiseByoipCidr.
Filters access by the name of the AWS Region
A minimal policy that allows ec2:AdvertiseByoipCidr. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowEc2AdvertiseByoipCidr",
"Effect": "Allow",
"Action": "ec2:AdvertiseByoipCidr",
"Resource": "*"
}
]
}