CmdID

CmdID / aws / aws eventsv2

aws eventsv2 put-resource-policy

Attaches a named resource policy to an event bus — the only resource type that supports policies; other resource ARNs are rejected. AWS CLI reference

4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

4 in the AWS CLI reference
--expected-revision-idThe write succeeds only if the named policy's current revision ID matches this value; a policy that does not exist yet matches only the sentinel "NO_POLICY" (create-only).
--policy-documentA resource policy document, as a JSON string.
--policy-nameWhich named policy to write.
--resource-arnThe Amazon Resource Name (ARN) that uniquely identifies an event bus.