AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the CreatePullRequestApprovalRule operation. Creates an approval rule for a pull request.
Namespace: Amazon.CodeCommit.Model
Assembly: AWSSDK.CodeCommit.dll
Version: 3.x.y.z
public class CreatePullRequestApprovalRuleRequest : AmazonCodeCommitRequest IAmazonWebServiceRequest
The CreatePullRequestApprovalRuleRequest type exposes the following members
Name | Description | |
---|---|---|
CreatePullRequestApprovalRuleRequest() |
Name | Type | Description | |
---|---|---|---|
ApprovalRuleContent | System.String |
Gets and sets the property ApprovalRuleContent. The content of the approval rule, including the number of approvals needed and the structure of an approval pool defined for approvals, if any. For more information about approval pools, see the CodeCommit User Guide. When you create the content of the approval rule, you can specify approvers in an approval pool in one of two ways:
For more information about IAM ARNs, wildcards, and formats, see IAM Identifiers in the IAM User Guide. |
|
ApprovalRuleName | System.String |
Gets and sets the property ApprovalRuleName. The name for the approval rule. |
|
PullRequestId | System.String |
Gets and sets the property PullRequestId. The system-generated ID of the pull request for which you want to create the approval rule. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5