connect:GetEffectiveHoursOfOperations

Read

connect:GetEffectiveHoursOfOperations is a Read access-level action in the connect service. Grants permission to get effective hours of operation resources in an Amazon Connect instance

Resource types

ARNs that connect:GetEffectiveHoursOfOperations can be scoped to in an IAM policy.

arn:${Partition}:connect:${Region}:${Account}:instance/${InstanceId}/operating-hours/${HoursOfOperationId}
hours-of-operation
arn:${Partition}:connect:${Region}:${Account}:instance/${InstanceId}
instance

Condition keys

Keys you can use in the Condition block of a policy that grants connect:GetEffectiveHoursOfOperations.

aws:ResourceTag/${TagKey} String

Filters access by using tag key-value pairs attached to the resource

Example IAM policy

A minimal policy that allows connect:GetEffectiveHoursOfOperations. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowConnectGetEffectiveHoursOfOperations",
      "Effect": "Allow",
      "Action": "connect:GetEffectiveHoursOfOperations",
      "Resource": "*"
    }
  ]
}

Related actions in connect

View all connect actions →