Policy requirements
Elemental Inference validates a feed policy when you attach it, and rejects the request with a validation error if the policy does not meet the following requirements:
-
The policy must include the
VersionandStatementelements. -
Each statement must include the
Sid,Effect,Principal,Action, andResourceelements. TheSidvalue must be unique within the policy. -
The only supported action is
elemental-inference:GetMetadata. -
The
Principalelement cannot be a wildcard (*). -
The policy cannot use the
NotAction,NotPrincipal, orNotResourceelements, and cannot specify a principal group. -
The policy document can be at most 2,048 characters.
The Condition element is optional. For guidance on the conditions to
include, see Security considerations.