def reply(read=20, write=20):
    """Return the kwargs for creating the Reply table."""
    return {
        'AttributeDefinitions': [
            {
                'AttributeName': 'Id',
                'AttributeType': 'S'
            },
            {
                'AttributeName': 'ReplyDateTime',
                'AttributeType': 'S'
            },
            {
                'AttributeName': 'PostedBy',
                'AttributeType': 'S'
            },
            {
                'AttributeName': 'Message',
                'AttributeType': 'S'
            },
        ],
        'TableName': 'Reply',
        'KeySchema': [
            {
                'AttributeName': 'Id',
                'KeyType': 'HASH',
            },
            {
                'AttributeName': 'ReplyDateTime',
                'KeyType': 'RANGE',
            },
        ],
        'ProvisionedThroughput': {
            'ReadCapacityUnits': read,
            'WriteCapacityUnits': write,
        },
        'GlobalSecondaryIndexes': [
            {
                'IndexName': 'PostedBy-Message-Index',
                'KeySchema': [
                    {
                        'AttributeName': 'PostedBy',
                        'KeyType': 'HASH'
                    },
                    {
                        'AttributeName': 'Message',
                        'KeyType': 'RANGE'
                    },
                ],
                'Projection': {
                    'ProjectionType': 'ALL',
                },
                'ProvisionedThroughput': {
                    'ReadCapacityUnits': read,
                    'WriteCapacityUnits': write,
                }
            },
        ]
    }