Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::CodeCommit::Types::ApprovalRule

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb

Overview

Returns information about an approval rule.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#approval_rule_contentString

The content of the approval rule.

Returns:

  • (String)

78
79
80
81
82
83
84
85
86
87
88
89
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 78

class ApprovalRule < Struct.new(
  :approval_rule_id,
  :approval_rule_name,
  :approval_rule_content,
  :rule_content_sha_256,
  :last_modified_date,
  :creation_date,
  :last_modified_user,
  :origin_approval_rule_template)
  SENSITIVE = []
  include Aws::Structure
end

#approval_rule_idString

The system-generated ID of the approval rule.

Returns:

  • (String)

78
79
80
81
82
83
84
85
86
87
88
89
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 78

class ApprovalRule < Struct.new(
  :approval_rule_id,
  :approval_rule_name,
  :approval_rule_content,
  :rule_content_sha_256,
  :last_modified_date,
  :creation_date,
  :last_modified_user,
  :origin_approval_rule_template)
  SENSITIVE = []
  include Aws::Structure
end

#approval_rule_nameString

The name of the approval rule.

Returns:

  • (String)

78
79
80
81
82
83
84
85
86
87
88
89
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 78

class ApprovalRule < Struct.new(
  :approval_rule_id,
  :approval_rule_name,
  :approval_rule_content,
  :rule_content_sha_256,
  :last_modified_date,
  :creation_date,
  :last_modified_user,
  :origin_approval_rule_template)
  SENSITIVE = []
  include Aws::Structure
end

#creation_dateTime

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

Returns:

  • (Time)

78
79
80
81
82
83
84
85
86
87
88
89
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 78

class ApprovalRule < Struct.new(
  :approval_rule_id,
  :approval_rule_name,
  :approval_rule_content,
  :rule_content_sha_256,
  :last_modified_date,
  :creation_date,
  :last_modified_user,
  :origin_approval_rule_template)
  SENSITIVE = []
  include Aws::Structure
end

#last_modified_dateTime

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

Returns:

  • (Time)

78
79
80
81
82
83
84
85
86
87
88
89
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 78

class ApprovalRule < Struct.new(
  :approval_rule_id,
  :approval_rule_name,
  :approval_rule_content,
  :rule_content_sha_256,
  :last_modified_date,
  :creation_date,
  :last_modified_user,
  :origin_approval_rule_template)
  SENSITIVE = []
  include Aws::Structure
end

#last_modified_userString

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

Returns:

  • (String)

78
79
80
81
82
83
84
85
86
87
88
89
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 78

class ApprovalRule < Struct.new(
  :approval_rule_id,
  :approval_rule_name,
  :approval_rule_content,
  :rule_content_sha_256,
  :last_modified_date,
  :creation_date,
  :last_modified_user,
  :origin_approval_rule_template)
  SENSITIVE = []
  include Aws::Structure
end

#origin_approval_rule_templateTypes::OriginApprovalRuleTemplate

The approval rule template used to create the rule.


78
79
80
81
82
83
84
85
86
87
88
89
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 78

class ApprovalRule < Struct.new(
  :approval_rule_id,
  :approval_rule_name,
  :approval_rule_content,
  :rule_content_sha_256,
  :last_modified_date,
  :creation_date,
  :last_modified_user,
  :origin_approval_rule_template)
  SENSITIVE = []
  include Aws::Structure
end

#rule_content_sha_256String

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

Returns:

  • (String)

78
79
80
81
82
83
84
85
86
87
88
89
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 78

class ApprovalRule < Struct.new(
  :approval_rule_id,
  :approval_rule_name,
  :approval_rule_content,
  :rule_content_sha_256,
  :last_modified_date,
  :creation_date,
  :last_modified_user,
  :origin_approval_rule_template)
  SENSITIVE = []
  include Aws::Structure
end