CmdID

CmdID / aws / aws lexv2-models

aws lexv2-models create-resource-policy-statement

Adds a new resource policy statement to a bot or bot alias. AWS CLI reference

7 options Its page in the AWS CLI reference

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

Options

7 in the AWS CLI reference
--actionThe Amazon Lex action that this policy either allows or denies.
--conditionSpecifies a condition when the policy is in effect.
--effectDetermines whether the statement allows or denies access to the resource.
--expected-revision-idThe identifier of the revision of the policy to edit.
--principalAn IAM principal, such as an IAM user, IAM role, or Amazon Web Services services that is allowed or denied access to a resource.
--resource-arnThe Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
--statement-idThe name of the statement.