AWS SDK Version 3 for .NET
API Reference

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.

Returns information about an approval rule.

Inheritance Hierarchy

System.Object
  Amazon.CodeCommit.Model.ApprovalRule

Namespace: Amazon.CodeCommit.Model
Assembly: AWSSDK.CodeCommit.dll
Version: 3.x.y.z

Syntax

C#
public class ApprovalRule

The ApprovalRule type exposes the following members

Constructors

NameDescription
Public Method ApprovalRule()

Properties

NameTypeDescription
Public Property ApprovalRuleContent System.String

Gets and sets the property ApprovalRuleContent.

The content of the approval rule.

Public Property ApprovalRuleId System.String

Gets and sets the property ApprovalRuleId.

The system-generated ID of the approval rule.

Public Property ApprovalRuleName System.String

Gets and sets the property ApprovalRuleName.

The name of the approval rule.

Public Property CreationDate System.DateTime

Gets and sets the property CreationDate.

The date the approval rule was created, in timestamp format.

Public Property LastModifiedDate System.DateTime

Gets and sets the property LastModifiedDate.

The date the approval rule was most recently changed, in timestamp format.

Public Property LastModifiedUser System.String

Gets and sets the property LastModifiedUser.

The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule.

Public Property OriginApprovalRuleTemplate Amazon.CodeCommit.Model.OriginApprovalRuleTemplate

Gets and sets the property OriginApprovalRuleTemplate.

The approval rule template used to create the rule.

Public Property RuleContentSha256 System.String

Gets and sets the property RuleContentSha256.

The SHA-256 hash signature for the content of the approval rule.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5