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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/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:



27318
27319
27320
27321
27322
27323
27324
27325
27326
27327
27328
27329
27330
27331
27332
27333
27334
27335
27336
27337
27338
27339
27340
27341
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 27318

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)


27318
27319
27320
27321
27322
27323
27324
27325
27326
27327
27328
27329
27330
27331
27332
27333
27334
27335
27336
27337
27338
27339
27340
27341
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 27318

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:



27318
27319
27320
27321
27322
27323
27324
27325
27326
27327
27328
27329
27330
27331
27332
27333
27334
27335
27336
27337
27338
27339
27340
27341
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 27318

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:



27318
27319
27320
27321
27322
27323
27324
27325
27326
27327
27328
27329
27330
27331
27332
27333
27334
27335
27336
27337
27338
27339
27340
27341
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 27318

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:



27318
27319
27320
27321
27322
27323
27324
27325
27326
27327
27328
27329
27330
27331
27332
27333
27334
27335
27336
27337
27338
27339
27340
27341
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 27318

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:



27318
27319
27320
27321
27322
27323
27324
27325
27326
27327
27328
27329
27330
27331
27332
27333
27334
27335
27336
27337
27338
27339
27340
27341
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 27318

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:



27318
27319
27320
27321
27322
27323
27324
27325
27326
27327
27328
27329
27330
27331
27332
27333
27334
27335
27336
27337
27338
27339
27340
27341
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 27318

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:



27318
27319
27320
27321
27322
27323
27324
27325
27326
27327
27328
27329
27330
27331
27332
27333
27334
27335
27336
27337
27338
27339
27340
27341
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 27318

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



27318
27319
27320
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 27318

def unknown
  @unknown
end