Class: Aws::WorkMail::Types::AccessControlRule

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

Overview

A rule that controls access to an Amazon WorkMail organization.

Instance Attribute Summary collapse

Instance Attribute Details

#actionsArray<String>

Access protocol actions to include in the rule. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.

Returns:

  • (Array<String>)


63
64
65
66
67
68
69
70
71
72
73
74
75
76
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 63

class AccessControlRule < Struct.new(
  :name,
  :effect,
  :description,
  :ip_ranges,
  :not_ip_ranges,
  :actions,
  :not_actions,
  :user_ids,
  :not_user_ids,
  :date_created,
  :date_modified)
  include Aws::Structure
end

#date_createdTime

The date that the rule was created.

Returns:

  • (Time)


63
64
65
66
67
68
69
70
71
72
73
74
75
76
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 63

class AccessControlRule < Struct.new(
  :name,
  :effect,
  :description,
  :ip_ranges,
  :not_ip_ranges,
  :actions,
  :not_actions,
  :user_ids,
  :not_user_ids,
  :date_created,
  :date_modified)
  include Aws::Structure
end

#date_modifiedTime

The date that the rule was modified.

Returns:

  • (Time)


63
64
65
66
67
68
69
70
71
72
73
74
75
76
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 63

class AccessControlRule < Struct.new(
  :name,
  :effect,
  :description,
  :ip_ranges,
  :not_ip_ranges,
  :actions,
  :not_actions,
  :user_ids,
  :not_user_ids,
  :date_created,
  :date_modified)
  include Aws::Structure
end

#descriptionString

The rule description.

Returns:

  • (String)


63
64
65
66
67
68
69
70
71
72
73
74
75
76
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 63

class AccessControlRule < Struct.new(
  :name,
  :effect,
  :description,
  :ip_ranges,
  :not_ip_ranges,
  :actions,
  :not_actions,
  :user_ids,
  :not_user_ids,
  :date_created,
  :date_modified)
  include Aws::Structure
end

#effectString

The rule effect.

Returns:

  • (String)


63
64
65
66
67
68
69
70
71
72
73
74
75
76
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 63

class AccessControlRule < Struct.new(
  :name,
  :effect,
  :description,
  :ip_ranges,
  :not_ip_ranges,
  :actions,
  :not_actions,
  :user_ids,
  :not_user_ids,
  :date_created,
  :date_modified)
  include Aws::Structure
end

#ip_rangesArray<String>

IPv4 CIDR ranges to include in the rule.

Returns:

  • (Array<String>)


63
64
65
66
67
68
69
70
71
72
73
74
75
76
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 63

class AccessControlRule < Struct.new(
  :name,
  :effect,
  :description,
  :ip_ranges,
  :not_ip_ranges,
  :actions,
  :not_actions,
  :user_ids,
  :not_user_ids,
  :date_created,
  :date_modified)
  include Aws::Structure
end

#nameString

The rule name.

Returns:

  • (String)


63
64
65
66
67
68
69
70
71
72
73
74
75
76
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 63

class AccessControlRule < Struct.new(
  :name,
  :effect,
  :description,
  :ip_ranges,
  :not_ip_ranges,
  :actions,
  :not_actions,
  :user_ids,
  :not_user_ids,
  :date_created,
  :date_modified)
  include Aws::Structure
end

#not_actionsArray<String>

Access protocol actions to exclude from the rule. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.

Returns:

  • (Array<String>)


63
64
65
66
67
68
69
70
71
72
73
74
75
76
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 63

class AccessControlRule < Struct.new(
  :name,
  :effect,
  :description,
  :ip_ranges,
  :not_ip_ranges,
  :actions,
  :not_actions,
  :user_ids,
  :not_user_ids,
  :date_created,
  :date_modified)
  include Aws::Structure
end

#not_ip_rangesArray<String>

IPv4 CIDR ranges to exclude from the rule.

Returns:

  • (Array<String>)


63
64
65
66
67
68
69
70
71
72
73
74
75
76
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 63

class AccessControlRule < Struct.new(
  :name,
  :effect,
  :description,
  :ip_ranges,
  :not_ip_ranges,
  :actions,
  :not_actions,
  :user_ids,
  :not_user_ids,
  :date_created,
  :date_modified)
  include Aws::Structure
end

#not_user_idsArray<String>

User IDs to exclude from the rule.

Returns:

  • (Array<String>)


63
64
65
66
67
68
69
70
71
72
73
74
75
76
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 63

class AccessControlRule < Struct.new(
  :name,
  :effect,
  :description,
  :ip_ranges,
  :not_ip_ranges,
  :actions,
  :not_actions,
  :user_ids,
  :not_user_ids,
  :date_created,
  :date_modified)
  include Aws::Structure
end

#user_idsArray<String>

User IDs to include in the rule.

Returns:

  • (Array<String>)


63
64
65
66
67
68
69
70
71
72
73
74
75
76
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 63

class AccessControlRule < Struct.new(
  :name,
  :effect,
  :description,
  :ip_ranges,
  :not_ip_ranges,
  :actions,
  :not_actions,
  :user_ids,
  :not_user_ids,
  :date_created,
  :date_modified)
  include Aws::Structure
end