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

#boolean ⇒ Boolean

A control parameter that is a boolean.

Returns:



29939
29940
29941
29942
29943
29944
29945
29946
29947
29948
29949
29950
29951
29952
29953
29954
29955
29956
29957
29958
29959
29960
29961
29962
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 29939

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

#double ⇒ Float

A control parameter that is a double.

Returns:

  • (Float)


29939
29940
29941
29942
29943
29944
29945
29946
29947
29948
29949
29950
29951
29952
29953
29954
29955
29956
29957
29958
29959
29960
29961
29962
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 29939

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 ⇒ String

A control parameter that is an enum.

Returns:



29939
29940
29941
29942
29943
29944
29945
29946
29947
29948
29949
29950
29951
29952
29953
29954
29955
29956
29957
29958
29959
29960
29961
29962
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 29939

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_list ⇒ Array<String>

A control parameter that is a list of enums.

Returns:



29939
29940
29941
29942
29943
29944
29945
29946
29947
29948
29949
29950
29951
29952
29953
29954
29955
29956
29957
29958
29959
29960
29961
29962
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 29939

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 ⇒ Integer

A control parameter that is an integer.

Returns:



29939
29940
29941
29942
29943
29944
29945
29946
29947
29948
29949
29950
29951
29952
29953
29954
29955
29956
29957
29958
29959
29960
29961
29962
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 29939

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_list ⇒ Array<Integer>

A control parameter that is a list of integers.

Returns:



29939
29940
29941
29942
29943
29944
29945
29946
29947
29948
29949
29950
29951
29952
29953
29954
29955
29956
29957
29958
29959
29960
29961
29962
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 29939

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 ⇒ String

A control parameter that is a string.

Returns:



29939
29940
29941
29942
29943
29944
29945
29946
29947
29948
29949
29950
29951
29952
29953
29954
29955
29956
29957
29958
29959
29960
29961
29962
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 29939

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_list ⇒ Array<String>

A control parameter that is a list of strings.

Returns:



29939
29940
29941
29942
29943
29944
29945
29946
29947
29948
29949
29950
29951
29952
29953
29954
29955
29956
29957
29958
29959
29960
29961
29962
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 29939

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

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



29939
29940
29941
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 29939

def unknown
  @unknown
end