Class: Aws::NetworkSecurityManager::Types::AdminScopeFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::NetworkSecurityManager::Types::AdminScopeFilter
- Defined in:
- gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/types.rb
Overview
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
-
#exclude_only ⇒ Types::AdminScopeSelection
The accounts and organizational units to exclude from the administrator's scope.
-
#include_all ⇒ Types::Unit
All accounts and organizational units are in scope.
-
#include_only ⇒ Types::AdminScopeSelection
Only the specified accounts and organizational units are in the administrator's scope.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#exclude_only ⇒ Types::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_all ⇒ Types::Unit
All accounts and organizational units 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_only ⇒ Types::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 |
#unknown ⇒ Object
Returns the value of attribute unknown
231 232 233 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/types.rb', line 231 def unknown @unknown end |