health-agent:InvokeAgent

Write

health-agent:InvokeAgent is a Write access-level action in the health-agent service. Grants permission to invoke an agent within a session with streaming response support

Resource types

ARNs that health-agent:InvokeAgent can be scoped to in an IAM policy.

arn:${Partition}:health-agent:${Region}:${Account}:domain/${DomainId}
Domain
arn:${Partition}:health-agent:${Region}:${Account}:domain/${DomainId}/session/${SessionId}
Session

Condition keys

Keys you can use in the Condition block of a policy that grants health-agent:InvokeAgent.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

A minimal policy that allows health-agent:InvokeAgent. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowHealthagentInvokeAgent",
      "Effect": "Allow",
      "Action": "health-agent:InvokeAgent",
      "Resource": "*"
    }
  ]
}

Related actions in health-agent

View all health-agent actions →