Documentation
¶
Index ¶
Constants ¶
View Source
const ( MaxFieldNameLength = 255 MaxOperatorLength = 20 MaxValueStringLength = 400000 // DynamoDB item size limit MaxNestedDepth = 32 MaxExpressionLength = 4096 )
Field validation constants
Variables ¶
This section is empty.
Functions ¶
func ValidateExpression ¶
ValidateExpression validates a complete expression for security
func ValidateFieldName ¶
ValidateFieldName validates a DynamoDB attribute name according to AWS rules and security best practices
func ValidateIndexName ¶
ValidateIndexName validates a DynamoDB index name
func ValidateOperator ¶
ValidateOperator validates a DynamoDB condition operator
func ValidateTableName ¶
ValidateTableName validates a DynamoDB table name
func ValidateValue ¶
ValidateValue validates a value used in DynamoDB expressions
Types ¶
type SecurityError ¶
SecurityError represents a security validation error
func (*SecurityError) Error ¶
func (e *SecurityError) Error() string
Click to show internal directories.
Click to hide internal directories.