Class: Aws::NetworkSecurityManager::Types::ResourceLogicalExpression
- Inherits:
-
Struct
- Object
- Struct
- Aws::NetworkSecurityManager::Types::ResourceLogicalExpression
- Defined in:
- gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/types.rb
Overview
ResourceLogicalExpression is a union - when making an API calls you must set exactly one of the members.
ResourceLogicalExpression is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ResourceLogicalExpression corresponding to the set member.
A logical expression that selects resources. Exactly one of
criteria, and, or, or not is set.
Defined Under Namespace
Classes: And, Criteria, Not, Or, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#and ⇒ Array<Types::ResourceLogicalExpression>
A list of subexpressions that must all match.
-
#criteria ⇒ Types::ResourceCriteria
A leaf condition that matches resources by tag or by resource-type-specific configuration.
-
#not ⇒ Types::ResourceLogicalExpression
A subexpression that must not match.
-
#or ⇒ Array<Types::ResourceLogicalExpression>
A list of subexpressions of which at least one must match.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#and ⇒ Array<Types::ResourceLogicalExpression>
A list of subexpressions that must all match.
3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/types.rb', line 3500 class ResourceLogicalExpression < Struct.new( :criteria, :and, :or, :not, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Criteria < ResourceLogicalExpression; end class And < ResourceLogicalExpression; end class Or < ResourceLogicalExpression; end class Not < ResourceLogicalExpression; end class Unknown < ResourceLogicalExpression; end end |
#criteria ⇒ Types::ResourceCriteria
A leaf condition that matches resources by tag or by resource-type-specific configuration.
3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/types.rb', line 3500 class ResourceLogicalExpression < Struct.new( :criteria, :and, :or, :not, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Criteria < ResourceLogicalExpression; end class And < ResourceLogicalExpression; end class Or < ResourceLogicalExpression; end class Not < ResourceLogicalExpression; end class Unknown < ResourceLogicalExpression; end end |
#not ⇒ Types::ResourceLogicalExpression
A subexpression that must not match.
3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/types.rb', line 3500 class ResourceLogicalExpression < Struct.new( :criteria, :and, :or, :not, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Criteria < ResourceLogicalExpression; end class And < ResourceLogicalExpression; end class Or < ResourceLogicalExpression; end class Not < ResourceLogicalExpression; end class Unknown < ResourceLogicalExpression; end end |
#or ⇒ Array<Types::ResourceLogicalExpression>
A list of subexpressions of which at least one must match.
3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/types.rb', line 3500 class ResourceLogicalExpression < Struct.new( :criteria, :and, :or, :not, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Criteria < ResourceLogicalExpression; end class And < ResourceLogicalExpression; end class Or < ResourceLogicalExpression; end class Not < ResourceLogicalExpression; end class Unknown < ResourceLogicalExpression; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
3500 3501 3502 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/types.rb', line 3500 def unknown @unknown end |