Annotation Type DynamoDbPartitionKey


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface DynamoDbPartitionKey
    Denotes this attribute as being the primary partition key of the DynamoDb table. This attribute must map to a DynamoDb scalar type (string, number or binary) to be valid. Every mapped table schema must have exactly one of these.

    Example using DynamoDbPartitionKey:

     {@code