Class: Aws::NetworkSecurityManager::Types::AccountFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::NetworkSecurityManager::Types::AccountFilter
- Defined in:
- gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/types.rb
Overview
AccountFilter is a union - when making an API calls you must set exactly one of the members.
AccountFilter is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AccountFilter corresponding to the set member.
Determines which accounts are in scope. Exactly one of includeAll,
include, or exclude is set.
Defined Under Namespace
Classes: Exclude, Include, IncludeAll, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#exclude ⇒ Types::AccountSet
Excludes the specified accounts and organizational units.
-
#include ⇒ Types::AccountSet
Includes only the specified accounts and organizational units.
-
#include_all ⇒ Types::Unit
Includes all accounts.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#exclude ⇒ Types::AccountSet
Excludes the specified accounts and organizational units. All others are in scope.
48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/types.rb', line 48 class AccountFilter < Struct.new( :include_all, :include, :exclude, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class IncludeAll < AccountFilter; end class Include < AccountFilter; end class Exclude < AccountFilter; end class Unknown < AccountFilter; end end |
#include ⇒ Types::AccountSet
Includes only the specified accounts and organizational units.
48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/types.rb', line 48 class AccountFilter < Struct.new( :include_all, :include, :exclude, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class IncludeAll < AccountFilter; end class Include < AccountFilter; end class Exclude < AccountFilter; end class Unknown < AccountFilter; end end |
#include_all ⇒ Types::Unit
Includes all accounts. No account filtering is applied.
48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/types.rb', line 48 class AccountFilter < Struct.new( :include_all, :include, :exclude, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class IncludeAll < AccountFilter; end class Include < AccountFilter; end class Exclude < AccountFilter; end class Unknown < AccountFilter; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
48 49 50 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/types.rb', line 48 def unknown @unknown end |