health-agent:CreateAgent

Write

health-agent:CreateAgent is a Write access-level action in the health-agent service. Grants permission to create a new agent with an initial version in DRAFT state

Resource types

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

arn:${Partition}:health-agent:${Region}:${Account}:domain/${DomainId}/agent/${AgentId}
Agent
arn:${Partition}:health-agent:${Region}:${Account}:domain/${DomainId}
Domain

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in health-agent

View all health-agent actions →