AWSDynamoDBAttributeDefinition
Objective-C
@interface AWSDynamoDBAttributeDefinition
Swift
class AWSDynamoDBAttributeDefinition
Represents an attribute for describing the schema for the table and indexes.
Required parameters: [AttributeName, AttributeType]
-
A name for the attribute.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable attributeName;Swift
var attributeName: String? { get set } -
The data type for the attribute, where:
S- the attribute is of type StringN- the attribute is of type NumberB- the attribute is of type Binary
Declaration
Objective-C
@property (nonatomic) AWSDynamoDBScalarAttributeType attributeType;Swift
var attributeType: AWSDynamoDBScalarAttributeType { get set }
View on GitHub
Install in Dash
AWSDynamoDBAttributeDefinition Class Reference