Class: Aws::Continuum::Types::Rule
- Inherits:
-
Struct
- Object
- Struct
- Aws::Continuum::Types::Rule
- Defined in:
- gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb
Overview
A single deny rule. The rule matches a package when all of its conditions are true. When several rules match, the strongest enforcement mode wins.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#deny_when ⇒ Types::DenyWhen
The conditions that must all be true for the rule to match.
-
#enforcement_mode ⇒ String
What happens when the rule matches.
-
#rule_id ⇒ String
The identifier of the rule, unique within the policy.
Instance Attribute Details
#deny_when ⇒ Types::DenyWhen
The conditions that must all be true for the rule to match.
5070 5071 5072 5073 5074 5075 5076 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 5070 class Rule < Struct.new( :rule_id, :enforcement_mode, :deny_when) SENSITIVE = [] include Aws::Structure end |
#enforcement_mode ⇒ String
What happens when the rule matches. ENFORCE denies the package. AUDIT records the match and allows the package.
5070 5071 5072 5073 5074 5075 5076 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 5070 class Rule < Struct.new( :rule_id, :enforcement_mode, :deny_when) SENSITIVE = [] include Aws::Structure end |
#rule_id ⇒ String
The identifier of the rule, unique within the policy. Policy exceptions and decision evidence refer to rules by this ID.
5070 5071 5072 5073 5074 5075 5076 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 5070 class Rule < Struct.new( :rule_id, :enforcement_mode, :deny_when) SENSITIVE = [] include Aws::Structure end |