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
- Struct
- Aws::CloudDirectory::Types::Rule
- 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
-
#parameters ⇒ Hash<String,String>
The minimum and maximum parameters that are associated with the rule.
-
#type ⇒ String
The type of attribute validation rule.
Instance Attribute Details
#parameters ⇒ Hash<String,String>
The minimum and maximum parameters that are associated with the rule.
#type ⇒ String
The type of attribute validation rule.
Possible values:
- BINARY_LENGTH
- NUMBER_COMPARISON
- STRING_FROM_SET
- STRING_LENGTH