You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudDirectory::Types::Rule

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

Overview

Note:

When making an API call, you may pass Rule data as a hash:

{
  type: "BINARY_LENGTH", # accepts BINARY_LENGTH, NUMBER_COMPARISON, STRING_FROM_SET, STRING_LENGTH
  parameters: {
    "RuleParameterKey" => "RuleParameterValue",
  },
}

Contains an Amazon Resource Name (ARN) and parameters that are associated with the rule.

Instance Attribute Summary collapse

Instance Attribute Details

#parametersHash<String,String>

The minimum and maximum parameters that are associated with the rule.

Returns:

  • (Hash<String,String>)


6051
6052
6053
6054
6055
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 6051

class Rule < Struct.new(
  :type,
  :parameters)
  include Aws::Structure
end

#typeString

The type of attribute validation rule.

Returns:

  • (String)


6051
6052
6053
6054
6055
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 6051

class Rule < Struct.new(
  :type,
  :parameters)
  include Aws::Structure
end