opsworks:GetHostnameSuggestion is a Read access-level action in the opsworks service. Grants permission to get a generated host name for the specified layer, based on the current host name theme
ARNs that opsworks:GetHostnameSuggestion can be scoped to in an IAM policy.
No condition keys are documented for this action.
A minimal policy that allows opsworks:GetHostnameSuggestion. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowOpsworksGetHostnameSuggestion",
"Effect": "Allow",
"Action": "opsworks:GetHostnameSuggestion",
"Resource": "*"
}
]
}