class Aws::CloudDirectory::Types::FacetAttributeDefinition
A facet attribute definition. See [Attribute References] for more information.
[1]: docs.aws.amazon.com/clouddirectory/latest/developerguide/schemas_attributereferences.html
@note When making an API call, you may pass FacetAttributeDefinition
data as a hash: { type: "STRING", # required, accepts STRING, BINARY, BOOLEAN, NUMBER, DATETIME, VARIANT default_value: { string_value: "StringAttributeValue", binary_value: "data", boolean_value: false, number_value: "NumberAttributeValue", datetime_value: Time.now, }, is_immutable: false, rules: { "RuleKey" => { type: "BINARY_LENGTH", # accepts BINARY_LENGTH, NUMBER_COMPARISON, STRING_FROM_SET, STRING_LENGTH parameters: { "RuleParameterKey" => "RuleParameterValue", }, }, }, }
@!attribute [rw] type
The type of the attribute. @return [String]
@!attribute [rw] default_value
The default value of the attribute (if configured). @return [Types::TypedAttributeValue]
@!attribute [rw] is_immutable
Whether the attribute is mutable or not. @return [Boolean]
@!attribute [rw] rules
Validation rules attached to the attribute definition. @return [Hash<String,Types::Rule>]
@see docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/FacetAttributeDefinition AWS API Documentation
Constants
- SENSITIVE