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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Rule as input to an Aws::Client method, you can use a vanilla 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>)

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

#typeString

The type of attribute validation rule.

Possible values:

  • BINARY_LENGTH
  • NUMBER_COMPARISON
  • STRING_FROM_SET
  • STRING_LENGTH

Returns:

  • (String)

    The type of attribute validation rule.