connect:GetPromptFile

Read

connect:GetPromptFile is a Read access-level action in the connect service. Grants permission to get details about a prompt's presigned Amazon S3 URL in an Amazon Connect instance

Resource types

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

arn:${Partition}:connect:${Region}:${Account}:instance/${InstanceId}/prompt/${PromptId}
prompt

Condition keys

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

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:GetPromptFile. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in connect

View all connect actions →