Class: Aws::Connect::Types::ValidationEnum

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

Overview

Defines enumeration validation for attribute values. Allows specifying a list of permitted values and whether custom values beyond the enumerated list are allowed.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#strictBoolean

Boolean that defaults to false. When true, only values specified in the enum list are allowed. When false, custom values beyond the enumerated list are permitted.

Returns:

  • (Boolean)


34785
34786
34787
34788
34789
34790
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 34785

class ValidationEnum < Struct.new(
  :strict,
  :values)
  SENSITIVE = []
  include Aws::Structure
end

#valuesArray<String>

A list of predefined values that are allowed for this attribute. These values are always permitted regardless of the Strict setting.

Returns:

  • (Array<String>)


34785
34786
34787
34788
34789
34790
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 34785

class ValidationEnum < Struct.new(
  :strict,
  :values)
  SENSITIVE = []
  include Aws::Structure
end