agentaccess-mcp:KeyPress is a Write access-level action in the agentaccess-mcp service. Grants permission to press key or key combination
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 agentaccess-mcp:KeyPress.
Filters access by the ARN of the WorkSpaces Applications stack
A minimal policy that allows agentaccess-mcp:KeyPress. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowAgentaccessmcpKeyPress",
"Effect": "Allow",
"Action": "agentaccess-mcp:KeyPress",
"Resource": "*"
}
]
}