class Aws::CodeCommit::Types::CreatePullRequestApprovalRuleInput


@see docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequestApprovalRuleInput AWS API Documentation
@return [String]<br>: docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html<br><br><br><br></note>
[IAM Identifiers] in the *IAM User Guide*.
For more information about IAM ARNs, wildcards, and formats, see
role.
fully qualified Amazon Resource Name (ARN) of the IAM user or
* **Fully qualified ARN**: This option allows you to specify the
unless you include a wildcard (*Mary_Major).
(arn:aws:sts::123456789012:assumed-role/CodeCommitReview/Mary_Major)
Mary_Major
assuming the role of CodeCommitReview with a role session name of
This option does not recognize an active session of someone
(arn:aws:sts::123456789012:federated-user/Mary_Major)
* A federated user identified in IAM as Mary_Major
(arn:aws:iam::123456789012:user/Mary_Major)
* An IAM user in the account
coming from that user:
Mary_Major, all of the following would be counted as approvals
For example, if you specify the AWS account 123456789012 and
is a very powerful option that offers a great deal of flexibility.
access users whose name matches the provided resource name. This
and a resource. It can be used for both IAM users and federated
* CodeCommitApprovers: This option only requires an AWS account
approvers in an approval pool in one of two ways:
<note markdown=“1”> When you create the content of the approval rule, you can specify
CodeCommit User Guide.
if any. For more information about approval pools, see the AWS
needed and the structure of an approval pool defined for approvals,
The content of the approval rule, including the number of approvals
@!attribute [rw] approval_rule_content
@return [String]
The name for the approval rule.
@!attribute [rw] approval_rule_name
@return [String]
create the approval rule.
The system-generated ID of the pull request for which you want to
@!attribute [rw] pull_request_id
}
approval_rule_content: “ApprovalRuleContent”, # required
approval_rule_name: “ApprovalRuleName”, # required
pull_request_id: “PullRequestId”, # required
{
data as a hash:
@note When making an API call, you may pass CreatePullRequestApprovalRuleInput