codestar-connections:ListHosts is a List access-level action in the codestar-connections service. Grants permission to list host resources
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 codestar-connections:ListHosts.
Filters access by the type of third-party provider used to filter results
A minimal policy that allows codestar-connections:ListHosts. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCodestarconnectionsListHosts",
"Effect": "Allow",
"Action": "codestar-connections:ListHosts",
"Resource": "*"
}
]
}