def make_s3_raw_record(bucket, key, size=100):
    """Helper for creating the s3 raw record"""
    return {
        's3': {
            'configurationId': 'testConfigRule',
            'object': {
                'eTag': '0123456789abcdef0123456789abcdef',
                'sequencer': '0A1B2C3D4E5F678901',
                'key': key,
                'size': size
            },
            'bucket': {
                'arn': 'arn:aws:s3:::mybucket',
                'name': bucket,
                'ownerIdentity': {
                    'principalId': 'EXAMPLE'
                }
            }
        },
        'awsRegion': 'us-east-1'
    }