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)


2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 2863

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)


2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 2863

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)


2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 2863

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)


2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 2863

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>)


2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 2863

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>)


2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 2863

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