AWSDynamoDBAttributeDefinition Class Reference

Inherits from AWSModel : AWSMTLModel
Declared in AWSDynamoDBModel.h
AWSDynamoDBModel.m

Overview

Represents an attribute for describing the key schema for the table and indexes.

Required parameters: [AttributeName, AttributeType]

  attributeName

A name for the attribute.

@property (nonatomic, strong) NSString *attributeName

Declared In

AWSDynamoDBModel.h

  attributeType

The data type for the attribute, where:

  • S - the attribute is of type String

  • N - the attribute is of type Number

  • B - the attribute is of type Binary

@property (nonatomic, assign) AWSDynamoDBScalarAttributeType attributeType

Declared In

AWSDynamoDBModel.h