Class: Aws::SecurityHub::Types::ParameterValue

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure, Aws::Structure::Union
Defined in:
lib/aws-sdk-securityhub/types.rb

Overview

Note:

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

Note:

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

An object that includes the data type of a security control parameter and its current value.

Defined Under Namespace

Classes: Boolean, Double, Enum, EnumList, Integer, IntegerList, String, StringList, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#booleanBoolean

A control parameter that is a boolean.

Returns:



27462
27463
27464
27465
27466
27467
27468
27469
27470
27471
27472
27473
27474
27475
27476
27477
27478
27479
27480
27481
27482
27483
27484
27485
# File 'lib/aws-sdk-securityhub/types.rb', line 27462

class ParameterValue < Struct.new(
  :integer,
  :integer_list,
  :double,
  :string,
  :string_list,
  :boolean,
  :enum,
  :enum_list,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Integer < ParameterValue; end
  class IntegerList < ParameterValue; end
  class Double < ParameterValue; end
  class String < ParameterValue; end
  class StringList < ParameterValue; end
  class Boolean < ParameterValue; end
  class Enum < ParameterValue; end
  class EnumList < ParameterValue; end
  class Unknown < ParameterValue; end
end

#doubleFloat

A control parameter that is a double.

Returns:

  • (Float)


27462
27463
27464
27465
27466
27467
27468
27469
27470
27471
27472
27473
27474
27475
27476
27477
27478
27479
27480
27481
27482
27483
27484
27485
# File 'lib/aws-sdk-securityhub/types.rb', line 27462

class ParameterValue < Struct.new(
  :integer,
  :integer_list,
  :double,
  :string,
  :string_list,
  :boolean,
  :enum,
  :enum_list,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Integer < ParameterValue; end
  class IntegerList < ParameterValue; end
  class Double < ParameterValue; end
  class String < ParameterValue; end
  class StringList < ParameterValue; end
  class Boolean < ParameterValue; end
  class Enum < ParameterValue; end
  class EnumList < ParameterValue; end
  class Unknown < ParameterValue; end
end

#enumString

A control parameter that is an enum.

Returns:



27462
27463
27464
27465
27466
27467
27468
27469
27470
27471
27472
27473
27474
27475
27476
27477
27478
27479
27480
27481
27482
27483
27484
27485
# File 'lib/aws-sdk-securityhub/types.rb', line 27462

class ParameterValue < Struct.new(
  :integer,
  :integer_list,
  :double,
  :string,
  :string_list,
  :boolean,
  :enum,
  :enum_list,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Integer < ParameterValue; end
  class IntegerList < ParameterValue; end
  class Double < ParameterValue; end
  class String < ParameterValue; end
  class StringList < ParameterValue; end
  class Boolean < ParameterValue; end
  class Enum < ParameterValue; end
  class EnumList < ParameterValue; end
  class Unknown < ParameterValue; end
end

#enum_listArray<String>

A control parameter that is a list of enums.

Returns:



27462
27463
27464
27465
27466
27467
27468
27469
27470
27471
27472
27473
27474
27475
27476
27477
27478
27479
27480
27481
27482
27483
27484
27485
# File 'lib/aws-sdk-securityhub/types.rb', line 27462

class ParameterValue < Struct.new(
  :integer,
  :integer_list,
  :double,
  :string,
  :string_list,
  :boolean,
  :enum,
  :enum_list,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Integer < ParameterValue; end
  class IntegerList < ParameterValue; end
  class Double < ParameterValue; end
  class String < ParameterValue; end
  class StringList < ParameterValue; end
  class Boolean < ParameterValue; end
  class Enum < ParameterValue; end
  class EnumList < ParameterValue; end
  class Unknown < ParameterValue; end
end

#integerInteger

A control parameter that is an integer.

Returns:



27462
27463
27464
27465
27466
27467
27468
27469
27470
27471
27472
27473
27474
27475
27476
27477
27478
27479
27480
27481
27482
27483
27484
27485
# File 'lib/aws-sdk-securityhub/types.rb', line 27462

class ParameterValue < Struct.new(
  :integer,
  :integer_list,
  :double,
  :string,
  :string_list,
  :boolean,
  :enum,
  :enum_list,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Integer < ParameterValue; end
  class IntegerList < ParameterValue; end
  class Double < ParameterValue; end
  class String < ParameterValue; end
  class StringList < ParameterValue; end
  class Boolean < ParameterValue; end
  class Enum < ParameterValue; end
  class EnumList < ParameterValue; end
  class Unknown < ParameterValue; end
end

#integer_listArray<Integer>

A control parameter that is a list of integers.

Returns:



27462
27463
27464
27465
27466
27467
27468
27469
27470
27471
27472
27473
27474
27475
27476
27477
27478
27479
27480
27481
27482
27483
27484
27485
# File 'lib/aws-sdk-securityhub/types.rb', line 27462

class ParameterValue < Struct.new(
  :integer,
  :integer_list,
  :double,
  :string,
  :string_list,
  :boolean,
  :enum,
  :enum_list,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Integer < ParameterValue; end
  class IntegerList < ParameterValue; end
  class Double < ParameterValue; end
  class String < ParameterValue; end
  class StringList < ParameterValue; end
  class Boolean < ParameterValue; end
  class Enum < ParameterValue; end
  class EnumList < ParameterValue; end
  class Unknown < ParameterValue; end
end

#stringString

A control parameter that is a string.

Returns:



27462
27463
27464
27465
27466
27467
27468
27469
27470
27471
27472
27473
27474
27475
27476
27477
27478
27479
27480
27481
27482
27483
27484
27485
# File 'lib/aws-sdk-securityhub/types.rb', line 27462

class ParameterValue < Struct.new(
  :integer,
  :integer_list,
  :double,
  :string,
  :string_list,
  :boolean,
  :enum,
  :enum_list,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Integer < ParameterValue; end
  class IntegerList < ParameterValue; end
  class Double < ParameterValue; end
  class String < ParameterValue; end
  class StringList < ParameterValue; end
  class Boolean < ParameterValue; end
  class Enum < ParameterValue; end
  class EnumList < ParameterValue; end
  class Unknown < ParameterValue; end
end

#string_listArray<String>

A control parameter that is a list of strings.

Returns:



27462
27463
27464
27465
27466
27467
27468
27469
27470
27471
27472
27473
27474
27475
27476
27477
27478
27479
27480
27481
27482
27483
27484
27485
# File 'lib/aws-sdk-securityhub/types.rb', line 27462

class ParameterValue < Struct.new(
  :integer,
  :integer_list,
  :double,
  :string,
  :string_list,
  :boolean,
  :enum,
  :enum_list,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Integer < ParameterValue; end
  class IntegerList < ParameterValue; end
  class Double < ParameterValue; end
  class String < ParameterValue; end
  class StringList < ParameterValue; end
  class Boolean < ParameterValue; end
  class Enum < ParameterValue; end
  class EnumList < ParameterValue; end
  class Unknown < ParameterValue; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



27462
27463
27464
# File 'lib/aws-sdk-securityhub/types.rb', line 27462

def unknown
  @unknown
end