Class: Aws::NetworkSecurityManager::Types::ResourceCriteria

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

Overview

Note:

ResourceCriteria is a union - when making an API calls you must set exactly one of the members.

Note:

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

A leaf condition that matches resources by tag or by resource-type-specific configuration.

Defined Under Namespace

Classes: AlbConfig, Tags, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#alb_config ⇒ Types::AlbConfiguration

Filter criteria specific to Application Load Balancers.



3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/types.rb', line 3461

class ResourceCriteria < Struct.new(
  :tags,
  :alb_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Tags < ResourceCriteria; end
  class AlbConfig < ResourceCriteria; end
  class Unknown < ResourceCriteria; end
end

#tags ⇒ Hash<String,String>

Tag key-value pairs used to match resources.

Returns:

  • (Hash<String,String>)


3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/types.rb', line 3461

class ResourceCriteria < Struct.new(
  :tags,
  :alb_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Tags < ResourceCriteria; end
  class AlbConfig < ResourceCriteria; end
  class Unknown < ResourceCriteria; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



3461
3462
3463
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/types.rb', line 3461

def unknown
  @unknown
end