Class: Aws::WorkMail::Types::ImpersonationRule

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

Overview

The rules for the given impersonation role.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

The rule description.

Returns:

  • (String)


2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 2630

class ImpersonationRule < Struct.new(
  :impersonation_rule_id,
  :name,
  :description,
  :effect,
  :target_users,
  :not_target_users)
  SENSITIVE = []
  include Aws::Structure
end

#effectString

The effect of the rule when it matches the input. Allowed effect values are ALLOW or DENY.

Returns:

  • (String)


2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 2630

class ImpersonationRule < Struct.new(
  :impersonation_rule_id,
  :name,
  :description,
  :effect,
  :target_users,
  :not_target_users)
  SENSITIVE = []
  include Aws::Structure
end

#impersonation_rule_idString

The identifier of the rule.

Returns:

  • (String)


2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 2630

class ImpersonationRule < Struct.new(
  :impersonation_rule_id,
  :name,
  :description,
  :effect,
  :target_users,
  :not_target_users)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The rule name.

Returns:

  • (String)


2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 2630

class ImpersonationRule < Struct.new(
  :impersonation_rule_id,
  :name,
  :description,
  :effect,
  :target_users,
  :not_target_users)
  SENSITIVE = []
  include Aws::Structure
end

#not_target_usersArray<String>

A list of user IDs that don't match the rule.

Returns:

  • (Array<String>)


2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 2630

class ImpersonationRule < Struct.new(
  :impersonation_rule_id,
  :name,
  :description,
  :effect,
  :target_users,
  :not_target_users)
  SENSITIVE = []
  include Aws::Structure
end

#target_usersArray<String>

A list of user IDs that match the rule.

Returns:

  • (Array<String>)


2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 2630

class ImpersonationRule < Struct.new(
  :impersonation_rule_id,
  :name,
  :description,
  :effect,
  :target_users,
  :not_target_users)
  SENSITIVE = []
  include Aws::Structure
end