Class: Aws::NetworkSecurityManager::Types::AdminScopeFilter

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

Overview

Note:

AdminScopeFilter is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AdminScopeFilter corresponding to the set member.

Determines which accounts and organizational units are in an administrator's scope. This is the reference form, which includes display metadata.

Defined Under Namespace

Classes: ExcludeOnly, IncludeAll, IncludeOnly, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#exclude_onlyTypes::AdminScopeSelection

The accounts and organizational units to exclude from the administrator's scope. All others are in scope.



231
232
233
234
235
236
237
238
239
240
241
242
243
244
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/types.rb', line 231

class AdminScopeFilter < Struct.new(
  :include_all,
  :include_only,
  :exclude_only,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class IncludeAll < AdminScopeFilter; end
  class IncludeOnly < AdminScopeFilter; end
  class ExcludeOnly < AdminScopeFilter; end
  class Unknown < AdminScopeFilter; end
end

#include_allTypes::Unit

All accounts and organizational units are in scope.

Returns:

  • (Types::Unit)


231
232
233
234
235
236
237
238
239
240
241
242
243
244
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/types.rb', line 231

class AdminScopeFilter < Struct.new(
  :include_all,
  :include_only,
  :exclude_only,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class IncludeAll < AdminScopeFilter; end
  class IncludeOnly < AdminScopeFilter; end
  class ExcludeOnly < AdminScopeFilter; end
  class Unknown < AdminScopeFilter; end
end

#include_onlyTypes::AdminScopeSelection

Only the specified accounts and organizational units are in the administrator's scope.



231
232
233
234
235
236
237
238
239
240
241
242
243
244
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/types.rb', line 231

class AdminScopeFilter < Struct.new(
  :include_all,
  :include_only,
  :exclude_only,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class IncludeAll < AdminScopeFilter; end
  class IncludeOnly < AdminScopeFilter; end
  class ExcludeOnly < AdminScopeFilter; end
  class Unknown < AdminScopeFilter; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



231
232
233
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/types.rb', line 231

def unknown
  @unknown
end